|
FreeLing
4.0
|
Class maco_options implements a set of specific options of the morphological analyzer. More...
#include <maco_options.h>
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 |
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
| freeling::maco_options::maco_options | ( | const std::wstring & | lg | ) |
constructor
Create an options set for morpho analyzer.
Initialize with default values.
| 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_inverse_dict | ( | bool | b | ) |
Referenced by freeling::analyzer::analyzer().
| void freeling::maco_options::set_nummerical_points | ( | const std::wstring & | dec, |
| const std::wstring & | tho | ||
| ) |
Referenced by freeling::analyzer::analyzer().
| void freeling::maco_options::set_retok_contractions | ( | bool | b | ) |
| void freeling::maco_options::set_threshold | ( | double | t | ) |
Referenced by freeling::analyzer::analyzer().
| std::wstring freeling::maco_options::AffixFile |
Referenced by freeling::maco::maco().
| std::wstring freeling::maco_options::CompoundFile |
Referenced by freeling::maco::maco().
| std::wstring freeling::maco_options::Decimal |
module-specific parameters for number recognition
Referenced by freeling::maco::maco().
| std::wstring freeling::maco_options::DictionaryFile |
Referenced by freeling::maco::maco().
module-specific parameters for dictionary
Referenced by freeling::maco::maco().
| std::wstring freeling::maco_options::Lang |
Referenced by freeling::maco::maco().
| std::wstring freeling::maco_options::LocutionsFile |
Morphological analyzer modules configuration/data files.
Referenced by freeling::maco::maco().
| std::wstring freeling::maco_options::NPdataFile |
Referenced by freeling::maco::maco().
| std::wstring freeling::maco_options::ProbabilityFile |
Referenced by freeling::maco::maco().
module-specific parameters for probabilities
Referenced by freeling::maco::maco().
| std::wstring freeling::maco_options::PunctuationFile |
Referenced by freeling::maco::maco().
| std::wstring freeling::maco_options::QuantitiesFile |
Referenced by freeling::maco::maco().
Referenced by freeling::maco::maco().
| std::wstring freeling::maco_options::Thousand |
Referenced by freeling::maco::maco().
| std::wstring freeling::maco_options::UserMapFile |
Referenced by freeling::maco::maco().
1.7.6.1