LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
Lima::LinguisticProcessing::Automaton::NumberAgreement Class Reference

#include <linguisticProcessing/core/Automaton/basicConstraintFunctions.h>

Inheritance diagram for Lima::LinguisticProcessing::Automaton::NumberAgreement:
Lima::LinguisticProcessing::Automaton::AgreementConstraint Lima::LinguisticProcessing::Automaton::ConstraintFunction

Public Member Functions

 NumberAgreement (MediaId language, const LimaString &complement=LimaString())
 
 ~NumberAgreement ()
 
- Public Member Functions inherited from Lima::LinguisticProcessing::Automaton::AgreementConstraint
 AgreementConstraint (MediaId language, const LimaString &complement=LimaString())
 
 ~AgreementConstraint ()
 
bool operator() (const 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::Automaton::ConstraintFunction
virtual ~ConstraintFunction ()
 
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)
 
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::Automaton::ConstraintFunction
MediaId m_language_id
 
LimaString m_complement
 

Detailed Description

Definition at line 70 of file basicConstraintFunctions.h.

Constructor & Destructor Documentation

◆ NumberAgreement()

Lima::LinguisticProcessing::Automaton::NumberAgreement::NumberAgreement ( MediaId  language,
const LimaString &  complement = LimaString() 
)

Definition at line 137 of file basicConstraintFunctions.cpp.

◆ ~NumberAgreement()

Lima::LinguisticProcessing::Automaton::NumberAgreement::~NumberAgreement ( )
inline

Definition at line 75 of file basicConstraintFunctions.h.


The documentation for this class was generated from the following files: