FreeLing  4.0
Public Member Functions | Static Private Member Functions | Static Private Attributes
freeling::accents_gl Class Reference

Derived accents_module for Galician accentuation. More...

#include <accents_modules.h>

Inheritance diagram for freeling::accents_gl:
Inheritance graph
[legend]
Collaboration diagram for freeling::accents_gl:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Derived accents_module for Galician accentuation.


Constructor & Destructor Documentation

Constructor.


Member Function Documentation

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


Member Data Documentation

regexps to check for useful spanish accentuation and syllabic patterns

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]

The documentation for this class was generated from the following file: