dates_es Class Reference

The derived class dates_es implements a Spanish date/time recognizer. More...

#include <dates_modules.h>

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

List of all members.

Public Member Functions

 dates_es ()
 Constructor.

Private Member Functions

int ComputeToken (int, sentence::iterator &, 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, int)
 Set the appropriate lemma and parole for the new multiword.

Detailed Description

The derived class dates_es implements a Spanish date/time recognizer.


Constructor & Destructor Documentation

dates_es::dates_es (  ) 

Member Function Documentation

int dates_es::ComputeToken ( int  state,
sentence::iterator &  j,
sentence &  se 
) [private, virtual]
void dates_es::ResetActions (  )  [private, virtual]

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

Implements automat.

References dates_module::century, dates_module::day, dates_module::hour, dates_module::meridian, dates_module::minute, dates_module::month, dates_module::temp, dates_module::weekday, and dates_module::year.

void dates_es::SetMultiwordAnalysis ( sentence::iterator  i,
int  fstate 
) [private, virtual]
void dates_es::StateActions ( int  origin,
int  state,
int  token,
sentence::const_iterator  j 
) [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.

References A, B, BH, BH1, BH2, dates_module::century, CH, CH1, D, dates_module::day, E, Eb, EH1b, EHb, FH1, FH1b, G, GH, GH1, dates_module::hour, I, Ib, K, L, dates_module::meridian, dates_module::minute, dates_module::month, dates_module::nDia, dates_module::nMes, P, dates_module::RE_Date, dates_module::RE_Time1, dates_module::RE_Time2, S2, dates_module::temp, TK_date, TK_daynum, TK_hhmm, TK_hour, TK_hournum, TK_min, TK_minnum, TK_month, TK_monthnum, TK_number, TK_roman, TK_shmonth, TK_wampm, TK_weekday, TK_wmidnight, TK_wmorning, TK_wpunto, TK_wquart, TRACE, dates_module::weekday, and dates_module::year.


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