The abstract class dates_module generalizes temporal expression recognizer for different languages.
More...
#include <dates_modules.h>
List of all members.
Public Member Functions |
| | dates_module (const std::wstring &, const std::wstring &, const std::wstring &, const std::wstring &) |
| | Constructor.
|
| virtual | ~dates_module () |
Protected Member Functions |
| std::wstring | normalize (const std::wstring &in, int offs=0) |
Protected Attributes |
| std::map< std::wstring, int > | nMes |
| | translate month names to numbers
|
std::map< std::wstring,
std::wstring > | nDia |
| | translate weekday names to unified codes
|
| std::wstring | century |
| | interpretation of the date-time expression
|
| std::wstring | year |
| std::wstring | month |
| std::wstring | day |
| std::wstring | weekday |
| std::wstring | hour |
| std::wstring | minute |
| std::wstring | meridian |
| int | temp |
| | auxiliary for interpretation building
|
| int | sign |
| int | daytemp |
| bool | inGbb |
| std::map< std::wstring, int > | tok |
| | translate particular wstrings to token codes
|
| boost::u32regex | RE_Date |
| boost::u32regex | RE_Time1 |
| boost::u32regex | RE_Time2 |
| boost::u32regex | RE_Roman |
| boost::wsmatch | rem |
Private Member Functions |
| virtual void | ResetActions () |
| | pure virtual function to be provided by the child class .
|
Detailed Description
The abstract class dates_module generalizes temporal expression recognizer for different languages.
Constructor & Destructor Documentation
Member Function Documentation
pure virtual function to be provided by the child class .
Resets automaton internal variables when a new search is started.
Implements automat.
Member Data Documentation
interpretation of the date-time expression
translate weekday names to unified codes
translate month names to numbers
auxiliary for interpretation building
translate particular wstrings to token codes
The documentation for this class was generated from the following file: