#include <linguisticProcessing/core/Automaton/gazeteerTransition.h>
|
| | GazeteerTransition () |
| |
| | GazeteerTransition (const std::vector< LimaString > &wordSet, const LimaString &alias, bool keep=true) |
| |
| | GazeteerTransition (const GazeteerTransition &) |
| |
| virtual | ~GazeteerTransition () |
| |
| GazeteerTransition & | operator= (const GazeteerTransition &) |
| |
| GazeteerTransition * | clone () const override |
| |
| GazeteerTransition * | 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.
|
| |
| TypeTransition | type () const override |
| |
| LimaString | alias () const |
| |
| const std::set< LimaString > & | wordSet () const |
| |
| bool | matchPath (const LinguisticAnalysisStructure::AnalysisGraph &graph, const LinguisticGraphVertex &vertex, const LinguisticGraphVertex &limit, const SearchGraph *searchGraph, AnalysisContent &analysis, const LinguisticAnalysisStructure::Token *token, std::deque< LinguisticGraphVertex > &vertices, const LinguisticAnalysisStructure::MorphoSyntacticData *) const |
| |
| | 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 |
| |
| virtual bool | isEpsilonTransition () const |
| |
Definition at line 31 of file gazeteerTransition.h.
◆ GazeteerTransition() [1/3]
| Lima::LinguisticProcessing::Automaton::GazeteerTransition::GazeteerTransition |
( |
| ) |
|
◆ GazeteerTransition() [2/3]
| Lima::LinguisticProcessing::Automaton::GazeteerTransition::GazeteerTransition |
( |
const std::vector< LimaString > & |
wordSet, |
|
|
const LimaString & |
alias, |
|
|
bool |
keep = true |
|
) |
| |
◆ GazeteerTransition() [3/3]
| Lima::LinguisticProcessing::Automaton::GazeteerTransition::GazeteerTransition |
( |
const GazeteerTransition & |
t | ) |
|
◆ ~GazeteerTransition()
| Lima::LinguisticProcessing::Automaton::GazeteerTransition::~GazeteerTransition |
( |
| ) |
|
|
virtual |
◆ alias()
| LimaString Lima::LinguisticProcessing::Automaton::GazeteerTransition::alias |
( |
| ) |
const |
|
inline |
◆ clone()
| GazeteerTransition * Lima::LinguisticProcessing::Automaton::GazeteerTransition::clone |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ compare()
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
- Parameters
-
| graph | the graph |
| vertex | the vertex to compare |
| token | the token associated to the vertex |
| data | the data associated to the vertex |
- Returns
Implements Lima::LinguisticProcessing::Automaton::TransitionUnit.
Definition at line 104 of file gazeteerTransition.cpp.
◆ create()
| GazeteerTransition * Lima::LinguisticProcessing::Automaton::GazeteerTransition::create |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ matchPath()
◆ operator=()
◆ operator==()
| bool Lima::LinguisticProcessing::Automaton::GazeteerTransition::operator== |
( |
const TransitionUnit & |
tright | ) |
const |
|
overridevirtual |
◆ printValue()
| std::string Lima::LinguisticProcessing::Automaton::GazeteerTransition::printValue |
( |
| ) |
const |
|
overridevirtual |
◆ type()
| TypeTransition Lima::LinguisticProcessing::Automaton::GazeteerTransition::type |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ wordSet()
| const std::set< LimaString > & Lima::LinguisticProcessing::Automaton::GazeteerTransition::wordSet |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: