![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
#include <linguisticProcessing/core/SyntacticAnalysis/SimplificationConstraints.h>
Public Member Functions | |
| SubsentenceBounds (MediaId language, const LimaString &complement=LimaString()) | |
| ~SubsentenceBounds () | |
| bool | operator() (const Lima::LinguisticProcessing::LinguisticAnalysisStructure::AnalysisGraph &graph, const LinguisticGraphVertex &v, AnalysisContent &analysis) const override |
| unary constraint function : the constraint only applies on one vertices in the graph (the graph is also given as a parameter). | |
| bool | operator() (const Lima::LinguisticProcessing::LinguisticAnalysisStructure::AnalysisGraph &graph, const LinguisticGraphVertex &v1, const LinguisticGraphVertex &v2, AnalysisContent &analysis) const override |
| binary constraint function : the constraint only applies on two vertices in the graph (the graph is also given as a parameter). | |
Public Member Functions inherited from Lima::LinguisticProcessing::SyntacticAnalysis::ConstraintWithRelationComplement | |
| ConstraintWithRelationComplement (MediaId language, const LimaString &complement=LimaString()) | |
| ~ConstraintWithRelationComplement () | |
Public Member Functions inherited from Lima::LinguisticProcessing::Automaton::ConstraintFunction | |
| virtual | ~ConstraintFunction () |
| 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) | |
| virtual bool | operator() (RecognizerMatch &, 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: uses the result of the match | |
| virtual bool | actionNeedsRecognizedExpression () |
| 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::SyntacticAnalysis::ConstraintWithRelationComplement | |
| Common::MediaticData::SyntacticRelationId | m_relation |
Protected Attributes inherited from Lima::LinguisticProcessing::Automaton::ConstraintFunction | |
| MediaId | m_language_id |
| LimaString | m_complement |
Definition at line 40 of file SimplificationConstraints.h.
|
explicit |
Definition at line 60 of file SimplificationConstraints.cpp.
|
inline |
Definition at line 45 of file SimplificationConstraints.h.
|
overridevirtual |
unary constraint function : the constraint only applies on one vertices in the graph (the graph is also given as a parameter).
Function is not pure virtual because it can be unary or binary.
Reimplemented from Lima::LinguisticProcessing::Automaton::ConstraintFunction.
Definition at line 67 of file SimplificationConstraints.cpp.
|
overridevirtual |
binary constraint function : the constraint only applies on two vertices in the graph (the graph is also given as a parameter).
Function is not pure virtual because it can be unary or binary.
Reimplemented from Lima::LinguisticProcessing::Automaton::ConstraintFunction.
Definition at line 74 of file SimplificationConstraints.cpp.