11#ifndef LIMA_LINGUISTICPROCESSING_SPECIFICENTITIESSPECIFICENTITYANNOTATION_H
12#define LIMA_LINGUISTICPROCESSING_SPECIFICENTITIESSPECIFICENTITYANNOTATION_H
65 const std::vector< LinguisticGraphVertex>&
vertices()
const;
68 void dump(std::ostream& os)
const;
90 virtual int dump(std::ostream& os,
This file is the main header file for the data related to annotation graphs.
#define LIMA_AUTOMATON_EXPORT
LinguisticGraph::vertex_descriptor LinguisticGraphVertex
This class allows to convert any object into an annotation by inheritance.
a list of generic features: each feature is unique (only one feature for a name)
Definition of a function suitable to be used as a dumper for specific entities annotations of an anno...
virtual ~DumpSpecificEntityAnnotation()
SpecificEntityAnnotation & operator=(const SpecificEntityAnnotation &annotation)
StringsPoolIndex getString() const
const Automaton::EntityFeatures & getFeatures() const
uint64_t getLength() const
void setFeatures(const Automaton::EntityFeatures &features)
Common::MediaticData::EntityType getType() const
const std::vector< LinguisticGraphVertex > & vertices() const
uint64_t getPosition() const
LinguisticGraphVertex getHead() const
void setType(const Common::MediaticData::EntityType &type)
void setHead(const LinguisticGraphVertex &head)
void dump(std::ostream &os) const
The functions that dumps a SpecificEntityAnnotation on an output stream.
StringsPoolIndex getNormalizedString() const
StringsPoolIndex getNormalizedForm() const
friend class SpecificEntityAnnotationPrivate
SpecificEntityAnnotation(const Automaton::RecognizerMatch &entity, FsaStringsPool &sp)