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

numbers_en Class Reference

The derived class numbers_en implements an English number recognizer. More...

#include <numbers_modules.h>

Inheritance diagram for numbers_en:

Inheritance graph
[legend]
Collaboration diagram for numbers_en:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 numbers_en (const string &, const string &)
 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: bilion, milion, units.
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, update current nummerical value.
void SetMultiwordAnalysis (sentence::iterator) const
 Set the appropriate lemma and parole for the new multiword.

Detailed Description

The derived class numbers_en implements an English number recognizer.


Constructor & Destructor Documentation

numbers_en::numbers_en const string &  ,
const string & 
 

Constructor.


Member Function Documentation

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

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

Implements automat.

void numbers_en::ResetActions  )  [private, virtual]
 

Reset acumulators used by state actions: bilion, milion, units.

Implements automat.

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

Set the appropriate lemma and parole for the new multiword.

Implements automat.

void numbers_en::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, update current nummerical value.

Implements automat.


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