![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
This class represents a list of elements, that are pointers on polymmorphic annotations that can be datatype property annotations or object property annotations. More...
#include <linguisticProcessing/core/EventAnalysis/Event.h>
Public Member Functions | |
| Event () | |
| virtual | ~Event () |
| bool | hasFragment () const |
| void | addParagraph (Paragraph *, bool, bool, Common::AnnotationGraphs::AnnotationData *, std::string graphId, LinguisticGraph *graph) |
| virtual void | read (std::istream &file) |
| virtual void | write (std::ostream &file) const |
| std::string | toString (std::string parentURI, uint64_t index) const |
| void | compute_entities_weight (std::map< Common::MediaticData::EntityType, unsigned short >, Common::AnnotationGraphs::AnnotationData *, std::string graphId) |
| void | compute_main_entities () |
| Common::MediaticData::EntityType | getEntityType (LinguisticGraphVertex, Common::AnnotationGraphs::AnnotationData *, std::string graphId) const |
| void | setDate (std::pair< Common::MediaticData::EntityType, std::pair< std::string, LinguisticGraphVertex > >) |
| uint64_t | get_weight () const |
| void | setWeight (uint64_t w) |
| void | setMain () |
| bool | getMain () const |
| bool | has_entity (Common::MediaticData::EntityType) const |
Friends | |
| LIMA_EVENTANALISYS_EXPORT std::ostream & | operator<< (std::ostream &, const Event &) |
This class represents a list of elements, that are pointers on polymmorphic annotations that can be datatype property annotations or object property annotations.
| Lima::LinguisticProcessing::EventAnalysis::Event::Event | ( | ) |
|
virtual |
| void Lima::LinguisticProcessing::EventAnalysis::Event::addParagraph | ( | Paragraph * | p, |
| bool | firstpos, | ||
| bool | split, | ||
| Common::AnnotationGraphs::AnnotationData * | annotationData, | ||
| std::string | graphId, | ||
| LinguisticGraph * | graph | ||
| ) |
| void Lima::LinguisticProcessing::EventAnalysis::Event::compute_entities_weight | ( | std::map< Common::MediaticData::EntityType, unsigned short > | map_weights, |
| Common::AnnotationGraphs::AnnotationData * | annotation, | ||
| std::string | graphId | ||
| ) |
| void Lima::LinguisticProcessing::EventAnalysis::Event::compute_main_entities | ( | ) |
|
inline |
| Common::MediaticData::EntityType Lima::LinguisticProcessing::EventAnalysis::Event::getEntityType | ( | LinguisticGraphVertex | v, |
| Common::AnnotationGraphs::AnnotationData * | annotationData, | ||
| std::string | graphId | ||
| ) | const |
|
inline |
| bool Lima::LinguisticProcessing::EventAnalysis::Event::has_entity | ( | Common::MediaticData::EntityType | t | ) | const |
|
inline |
|
virtual |
|
inline |
|
inline |
|
inline |
| std::string Lima::LinguisticProcessing::EventAnalysis::Event::toString | ( | std::string | parentURI, |
| uint64_t | index | ||
| ) | const |
|
virtual |
|
friend |