15namespace LinguisticProcessing
23 m_conceptType(
std::numeric_limits<uint32_t>::max()),
24 m_referencedAnnotations()
29 const StringsPoolIndex& realization,
30 const Common::MediaticData::ConceptType type,
31 const std::vector< uint64_t >& references) :
32 m_realization(realization),
34 m_referencedAnnotations(references)
44 os <<
"<conceptModifier real=\""
50 std::vector< uint64_t >::const_iterator it, it_end;
51 it = m_referencedAnnotations.begin(); it_end = m_referencedAnnotations.end();
57 for (; it != it_end; it++)
67 os <<
"<cpdtok>" << std::endl;
68 CompoundTokenAnnotation::const_iterator it, it_end;
69 it = begin(); it_end = end();
70 for (; it != it_end; it++)
75 os <<
"</cpdtok>" << std::endl;
86 catch (
const boost::bad_any_cast& )
88 LERROR <<
"This annotation is not a CompoundTokenAnnotation ; nothing dumped";
#define PROCESSORSLOGINIT
This class allows to convert any object into an annotation by inheritance.
void dump(std::ostream &os, const FsaStringsPool &sp)
The functions that dumps a CompoundTokenAnnotation on an output stream.
virtual ~ConceptModifier()
void dump(std::ostream &os, const FsaStringsPool &sp) const
The functions that dumps a ConceptModifier on an output stream.
virtual int dump(std::ostream &os, Common::AnnotationGraphs::GenericAnnotation &ga) const override
std::string limastring2utf8stdstring(const Lima::LimaString &phrase, uint32_t size0)
Convert a wide string to a string , in dest up to size bytes.