![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
#include <linguisticProcessing/core/SpecificEntities/NormalizeDateTime.h>
Public Member Functions | |
| NormalizeLocalTime (MediaId language, const LimaString &complement=LimaString()) | |
| ~NormalizeLocalTime () | |
| bool | operator() (Automaton::RecognizerMatch &m, 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 | |
Public Member Functions inherited from Lima::LinguisticProcessing::SpecificEntities::NormalizeTime | |
| NormalizeTime (MediaId language, const LimaString &complement=LimaString()) | |
| virtual | ~NormalizeTime () |
| virtual bool | actionNeedsRecognizedExpression () override |
| const ReferenceData & | getReferenceData () const |
| bool | hasResources () const |
| const std::shared_ptr< NormalizeDateTimeResources > | getResources () const |
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::SpecificEntities::NormalizeTime | |
| QTime | getUTCTime (const QDate &d, const QTime &duration) const |
| QTime | getTimeDuration (const Automaton::RecognizerMatch &m) const |
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 |
Definition at line 147 of file NormalizeDateTime.h.
| Lima::LinguisticProcessing::SpecificEntities::NormalizeLocalTime::NormalizeLocalTime | ( | MediaId | language, |
| const LimaString & | complement = LimaString() |
||
| ) |
Definition at line 795 of file NormalizeDateTime.cpp.
|
inline |
Definition at line 152 of file NormalizeDateTime.h.
|
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
Implements Lima::LinguisticProcessing::SpecificEntities::NormalizeTime.
Definition at line 802 of file NormalizeDateTime.cpp.