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::string &)
 constructor
void set_active_modules (bool, bool, bool, bool, bool, bool, bool, bool, int, bool)
 Option setting methods provided to ease perl interface generation.
void set_nummerical_points (const std::string &, const std::string &)
void set_data_files (const std::string &, const std::string &, const std::string &, const std::string &, const std::string &, const std::string &, const std::string &, const std::string &)
void set_threshold (double)

Public Attributes

std::string Lang
bool AffixAnalysis
 Morphological analyzer options.
bool MultiwordsDetection
bool NumbersDetection
bool PunctuationDetection
bool DatesDetection
bool QuantitiesDetection
bool DictionarySearch
bool ProbabilityAssignment
bool OrthographicCorrection
int NERecognition
std::string Decimal
 Morphological analyzer options.
std::string Thousand
std::string LocutionsFile
 Morphological analyzer options.
std::string QuantitiesFile
std::string AffixFile
std::string ProbabilityFile
std::string DictionaryFile
std::string NPdataFile
std::string PunctuationFile
std::string CorrectorFile
double ProbabilityThreshold

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

maco_options::maco_options ( const std::string &  lg  ) 

Member Function Documentation

void maco_options::set_active_modules ( bool  suf,
bool  mw,
bool  num,
bool  pun,
bool  dat,
bool  qt,
bool  dic,
bool  prb,
int  ner,
bool  orto 
)

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.

References AffixAnalysis, DatesDetection, DictionarySearch, MultiwordsDetection, NERecognition, NumbersDetection, OrthographicCorrection, ProbabilityAssignment, PunctuationDetection, and QuantitiesDetection.

void maco_options::set_data_files ( const std::string &  loc,
const std::string &  qty,
const std::string &  suf,
const std::string &  prb,
const std::string &  dic,
const std::string &  nps,
const std::string &  pun,
const std::string &  corr 
)
void maco_options::set_nummerical_points ( const std::string &  dec,
const std::string &  tho 
)

References Decimal, and Thousand.

void maco_options::set_threshold ( double  t  ) 

References ProbabilityThreshold.


Member Data Documentation

Morphological analyzer options.

Referenced by maco::maco(), maco_options(), and set_active_modules().

std::string maco_options::Decimal

Morphological analyzer options.

Referenced by maco::maco(), maco_options(), and set_nummerical_points().

std::string maco_options::Lang

Referenced by maco::maco(), and maco_options().

Morphological analyzer options.

Referenced by maco::maco(), maco_options(), and set_data_files().


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