accents Class Reference

The class accents provides a wrapper to transparently create and access an accents_module to handle accentuation for the appropriate language. More...

#include <accents.h>

Collaboration diagram for accents:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 accents (const std::string &)
 Constructor.
 ~accents ()
 Destructor.
void fix_accentuation (std::set< std::string > &, const sufrule &) const
 fix accentuation patterns of a list of root candidates, according to a suffix rule

Private Attributes

accents_modulewho
 remember which module is doing the real work.

Detailed Description

The class accents provides a wrapper to transparently create and access an accents_module to handle accentuation for the appropriate language.


Constructor & Destructor Documentation

accents::accents ( const std::string &  Lang  ) 

Constructor.

Create the appropriate accents_module (according to received options), and create a wrapper to access it.

Create Spanish accent handler

Create Galician accent handler !! (equal to Spanish ??) !!

Create Catalan accent handler !! To be fixed !!

Create Default (null) accent handler. Ok for english.

References who.

accents::~accents (  ) 

Destructor.

Destroy the wrapper and the wrapped accents_module.

References who.


Member Function Documentation

void accents::fix_accentuation ( std::set< std::string > &  candidates,
const sufrule suf 
) const

fix accentuation patterns of a list of root candidates, according to a suffix rule

wrapper methods: just call the wrapped accents_module.

References accents_module::fix_accentuation(), and who.

Referenced by affixes::look_for_affixes_in_list(), and affixes::look_for_combined_affixes().


Member Data Documentation

remember which module is doing the real work.

Referenced by accents(), fix_accentuation(), and ~accents().


The documentation for this class was generated from the following files:
Generated on Tue Jul 27 16:29:30 2010 for FreeLing by  doxygen 1.6.3