|
FreeLing
4.0
|
The derived class dates_default implements a default date/time recognizer (only simple patterns are recognized). More...
#include <dates_modules.h>


Public Member Functions | |
| dates_default () | |
| Constructor. | |
Private Member Functions | |
| int | ComputeToken (int, sentence::iterator &, sentence &) const |
| pure virtual function to be provided by the child class. | |
| void | StateActions (int, int, int, sentence::const_iterator, dates_status *) const |
| pure virtual function to be provided by the child class. | |
| void | SetMultiwordAnalysis (sentence::iterator, int, const dates_status *) const |
| pure virtual function to be provided by the child class. | |
The derived class dates_default implements a default date/time recognizer (only simple patterns are recognized).
Constructor.
| int freeling::dates_default::ComputeToken | ( | int | , |
| sentence::iterator & | , | ||
| sentence & | |||
| ) | const [private, virtual] |
pure virtual function to be provided by the child class.
Computes token code for current word in current state.
Implements freeling::automat< dates_status >.
| void freeling::dates_default::SetMultiwordAnalysis | ( | sentence::iterator | , |
| int | , | ||
| const dates_status * | |||
| ) | const [private, virtual] |
pure virtual function to be provided by the child class.
Sets analysis for pattern identified as a multiword.
Implements freeling::automat< dates_status >.
| void freeling::dates_default::StateActions | ( | int | , |
| int | , | ||
| int | , | ||
| sentence::const_iterator | , | ||
| dates_status * | |||
| ) | const [private, virtual] |
pure virtual function to be provided by the child class.
Performs appropriate internal actions, given origin and destinanation states, token code and word.
Implements freeling::automat< dates_status >.
1.7.6.1