19#ifndef SEMANTICANNOTATION_H
20#define SEMANTICANNOTATION_H
28namespace LinguisticProcessing {
29namespace SemanticAnalysis {
37 const std::string&
getType()
const {
return m_type; }
38 void setType(
const std::string& type) { m_type=type; }
39 void dump(std::ostream& os) { os << m_type; }
This file is the main header file for the data related to annotation graphs.
This class allows to convert any object into an annotation by inheritance.
virtual int dump(std::ostream &os, Common::AnnotationGraphs::GenericAnnotation &ga) const override
void setType(const std::string &type)
friend std::ostream & operator<<(std::ostream &, const SemanticAnnotation &)
const std::string & getType() const
SemanticAnnotation(const std::string &type)
void dump(std::ostream &os)