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

quantities_default Class Reference

The derived class quantities_default implements a default quantities recognizer (only percentages are recognized). More...

#include <quantities_modules.h>

Inheritance diagram for quantities_default:

Inheritance graph
[legend]
Collaboration diagram for quantities_default:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 quantities_default (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: value1, value2 (for ratios).
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.
void SetMultiwordAnalysis (sentence::iterator) const
 Set the appropriate lemma and parole for the new multiword.

Detailed Description

The derived class quantities_default implements a default quantities recognizer (only percentages are recognized).


Constructor & Destructor Documentation

quantities_default::quantities_default const string &   ) 
 

Constructor.


Member Function Documentation

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

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

Implements automat.

void quantities_default::ResetActions  )  [private, virtual]
 

Reset acumulators used by state actions: value1, value2 (for ratios).

Implements automat.

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

Set the appropriate lemma and parole for the new multiword.

Implements automat.

void quantities_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.

Implements automat.


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