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

#include <linguisticProcessing/core/ApplyRecognizer/applyRecognizerActions.h>

Inheritance diagram for Lima::LinguisticProcessing::ApplyRecognizer::StoreInData:
Lima::LinguisticProcessing::Automaton::ConstraintFunction

Public Member Functions

 StoreInData (MediaId language, const LimaString &complement)
 
 ~StoreInData ()
 
bool operator() (Automaton::RecognizerMatch &result, 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
 
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
 

Detailed Description

Definition at line 84 of file applyRecognizerActions.h.

Constructor & Destructor Documentation

◆ StoreInData()

Lima::LinguisticProcessing::ApplyRecognizer::StoreInData::StoreInData ( MediaId  language,
const LimaString &  complement 
)

Definition at line 435 of file applyRecognizerActions.cpp.

◆ ~StoreInData()

Lima::LinguisticProcessing::ApplyRecognizer::StoreInData::~StoreInData ( )
inline

Definition at line 89 of file applyRecognizerActions.h.

Member Function Documentation

◆ actionNeedsRecognizedExpression()

bool Lima::LinguisticProcessing::ApplyRecognizer::StoreInData::actionNeedsRecognizedExpression ( )
inlineoverridevirtual

◆ operator()()

bool Lima::LinguisticProcessing::ApplyRecognizer::StoreInData::operator() ( Automaton::RecognizerMatch &  ,
AnalysisContent &   
) const
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

Returns
true if the action of the function succeeded, false otherwise

Reimplemented from Lima::LinguisticProcessing::Automaton::ConstraintFunction.

Definition at line 441 of file applyRecognizerActions.cpp.


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