18namespace LinguisticProcessing {
19namespace SemanticAnalysis {
22 return os <<
"SemanticAnnotation("<< annot.m_type <<
")";
33 catch (
const boost::bad_any_cast& e)
35 LERROR <<
"This annotation is not a SemanticAnnotation ; nothing dumped";
#define PROCESSORSLOGINIT
This class allows to convert any object into an annotation by inheritance.
virtual int dump(std::ostream &os, Common::AnnotationGraphs::GenericAnnotation &ga) const override
std::ostream & operator<<(std::ostream &os, const SemanticAnnotation &annot)