| FreeLing
    4.0
    | 
The abstract class dates_module generalizes temporal expression recognizer for different languages. More...
#include <dates_modules.h>


| 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) const | 
| 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::map< std::wstring, int > | tok | 
| translate particular wstrings to token codes | |
| freeling::regexp | RE_Date | 
| freeling::regexp | RE_Time1 | 
| freeling::regexp | RE_Time2 | 
| freeling::regexp | RE_Roman | 
| Private Member Functions | |
| virtual void | ResetActions (dates_status *) const | 
| pure virtual function to be provided by the child class . | |
The abstract class dates_module generalizes temporal expression recognizer for different languages.
| freeling::dates_module::dates_module | ( | const std::wstring & | , | 
| const std::wstring & | , | ||
| const std::wstring & | , | ||
| const std::wstring & | |||
| ) | 
Constructor.
| virtual freeling::dates_module::~dates_module | ( | ) |  [inline, virtual] | 
| std::wstring freeling::dates_module::normalize | ( | const std::wstring & | in, | 
| int | offs = 0 | ||
| ) | const  [protected] | 
| virtual void freeling::dates_module::ResetActions | ( | dates_status * | ) | const  [private, virtual] | 
pure virtual function to be provided by the child class .
Resets automaton internal variables when a new search is started.
Implements freeling::automat< dates_status >.
| std::map<std::wstring,std::wstring> freeling::dates_module::nDia  [protected] | 
translate weekday names to unified codes
| std::map<std::wstring,int> freeling::dates_module::nMes  [protected] | 
translate month names to numbers
| freeling::regexp freeling::dates_module::RE_Date  [protected] | 
| freeling::regexp freeling::dates_module::RE_Roman  [protected] | 
| freeling::regexp freeling::dates_module::RE_Time1  [protected] | 
| freeling::regexp freeling::dates_module::RE_Time2  [protected] | 
| std::map<std::wstring,int> freeling::dates_module::tok  [protected] | 
translate particular wstrings to token codes
 1.7.6.1
 1.7.6.1