![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
#include <linguisticProcessing/core/MorphologicAnalysis/IdiomaticAlternativesConstraints.h>
Public Member Functions | |
| CreateIdiomaticAlternative (MediaId language, const LimaString &complement=LimaString()) | |
| virtual | ~CreateIdiomaticAlternative () |
| virtual bool | operator() (Automaton::RecognizerMatch &match, AnalysisContent &analysis) const override |
| 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: uses the result of the match | |
Public Member Functions inherited from Lima::LinguisticProcessing::ApplyRecognizer::CreateAlternative | |
| CreateAlternative (MediaId language, const LimaString &complement=LimaString()) | |
| virtual | ~CreateAlternative () |
| 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 () |
Definition at line 25 of file IdiomaticAlternativesConstraints.h.
| Lima::LinguisticProcessing::MorphologicAnalysis::CreateIdiomaticAlternative::CreateIdiomaticAlternative | ( | MediaId | language, |
| const LimaString & | complement = LimaString() |
||
| ) |
Definition at line 44 of file IdiomaticAlternativesConstraints.cpp.
|
inlinevirtual |
Definition at line 30 of file IdiomaticAlternativesConstraints.h.
|
overridevirtual |
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: uses the result of the match
Reimplemented from Lima::LinguisticProcessing::ApplyRecognizer::CreateAlternative.
Definition at line 135 of file IdiomaticAlternativesConstraints.cpp.