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

Abstract constraint function that takes a complement string that represents a relation name (entity type) (used by several constraint functions of this file) More...

#include <linguisticProcessing/core/SyntacticAnalysis/HomoSyntagmaticConstraints.h>

Inheritance diagram for Lima::LinguisticProcessing::SyntacticAnalysis::ConstraintWithRelationComplement:
Lima::LinguisticProcessing::Automaton::ConstraintFunction Lima::LinguisticProcessing::SyntacticAnalysis::AddRelationInGraph Lima::LinguisticProcessing::SyntacticAnalysis::ClearStoredSubsentences Lima::LinguisticProcessing::SyntacticAnalysis::CreateRelationBetween Lima::LinguisticProcessing::SyntacticAnalysis::DisambiguateWith Lima::LinguisticProcessing::SyntacticAnalysis::FindRelationFrom Lima::LinguisticProcessing::SyntacticAnalysis::GovernedBy Lima::LinguisticProcessing::SyntacticAnalysis::GovernorOf Lima::LinguisticProcessing::SyntacticAnalysis::ModifyRelationInGraph Lima::LinguisticProcessing::SyntacticAnalysis::RemoveOutRelationFrom Lima::LinguisticProcessing::SyntacticAnalysis::SecondUngovernedBy Lima::LinguisticProcessing::SyntacticAnalysis::Simplify Lima::LinguisticProcessing::SyntacticAnalysis::StoreForDisambiguation Lima::LinguisticProcessing::SyntacticAnalysis::SubsentenceBounds

Public Member Functions

 ConstraintWithRelationComplement (MediaId language, const LimaString &complement=LimaString())
 
 ~ConstraintWithRelationComplement ()
 
- 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)
 
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 ()
 

Protected Attributes

Common::MediaticData::SyntacticRelationId m_relation
 
- Protected Attributes inherited from Lima::LinguisticProcessing::Automaton::ConstraintFunction
MediaId m_language_id
 
LimaString m_complement
 

Additional Inherited Members

- Protected Member Functions inherited from Lima::LinguisticProcessing::Automaton::ConstraintFunction
 ConstraintFunction (MediaId language, const LimaString &complement=LimaString())
 

Detailed Description

Abstract constraint function that takes a complement string that represents a relation name (entity type) (used by several constraint functions of this file)

Definition at line 57 of file HomoSyntagmaticConstraints.h.

Constructor & Destructor Documentation

◆ ConstraintWithRelationComplement()

Lima::LinguisticProcessing::SyntacticAnalysis::ConstraintWithRelationComplement::ConstraintWithRelationComplement ( MediaId  language,
const LimaString &  complement = LimaString() 
)
explicit

Definition at line 108 of file HomoSyntagmaticConstraints.cpp.

◆ ~ConstraintWithRelationComplement()

Lima::LinguisticProcessing::SyntacticAnalysis::ConstraintWithRelationComplement::~ConstraintWithRelationComplement ( )
inline

Definition at line 62 of file HomoSyntagmaticConstraints.h.

Member Data Documentation

◆ m_relation

Common::MediaticData::SyntacticRelationId Lima::LinguisticProcessing::SyntacticAnalysis::ConstraintWithRelationComplement::m_relation
protected

Definition at line 64 of file HomoSyntagmaticConstraints.h.


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