|
virtual bool | equalChars (wchar_t c1, wchar_t c2) const =0 |
| Checks if specified characters are represent same letter. More...
|
|
virtual void | expandNumbers (std::wstring &str, bool singleDigits) const =0 |
| Replaces numbers with their word representation. More...
|
|
virtual std::wstring | getAllChars () const =0 |
| Returns all characters of this language alphabet (in all cases) More...
|
|
virtual CharType | getCharType (wchar_t c) const =0 |
| Returns type of specified character. More...
|
|
virtual void | markCapitals (const std::wstring &text, BoolVector &marks) const =0 |
| Marks letters to speak separately (usual acronims) More...
|
|
virtual std::wstring | separate (const std::wstring &text) const =0 |
| Inserts additional spaces to better words processing. More...
|
|
virtual wchar_t | toLower (wchar_t ch) const =0 |
| Returns lower case of the specified character. More...
|
|
virtual std::wstring | toLower (const std::wstring &str) const =0 |
| Returns lower case of the specified string. More...
|
|
virtual wchar_t | toUpper (wchar_t ch) const =0 |
| Returns upper case of the specified character. More...
|
|
virtual std::wstring | toUpper (const std::wstring &str) const =0 |
| Returns upper case of the specified string. More...
|
|
virtual | ~Lang () |
| The destructor.
|
|
Language objects are used to provide all language-specific information and unify all language operations. VoiceMan server has associated language object for all portions of text.Usually these objects are used to get set of characters, translate digits into words representation, perform case insensitive characters comparing and for some others.
- See also
- LangManager EngLang RusLang