|
FreeLing
3.0
|
The derived class numbers_it implements a Italian number recognizer. More...
#include <numbers_modules.h>


Public Member Functions | |
| numbers_it (const std::wstring &, const std::wstring &) | |
| Constructor. | |
Private Member Functions | |
| int | ComputeToken (int, sentence::iterator &, sentence &) |
| pure virtual function to be provided by the child class. | |
| void | ResetActions () |
| pure virtual function to be provided by the child class . | |
| void | StateActions (int, int, int, sentence::const_iterator) |
| pure virtual function to be provided by the child class. | |
| void | SetMultiwordAnalysis (sentence::iterator, int) |
| pure virtual function to be provided by the child class. | |
Private Attributes | |
| long double | hundreds |
| long double | thousands |
| long double | floatUnits |
The derived class numbers_it implements a Italian number recognizer.
| numbers_it::numbers_it | ( | const std::wstring & | , |
| const std::wstring & | |||
| ) |
Constructor.
| int numbers_it::ComputeToken | ( | int | , |
| sentence::iterator & | , | ||
| sentence & | |||
| ) | [private, virtual] |
pure virtual function to be provided by the child class.
Computes token code for current word in current state.
Implements automat.
| void numbers_it::ResetActions | ( | ) | [private, virtual] |
pure virtual function to be provided by the child class .
Resets automaton internal variables when a new search is started.
Reimplemented from numbers_module.
| void numbers_it::SetMultiwordAnalysis | ( | sentence::iterator | , |
| int | |||
| ) | [private, virtual] |
pure virtual function to be provided by the child class.
Sets analysis for pattern identified as a multiword.
Implements automat.
| void numbers_it::StateActions | ( | int | , |
| int | , | ||
| int | , | ||
| sentence::const_iterator | |||
| ) | [private, virtual] |
pure virtual function to be provided by the child class.
Performs appropriate internal actions, given origin and destinanation states, token code and word.
Implements automat.
long double numbers_it::floatUnits [private] |
long double numbers_it::hundreds [private] |
long double numbers_it::thousands [private] |
1.7.6.1