FreeLing
4.0
|
Derived accents_module for Galician accentuation. More...
#include <accents_modules.h>
Public Member Functions | |
accents_gl () | |
Constructor. | |
void | fix_accentuation (std::set< std::wstring > &, const sufrule &) const |
Specific accentuation patterns for Galician. | |
Static Private Member Functions | |
static std::wstring | remove_accent_gl (const std::wstring &) |
remove spanish accents from given word | |
static std::wstring | put_accent_gl (const std::wstring &) |
set galician accents on last syllabe of given word | |
static void | fix_accusative_allomorph_gl (std::set< std::wstring > &) |
fix for Galician accent pattern | |
Static Private Attributes | |
static const regexp | last_vowel_put_acc |
regexps to check for useful spanish accentuation and syllabic patterns | |
static const regexp | last_vowel_not_acc |
static const regexp | any_vowel_acc |
static const regexp | any_closed_vowel_acc |
static const regexp | oxytone_without_acc |
static const regexp | oxytone_with_acc |
static const regexp | diacritic_acc |
static const regexp | past_subj_with_acc |
static const regexp | infinitive_r_accusative_allomorph |
static const regexp | present_s_accusative_allomorph |
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 Galician accentuation.
Constructor.
void freeling::accents_gl::fix_accentuation | ( | std::set< std::wstring > & | , |
const sufrule & | |||
) | const [virtual] |
Specific accentuation patterns for Galician.
Implements freeling::accents_module.
static void freeling::accents_gl::fix_accusative_allomorph_gl | ( | std::set< std::wstring > & | ) | [static, private] |
fix for Galician accent pattern
static std::wstring freeling::accents_gl::put_accent_gl | ( | const std::wstring & | ) | [static, private] |
set galician accents on last syllabe of given word
static std::wstring freeling::accents_gl::remove_accent_gl | ( | const std::wstring & | ) | [static, private] |
remove spanish accents from given word
const regexp freeling::accents_gl::any_closed_vowel_acc [static, private] |
const regexp freeling::accents_gl::any_vowel_acc [static, private] |
const regexp freeling::accents_gl::diacritic_acc [static, private] |
const regexp freeling::accents_gl::infinitive_r_accusative_allomorph [static, private] |
const regexp freeling::accents_gl::last_vowel_not_acc [static, private] |
const regexp freeling::accents_gl::last_vowel_put_acc [static, private] |
regexps to check for useful spanish accentuation and syllabic patterns
const regexp freeling::accents_gl::oxytone_with_acc [static, private] |
const regexp freeling::accents_gl::oxytone_without_acc [static, private] |
const regexp freeling::accents_gl::past_subj_with_acc [static, private] |
const regexp freeling::accents_gl::present_s_accusative_allomorph [static, private] |
const std::map<std::wstring,std::wstring> freeling::accents_gl::with_acc [static, private] |
maps to store equivalences between accentued and not accentued chars.
const std::map<std::wstring,std::wstring> freeling::accents_gl::without_acc [static, private] |