FreeLing  3.0
Public Member Functions | Static Private Member Functions | Static Private Attributes
accents_gl Class Reference

Derived accents_module for Galician accentuation. More...

#include <accents_modules.h>

Inheritance diagram for accents_gl:
Inheritance graph
[legend]
Collaboration diagram for 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 boost::u32regex last_vowel_put_acc
 regexps to check for useful spanish accentuation and syllabic patterns
static boost::u32regex last_vowel_not_acc
static boost::u32regex any_vowel_acc
static boost::u32regex any_closed_vowel_acc
static boost::u32regex oxytone_without_acc
static boost::u32regex oxytone_with_acc
static boost::u32regex diacritic_acc
static boost::u32regex past_subj_with_acc
static boost::u32regex infinitive_r_accusative_allomorph
static boost::u32regex present_s_accusative_allomorph
static std::map< std::wstring,
std::wstring > 
with_acc
 maps to store equivalences between accentued and not accentued chars.
static std::map< std::wstring,
std::wstring > 
without_acc

Detailed Description

Derived accents_module for Galician accentuation.


Constructor & Destructor Documentation

Constructor.


Member Function Documentation

void accents_gl::fix_accentuation ( std::set< std::wstring > &  ,
const sufrule  
) const [virtual]

Specific accentuation patterns for Galician.

Implements accents_module.

static void accents_gl::fix_accusative_allomorph_gl ( std::set< std::wstring > &  ) [static, private]

fix for Galician accent pattern

static std::wstring accents_gl::put_accent_gl ( const std::wstring &  ) [static, private]

set galician accents on last syllabe of given word

static std::wstring accents_gl::remove_accent_gl ( const std::wstring &  ) [static, private]

remove spanish accents from given word


Member Data Documentation

boost::u32regex accents_gl::any_closed_vowel_acc [static, private]
boost::u32regex accents_gl::any_vowel_acc [static, private]
boost::u32regex accents_gl::diacritic_acc [static, private]
boost::u32regex accents_gl::infinitive_r_accusative_allomorph [static, private]
boost::u32regex accents_gl::last_vowel_not_acc [static, private]
boost::u32regex accents_gl::last_vowel_put_acc [static, private]

regexps to check for useful spanish accentuation and syllabic patterns

boost::u32regex accents_gl::oxytone_with_acc [static, private]
boost::u32regex accents_gl::oxytone_without_acc [static, private]
boost::u32regex accents_gl::past_subj_with_acc [static, private]
boost::u32regex accents_gl::present_s_accusative_allomorph [static, private]
std::map<std::wstring,std::wstring> accents_gl::with_acc [static, private]

maps to store equivalences between accentued and not accentued chars.

std::map<std::wstring,std::wstring> accents_gl::without_acc [static, private]

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