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 std::string &, const std::string &, const std::string &, const std::string &)
 Constructor.

Protected Attributes

std::map< std::string, int > nMes
 translate month names to numbers
std::map< std::string,
std::string > 
nDia
 translate weekday names to unified codes
std::string century
 interpretation of the date-time expression
std::string year
std::string month
std::string day
std::string weekday
std::string hour
std::string minute
std::string meridian
int temp
 auxiliary for interpretation building
int sign
int daytemp
bool inGbb
std::map< std::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 std::string &  rd,
const std::string &  rt1,
const std::string &  rt2,
const std::string &  rtrom 
)

Constructor.

Abstract class constructor.


Member Data Documentation

std::string dates_module::century [protected]
std::string dates_module::day [protected]
int dates_module::daytemp [protected]
std::string dates_module::hour [protected]
bool dates_module::inGbb [protected]
std::string dates_module::meridian [protected]
std::string dates_module::minute [protected]
std::string dates_module::month [protected]
std::map<std::string,std::string> dates_module::nDia [protected]
std::map<std::string,int> dates_module::nMes [protected]
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]
std::map<std::string,int> dates_module::tok [protected]
std::string dates_module::weekday [protected]
std::string dates_module::year [protected]

The documentation for this class was generated from the following files:
Generated on Tue Jul 27 16:29:32 2010 for FreeLing by  doxygen 1.6.3