FreeLing
4.0
|
#include <numbers_modules.h>
Public Member Functions | |
numbers_de (const std::wstring &, const std::wstring &) | |
Private Member Functions | |
int | ComputeToken (int, sentence::iterator &, sentence &) const |
pure virtual function to be provided by the child class. | |
void | StateActions (int, int, int, sentence::const_iterator, numbers_status *) const |
pure virtual function to be provided by the child class. | |
void | SetMultiwordAnalysis (sentence::iterator, int, const numbers_status *) const |
pure virtual function to be provided by the child class. | |
std::wstring | tokenName (const int token) const |
std::wstring | stateName (const int state) const |
Private Attributes | |
std::map< int, std::wstring > | stateNames |
std::map< int, std::wstring > | tokenNames |
freeling::numbers_de::numbers_de | ( | const std::wstring & | , |
const std::wstring & | |||
) |
int freeling::numbers_de::ComputeToken | ( | int | , |
sentence::iterator & | , | ||
sentence & | |||
) | const [private, virtual] |
pure virtual function to be provided by the child class.
Computes token code for current word in current state.
Implements freeling::automat< numbers_status >.
void freeling::numbers_de::SetMultiwordAnalysis | ( | sentence::iterator | , |
int | , | ||
const numbers_status * | |||
) | const [private, virtual] |
pure virtual function to be provided by the child class.
Sets analysis for pattern identified as a multiword.
Implements freeling::automat< numbers_status >.
void freeling::numbers_de::StateActions | ( | int | , |
int | , | ||
int | , | ||
sentence::const_iterator | , | ||
numbers_status * | |||
) | const [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 freeling::automat< numbers_status >.
std::wstring freeling::numbers_de::stateName | ( | const int | state | ) | const [private] |
std::wstring freeling::numbers_de::tokenName | ( | const int | token | ) | const [private] |
std::map<int, std::wstring> freeling::numbers_de::stateNames [private] |
std::map<int, std::wstring> freeling::numbers_de::tokenNames [private] |