The abstract class numbers_module generalizes nummeric expression recognizer for different languages.
More...
#include <numbers_modules.h>
List of all members.
Public Member Functions |
| | numbers_module (const std::wstring &, const std::wstring &) |
| | Constructor.
|
Protected Member Functions |
| virtual void | ResetActions () |
| | pure virtual function to be provided by the child class .
|
Protected Attributes |
| std::wstring | MACO_Decimal |
| std::wstring | MACO_Thousand |
| std::map< std::wstring, float > | value |
| | to map words into numerical values
|
| std::map< std::wstring, int > | tok |
| | to map words into token codes
|
| std::map< int, long double > | power |
| | to map value of power words (billion, million)
|
| long double | bilion |
| | partial value of partially build number expression
|
| long double | milion |
| long double | units |
| int | block |
| int | iscode |
| boost::u32regex | RE_number |
| boost::u32regex | RE_code |
Detailed Description
The abstract class numbers_module generalizes nummeric expression recognizer for different languages.
Constructor & Destructor Documentation
Member Function Documentation
pure virtual function to be provided by the child class .
Resets automaton internal variables when a new search is started.
Implements automat.
Reimplemented in numbers_it.
Member Data Documentation
partial value of partially build number expression
to map value of power words (billion, million)
to map words into token codes
to map words into numerical values
The documentation for this class was generated from the following file: