FreeLing  3.0
Public Member Functions | Private Member Functions | Private Attributes
dates_en Class Reference

The derived class dates_en implements an English date/time recognizer. More...

#include <dates_modules.h>

Inheritance diagram for dates_en:
Inheritance graph
[legend]
Collaboration diagram for dates_en:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 dates_en ()
 Constructor.

Private Member Functions

int ComputeToken (int, sentence::iterator &, sentence &)
 pure virtual function to be provided by the child class.
void StateActions (int, int, int, sentence::const_iterator)
 pure virtual function to be provided by the child class.
void SetMultiwordAnalysis (sentence::iterator, int)
 pure virtual function to be provided by the child class.

Private Attributes

std::map< std::wstring, int > numDay
 translate day numbers (first, second...) to a number (1, 2...)

Detailed Description

The derived class dates_en implements an English date/time recognizer.


Constructor & Destructor Documentation

Constructor.


Member Function Documentation

int dates_en::ComputeToken ( int  ,
sentence::iterator &  ,
sentence  
) [private, virtual]

pure virtual function to be provided by the child class.

Computes token code for current word in current state.

Implements automat.

void dates_en::SetMultiwordAnalysis ( sentence::iterator  ,
int   
) [private, virtual]

pure virtual function to be provided by the child class.

Sets analysis for pattern identified as a multiword.

Implements automat.

void dates_en::StateActions ( int  ,
int  ,
int  ,
sentence::const_iterator   
) [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 automat.


Member Data Documentation

std::map<std::wstring,int> dates_en::numDay [private]

translate day numbers (first, second...) to a number (1, 2...)


The documentation for this class was generated from the following file: