![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
#include <linguisticProcessing/core/Automaton/epsilonTransition.h>
Public Member Functions | |
| EpsilonTransition () | |
| EpsilonTransition (const EpsilonTransition &) | |
| virtual | ~EpsilonTransition () |
| EpsilonTransition & | operator= (const EpsilonTransition &) |
| EpsilonTransition * | clone () const override |
| EpsilonTransition * | create () const override |
| std::string | printValue () const override |
| bool | operator== (const TransitionUnit &) const override |
| bool | compare (const LinguisticAnalysisStructure::AnalysisGraph &graph, const LinguisticGraphVertex &vertex, AnalysisContent &analysis, const LinguisticAnalysisStructure::Token *token, const LinguisticAnalysisStructure::MorphoSyntacticData *data) const override |
| comparison of the transition with a token : can use the graph and vertex info, associated with general analysis content. | |
| bool | isEpsilonTransition () const override |
| TypeTransition | type () const override |
Public Member Functions inherited from Lima::LinguisticProcessing::Automaton::TransitionUnit | |
| TransitionUnit () | |
| TransitionUnit (const bool keep, const bool negative=false) | |
| TransitionUnit (const TransitionUnit &transition) | |
| virtual | ~TransitionUnit () |
| TransitionUnit & | operator= (const TransitionUnit &transition) |
| bool | keep () const |
| void | setKeep (const bool) |
| bool | negative () const |
| void | setNegative (const bool) |
| bool | head () const |
| bool | isHead () const |
| void | setHead (const bool) |
| const std::string & | getId () const |
| void | setId (const std::string &id) |
| const std::string & | getActionHash () const |
| void | setActionHash (const std::string &actionHash) |
| const Constraint & | constraint (const uint64_t) const |
| uint64_t | numberOfConstraints () const |
| void | addConstraint (const Constraint &) |
| void | copyProperties (const TransitionUnit &t) |
| bool | compareProperties (const TransitionUnit &t) const |
| bool | checkConstraints (const LinguisticAnalysisStructure::AnalysisGraph &graph, const LinguisticGraphVertex &vertex, AnalysisContent &analysis, ConstraintCheckList &) const |
| void | popConstraints (ConstraintCheckList &) const |
Additional Inherited Members | |
Protected Attributes inherited from Lima::LinguisticProcessing::Automaton::TransitionUnit | |
| bool | m_keep |
| bool | m_negative |
| bool | m_head |
| std::string | m_id |
| std::string | m_actionHash |
| std::vector< Constraint > | m_constraints |
Definition at line 30 of file epsilonTransition.h.
| Lima::LinguisticProcessing::Automaton::EpsilonTransition::EpsilonTransition | ( | ) |
Definition at line 31 of file epsilonTransition.cpp.
| Lima::LinguisticProcessing::Automaton::EpsilonTransition::EpsilonTransition | ( | const EpsilonTransition & | t | ) |
Definition at line 32 of file epsilonTransition.cpp.
|
virtual |
Definition at line 38 of file epsilonTransition.cpp.
|
inlineoverridevirtual |
Implements Lima::LinguisticProcessing::Automaton::TransitionUnit.
Definition at line 60 of file epsilonTransition.h.
|
overridevirtual |
comparison of the transition with a token : can use the graph and vertex info, associated with general analysis content.
Takes also the token and morphosyntacticData associated to the vertex so that this access is not done for each transition when testing a vertex
| graph | the graph |
| vertex | the vertex to compare |
| token | the token associated to the vertex |
| data | the data associated to the vertex |
Implements Lima::LinguisticProcessing::Automaton::TransitionUnit.
Definition at line 59 of file epsilonTransition.cpp.
|
inlineoverridevirtual |
Implements Lima::LinguisticProcessing::Automaton::TransitionUnit.
Definition at line 62 of file epsilonTransition.h.
|
inlineoverridevirtual |
Reimplemented from Lima::LinguisticProcessing::Automaton::TransitionUnit.
Definition at line 50 of file epsilonTransition.h.
| EpsilonTransition & Lima::LinguisticProcessing::Automaton::EpsilonTransition::operator= | ( | const EpsilonTransition & | e | ) |
Definition at line 43 of file epsilonTransition.cpp.
|
overridevirtual |
Implements Lima::LinguisticProcessing::Automaton::TransitionUnit.
Definition at line 52 of file epsilonTransition.cpp.
|
inlineoverridevirtual |
Reimplemented from Lima::LinguisticProcessing::Automaton::TransitionUnit.
Definition at line 68 of file epsilonTransition.h.
|
inlineoverridevirtual |
Implements Lima::LinguisticProcessing::Automaton::TransitionUnit.
Definition at line 65 of file epsilonTransition.h.