Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

dates_module Class Reference

The abstract class dates_module generalizes temporal expression recognizer for different languages. More...

#include <dates_modules.h>

Inheritance diagram for dates_module:

Inheritance graph
[legend]
Collaboration diagram for dates_module:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 dates_module (const string &, const string &, const string &, const string &)
 Constructor.

Protected Attributes

map< string, int > nMes
 translate month names to numbers
map< string, string > nDia
 translate weekday names to unified codes
string century
 interpretation of the date-time expression
string year
string month
string day
string weekday
string hour
string minute
string meridian
int temp
 auxiliary for interpretation building
int sign
map< string, int > tok
 translate particular strings to token codes
RegEx RE_Date
RegEx RE_Time1
RegEx RE_Time2
RegEx RE_Roman

Detailed Description

The abstract class dates_module generalizes temporal expression recognizer for different languages.


Constructor & Destructor Documentation

dates_module::dates_module const string &  ,
const string &  ,
const string &  ,
const string & 
 

Constructor.


Member Data Documentation

string dates_module::century [protected]
 

interpretation of the date-time expression

string dates_module::day [protected]
 

string dates_module::hour [protected]
 

string dates_module::meridian [protected]
 

string dates_module::minute [protected]
 

string dates_module::month [protected]
 

map<string,string> dates_module::nDia [protected]
 

translate weekday names to unified codes

map<string,int> dates_module::nMes [protected]
 

translate month names to numbers

RegEx dates_module::RE_Date [protected]
 

RegEx dates_module::RE_Roman [protected]
 

RegEx dates_module::RE_Time1 [protected]
 

RegEx dates_module::RE_Time2 [protected]
 

int dates_module::sign [protected]
 

int dates_module::temp [protected]
 

auxiliary for interpretation building

map<string,int> dates_module::tok [protected]
 

translate particular strings to token codes

string dates_module::weekday [protected]
 

string dates_module::year [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Apr 26 12:58:00 2006 for FreeLing by  doxygen 1.4.4