dates_ca Class Reference

The derived class dates_ca implements a Catalan date/time recognizer. More...

#include <dates_modules.h>

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

List of all members.

Public Member Functions

 dates_ca ()
 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_ca implements a Catalan date/time recognizer.


Constructor & Destructor Documentation

dates_ca::dates_ca (  ) 

Member Function Documentation

int dates_ca::ComputeToken ( int  state,
sentence::iterator &  j,
sentence &  se 
) [private, virtual]
void dates_ca::ResetActions (  )  [private, virtual]
void dates_ca::SetMultiwordAnalysis ( sentence::iterator  i,
int  fstate 
) [private, virtual]
void dates_ca::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, IH, IH1, JH, JH1, K, L, LH, LH1, dates_module::meridian, MH, MH1, MH1b, MHb, dates_module::minute, dates_module::month, dates_module::nDia, NH, NH1, dates_module::nMes, P, dates_module::RE_Date, dates_module::RE_Time1, dates_module::RE_Time2, S2, dates_module::sign, dates_module::temp, TK_date, TK_daynum, TK_hhmm, TK_hour, TK_hournum, TK_min, TK_minnum, TK_month, TK_monthnum, TK_number, TK_quartnum, TK_roman, TK_shmonth, TK_wampm, TK_weekday, TK_wmidnight, TK_wmig, TK_wmitja, 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