| FreeLing
    4.0
    | 
The abstract class numbers_module generalizes nummeric expression recognizer for different languages. More...
#include <numbers_modules.h>


| Public Member Functions | |
| numbers_module (const std::wstring &, const std::wstring &) | |
| Constructor. | |
| Protected Member Functions | |
| virtual void | ResetActions (numbers_status *) const | 
| 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) | |
| freeling::regexp | RE_code | 
| freeling::regexp | RE_number | 
| freeling::regexp | RE_number_neg | 
The abstract class numbers_module generalizes nummeric expression recognizer for different languages.
| freeling::numbers_module::numbers_module | ( | const std::wstring & | , | 
| const std::wstring & | |||
| ) | 
Constructor.
| virtual void freeling::numbers_module::ResetActions | ( | numbers_status * | ) | const  [protected, virtual] | 
pure virtual function to be provided by the child class .
Resets automaton internal variables when a new search is started.
Implements freeling::automat< numbers_status >.
Reimplemented in freeling::numbers_it.
| std::wstring freeling::numbers_module::MACO_Decimal  [protected] | 
| std::wstring freeling::numbers_module::MACO_Thousand  [protected] | 
| std::map<int,long double> freeling::numbers_module::power  [protected] | 
to map value of power words (billion, million)
| freeling::regexp freeling::numbers_module::RE_code  [protected] | 
| freeling::regexp freeling::numbers_module::RE_number  [protected] | 
| std::map<std::wstring,int> freeling::numbers_module::tok  [protected] | 
to map words into token codes
| std::map<std::wstring,float> freeling::numbers_module::value  [protected] | 
to map words into numerical values
 1.7.6.1
 1.7.6.1