![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
This action creates a new vertex for given match containing a specific entity's data. More...
#include <linguisticProcessing/core/SpecificEntities/SpecificEntitiesConstraints.h>
Public Member Functions | |
| CreateSpecificEntity (MediaId language, const LimaString &complement=LimaString()) | |
| ~CreateSpecificEntity () | |
| bool | operator() (Automaton::RecognizerMatch &match, AnalysisContent &analysis) const override |
| bool | actionNeedsRecognizedExpression () override |
Public Member Functions inherited from Lima::LinguisticProcessing::Automaton::ConstraintFunction | |
| virtual | ~ConstraintFunction () |
| virtual bool | operator() (const LinguisticAnalysisStructure::AnalysisGraph &, const LinguisticGraphVertex &, const LinguisticGraphVertex &, AnalysisContent &) const |
| binary constraint function : the constraint only applies on two vertices in the graph (the graph is also given as a parameter). | |
| virtual bool | operator() (const LinguisticAnalysisStructure::AnalysisGraph &, const LinguisticGraphVertex &, AnalysisContent &) const |
| unary constraint function : the constraint only applies on one vertices in the graph (the graph is also given as a parameter). | |
| virtual bool | operator() (AnalysisContent &) const |
| zero-ary constraint function : applies the function without a vertex indication (used for actions, not constraints -> applied only at end, when a match is found) | |
| const LimaString & | getComplementString () |
| unsigned char | getLanguage () |
Additional Inherited Members | |
Protected Member Functions inherited from Lima::LinguisticProcessing::Automaton::ConstraintFunction | |
| ConstraintFunction (MediaId language, const LimaString &complement=LimaString()) | |
Protected Attributes inherited from Lima::LinguisticProcessing::Automaton::ConstraintFunction | |
| MediaId | m_language_id |
| LimaString | m_complement |
This action creates a new vertex for given match containing a specific entity's data.
Algorithm to set the new vertex linguistic properties:
Definition at line 74 of file SpecificEntitiesConstraints.h.
| Lima::LinguisticProcessing::SpecificEntities::CreateSpecificEntity::CreateSpecificEntity | ( | MediaId | language, |
| const LimaString & | complement = LimaString() |
||
| ) |
Definition at line 155 of file SpecificEntitiesConstraints.cpp.
|
inline |
Definition at line 79 of file SpecificEntitiesConstraints.h.
|
inlineoverridevirtual |
Reimplemented from Lima::LinguisticProcessing::Automaton::ConstraintFunction.
Definition at line 83 of file SpecificEntitiesConstraints.h.
|
overridevirtual |
Reimplemented from Lima::LinguisticProcessing::Automaton::ConstraintFunction.
Definition at line 217 of file SpecificEntitiesConstraints.cpp.