#include <linguisticProcessing/core/SpecificEntities/NormalizeDateTime.h>
|
| | NormalizeDate (MediaId language, const LimaString &complement=LimaString()) |
| | ~NormalizeDate () |
| 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
|
| bool | actionNeedsRecognizedExpression () override |
| 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 () |
Definition at line 66 of file NormalizeDateTime.h.
◆ NormalizeDate()
| Lima::LinguisticProcessing::SpecificEntities::NormalizeDate::NormalizeDate |
( |
MediaId | language, |
|
|
const LimaString & | complement = LimaString() ) |
◆ ~NormalizeDate()
| Lima::LinguisticProcessing::SpecificEntities::NormalizeDate::~NormalizeDate |
( |
| ) |
|
|
inline |
◆ actionNeedsRecognizedExpression()
| bool Lima::LinguisticProcessing::SpecificEntities::NormalizeDate::actionNeedsRecognizedExpression |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getDateSpan()
| QString Lima::LinguisticProcessing::SpecificEntities::NormalizeDate::getDateSpan |
( |
unsigned short | year, |
|
|
unsigned short | month, |
|
|
unsigned short | day ) const |
|
protected |
◆ getDay()
| unsigned short Lima::LinguisticProcessing::SpecificEntities::NormalizeDate::getDay |
( |
Automaton::RecognizerMatch & | m, |
|
|
const std::string & | featureName ) const |
|
protected |
◆ getDayFromString()
| unsigned short Lima::LinguisticProcessing::SpecificEntities::NormalizeDate::getDayFromString |
( |
const LimaString & | numdayString | ) |
const |
|
protected |
◆ getDefaultYear()
| unsigned short Lima::LinguisticProcessing::SpecificEntities::NormalizeDate::getDefaultYear |
( |
AnalysisContent & | analysis | ) |
const |
|
protected |
◆ getMonth()
| unsigned short Lima::LinguisticProcessing::SpecificEntities::NormalizeDate::getMonth |
( |
Automaton::RecognizerMatch & | m, |
|
|
const std::string & | featureName, |
|
|
const std::string & | alt = "" ) const |
|
protected |
◆ getWeekDay()
| unsigned short Lima::LinguisticProcessing::SpecificEntities::NormalizeDate::getWeekDay |
( |
Automaton::RecognizerMatch & | m, |
|
|
const std::string & | featureName ) const |
|
protected |
◆ getYear()
| unsigned short Lima::LinguisticProcessing::SpecificEntities::NormalizeDate::getYear |
( |
Automaton::RecognizerMatch & | m, |
|
|
const std::string & | featureName ) const |
|
protected |
◆ operator()()
◆ updateCurrentDate()
| void Lima::LinguisticProcessing::SpecificEntities::NormalizeDate::updateCurrentDate |
( |
AnalysisContent & | analysis, |
|
|
const QDate & | currentDate ) const |
|
protected |
◆ m_isInterval
| bool Lima::LinguisticProcessing::SpecificEntities::NormalizeDate::m_isInterval |
|
protected |
◆ m_language
| MediaId Lima::LinguisticProcessing::SpecificEntities::NormalizeDate::m_language |
|
protected |
◆ m_microAccessor
◆ m_microsForDays
| const std::set<LinguisticCode>* Lima::LinguisticProcessing::SpecificEntities::NormalizeDate::m_microsForDays |
|
protected |
◆ m_microsForMonth
| const std::set<LinguisticCode>* Lima::LinguisticProcessing::SpecificEntities::NormalizeDate::m_microsForMonth |
|
protected |
◆ m_referenceData
| ReferenceData Lima::LinguisticProcessing::SpecificEntities::NormalizeDate::m_referenceData |
|
protected |
◆ m_resources
The documentation for this class was generated from the following files: