FreeLing  4.0
Public Member Functions | Public Attributes
freeling::maco_options Class Reference

Class maco_options implements a set of specific options of the morphological analyzer. More...

#include <maco_options.h>

List of all members.

Public Member Functions

 maco_options (const std::wstring &)
 constructor
void set_data_files (const std::wstring &usr, const std::wstring &pun, const std::wstring &dic, const std::wstring &aff, const std::wstring &comp, const std::wstring &loc, const std::wstring &nps, const std::wstring &qty, const std::wstring &prb)
 Option setting methods provided to ease perl interface generation.
void set_nummerical_points (const std::wstring &dec, const std::wstring &tho)
void set_threshold (double)
void set_inverse_dict (bool)
void set_retok_contractions (bool)

Public Attributes

std::wstring Lang
std::wstring LocutionsFile
 Morphological analyzer modules configuration/data files.
std::wstring QuantitiesFile
std::wstring AffixFile
std::wstring CompoundFile
std::wstring DictionaryFile
std::wstring ProbabilityFile
std::wstring NPdataFile
std::wstring PunctuationFile
std::wstring UserMapFile
std::wstring Decimal
 module-specific parameters for number recognition
std::wstring Thousand
double ProbabilityThreshold
 module-specific parameters for probabilities
bool InverseDict
 module-specific parameters for dictionary
bool RetokContractions

Detailed Description

Class maco_options implements a set of specific options of the morphological analyzer.

Other modules do not have such a class because they deal with a reduced number of options


Constructor & Destructor Documentation

freeling::maco_options::maco_options ( const std::wstring &  lg)

constructor

Create an options set for morpho analyzer.

Initialize with default values.


Member Function Documentation

void freeling::maco_options::set_data_files ( const std::wstring &  usr,
const std::wstring &  pun,
const std::wstring &  dic,
const std::wstring &  aff,
const std::wstring &  comp,
const std::wstring &  loc,
const std::wstring &  nps,
const std::wstring &  qty,
const std::wstring &  prb 
)

Option setting methods provided to ease perl interface generation.

Since option data members are public and can be accessed directly from C++, the following methods are not necessary, but may become convenient sometimes.

Referenced by freeling::analyzer::analyzer().

void freeling::maco_options::set_nummerical_points ( const std::wstring &  dec,
const std::wstring &  tho 
)

Member Data Documentation

Referenced by freeling::maco::maco().

Referenced by freeling::maco::maco().

module-specific parameters for number recognition

Referenced by freeling::maco::maco().

Referenced by freeling::maco::maco().

module-specific parameters for dictionary

Referenced by freeling::maco::maco().

Referenced by freeling::maco::maco().

Morphological analyzer modules configuration/data files.

Referenced by freeling::maco::maco().

Referenced by freeling::maco::maco().

Referenced by freeling::maco::maco().

module-specific parameters for probabilities

Referenced by freeling::maco::maco().

Referenced by freeling::maco::maco().

Referenced by freeling::maco::maco().

Referenced by freeling::maco::maco().

Referenced by freeling::maco::maco().

Referenced by freeling::maco::maco().


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