FreeLing
4.0
|
Derived accents_module for Spanish accentuation. More...
#include <accents_modules.h>
Public Member Functions | |
accents_es () | |
Constructor. | |
void | fix_accentuation (std::set< std::wstring > &, const sufrule &) const |
Specific accentuation patterns for Spanish. | |
Static Private Member Functions | |
static std::wstring | remove_accent_esp (const std::wstring &) |
remove spanish accents from given word | |
static std::wstring | put_accent_esp (const std::wstring &) |
set spanish accents on last syllabe of given word | |
Static Private Attributes | |
static const regexp | llana_acc |
regexps to check for useful spanish accentuation and syllabic patterns | |
static const regexp | aguda_mal |
static const regexp | monosil |
static const regexp | last_vowel_put_acc |
static const regexp | last_vowel_not_acc |
static const regexp | any_vowel_acc |
static const regexp | diacritic |
static const std::map < std::wstring, std::wstring > | with_acc |
maps to store equivalences between accentued and not accentued chars. | |
static const std::map < std::wstring, std::wstring > | without_acc |
Derived accents_module for Spanish accentuation.
Constructor.
void freeling::accents_es::fix_accentuation | ( | std::set< std::wstring > & | , |
const sufrule & | |||
) | const [virtual] |
Specific accentuation patterns for Spanish.
Implements freeling::accents_module.
static std::wstring freeling::accents_es::put_accent_esp | ( | const std::wstring & | ) | [static, private] |
set spanish accents on last syllabe of given word
static std::wstring freeling::accents_es::remove_accent_esp | ( | const std::wstring & | ) | [static, private] |
remove spanish accents from given word
const regexp freeling::accents_es::aguda_mal [static, private] |
const regexp freeling::accents_es::any_vowel_acc [static, private] |
const regexp freeling::accents_es::diacritic [static, private] |
const regexp freeling::accents_es::last_vowel_not_acc [static, private] |
const regexp freeling::accents_es::last_vowel_put_acc [static, private] |
const regexp freeling::accents_es::llana_acc [static, private] |
regexps to check for useful spanish accentuation and syllabic patterns
const regexp freeling::accents_es::monosil [static, private] |
const std::map<std::wstring,std::wstring> freeling::accents_es::with_acc [static, private] |
maps to store equivalences between accentued and not accentued chars.
const std::map<std::wstring,std::wstring> freeling::accents_es::without_acc [static, private] |