20#ifndef ENTITYPROPERTIES_H
21#define ENTITYPROPERTIES_H
31namespace LinguisticProcessing {
52 bool isContextual()
const;
57 void setContextual(
const bool contextual);
#define LIMA_AUTOMATON_EXPORT
A graph structure for linguistic analysis.
LinguisticGraph::vertex_descriptor LinguisticGraphVertex
a list of generic features: each feature is unique (only one feature for a name)
void setHead(const LinguisticGraphVertex &v)
LinguisticGraphVertex m_head
indicates which token (in the original text) is the head of the recognized entity
Common::MediaticData::EntityType m_type
the type of the recognized entity
const EntityFeatures & features() const
LinguisticCode m_linguisticProperties
associated ling prop
LinguisticCode getLinguisticProperties() const
void setLinguisticProperties(const LinguisticCode &lingProp)
EntityFeatures m_features
extracted features
bool m_contextual
if true, the expression is contextual (ambiguous and have to use the context to disambiguate))
void setContextual(const bool contextual)
const Common::MediaticData::EntityType & getType() const
bool isContextual() const
LinguisticGraphVertex getHead() const
EntityFeatures & features()
void setType(const Common::MediaticData::EntityType &t)