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

dates_default Class Reference

The derived class dates_default implements a default date/time recognizer (only simple patterns are recognized). More...

#include <dates_modules.h>

Inheritance diagram for dates_default:

Inheritance graph
[legend]
Collaboration diagram for dates_default:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 dates_default ()
 Constructor.

Private Member Functions

int ComputeToken (int, sentence::const_iterator, const sentence &)
 Compute the right token code for word j from given state.
void ResetActions ()
 Reset acumulators used by state actions: day, year, month, hour, minute, etc.
void StateActions (int, int, int, sentence::const_iterator)
 Perform necessary actions in "state" reached from state "origin" via word j interpreted as code "token": Basically, when reaching a state with an informative token (day, year, month, etc) store that part of the date.
void SetMultiwordAnalysis (sentence::iterator) const
 Set the appropriate lemma and parole for the new multiword.

Detailed Description

The derived class dates_default implements a default date/time recognizer (only simple patterns are recognized).


Constructor & Destructor Documentation

dates_default::dates_default  ) 
 

Constructor.


Member Function Documentation

int dates_default::ComputeToken int  ,
sentence::const_iterator  ,
const sentence
[private, virtual]
 

Compute the right token code for word j from given state.

Implements automat.

void dates_default::ResetActions  )  [private, virtual]
 

Reset acumulators used by state actions: day, year, month, hour, minute, etc.

Implements automat.

void dates_default::SetMultiwordAnalysis sentence::iterator   )  const [private, virtual]
 

Set the appropriate lemma and parole for the new multiword.

Implements automat.

void dates_default::StateActions int  ,
int  ,
int  ,
sentence::const_iterator 
[private, virtual]
 

Perform necessary actions in "state" reached from state "origin" via word j interpreted as code "token": Basically, when reaching a state with an informative token (day, year, month, etc) store that part of the date.

Implements automat.


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