FreeLing
4.0
|
Class maco implements the morphological analyzer, which uses all the specific analyzers: dates, numbers, dictionary, etc. More...
#include <maco.h>
Public Member Functions | |
maco (const maco_options &) | |
Constructor. | |
~maco () | |
Destructor. | |
void | set_active_options (bool umap, bool num, bool pun, bool dat, bool dic, bool aff, bool comp, bool rtk, bool mw, bool ner, bool qt, bool prb) |
change active options for further analysis | |
void | analyze (sentence &) const |
analyze given sentence | |
Private Attributes | |
bool | MultiwordsDetection |
Morhpological analyzer active modules. | |
bool | NumbersDetection |
bool | PunctuationDetection |
bool | DatesDetection |
bool | QuantitiesDetection |
bool | DictionarySearch |
bool | ProbabilityAssignment |
bool | UserMap |
bool | NERecognition |
locutions * | loc |
dictionary * | dico |
numbers * | numb |
dates * | date |
quantities * | quant |
punts * | punt |
RE_map * | user |
probabilities * | prob |
ner * | npm |
Class maco implements the morphological analyzer, which uses all the specific analyzers: dates, numbers, dictionary, etc.
freeling::maco::maco | ( | const maco_options & | opts | ) |
Constructor.
Create the morphological analyzer, and all required recognizers and modules.
References freeling::maco_options::AffixFile, freeling::maco_options::CompoundFile, freeling::maco_options::Decimal, freeling::maco_options::DictionaryFile, freeling::maco_options::InverseDict, freeling::maco_options::Lang, freeling::maco_options::LocutionsFile, freeling::maco_options::NPdataFile, freeling::maco_options::ProbabilityFile, freeling::maco_options::ProbabilityThreshold, freeling::maco_options::PunctuationFile, freeling::maco_options::QuantitiesFile, freeling::maco_options::RetokContractions, freeling::maco_options::Thousand, and freeling::maco_options::UserMapFile.
Destructor.
Destroy morphological analyzer, and all required recognizers and modules.
void freeling::maco::analyze | ( | sentence & | s | ) | const [virtual] |
analyze given sentence
Apply cascade of analyzers to given sentence.
Implements freeling::processor.
References TRACE.
void freeling::maco::set_active_options | ( | bool | umap, |
bool | num, | ||
bool | pun, | ||
bool | dat, | ||
bool | dic, | ||
bool | aff, | ||
bool | comp, | ||
bool | rtk, | ||
bool | mw, | ||
bool | ner, | ||
bool | qt, | ||
bool | prb | ||
) |
change active options for further analysis
set active modules for further analysis
References WARNING.
dates* freeling::maco::date [private] |
bool freeling::maco::DatesDetection [private] |
dictionary* freeling::maco::dico [private] |
bool freeling::maco::DictionarySearch [private] |
locutions* freeling::maco::loc [private] |
bool freeling::maco::MultiwordsDetection [private] |
Morhpological analyzer active modules.
bool freeling::maco::NERecognition [private] |
ner* freeling::maco::npm [private] |
numbers* freeling::maco::numb [private] |
bool freeling::maco::NumbersDetection [private] |
probabilities* freeling::maco::prob [private] |
bool freeling::maco::ProbabilityAssignment [private] |
bool freeling::maco::PunctuationDetection [private] |
punts* freeling::maco::punt [private] |
quantities* freeling::maco::quant [private] |
bool freeling::maco::QuantitiesDetection [private] |
RE_map* freeling::maco::user [private] |
bool freeling::maco::UserMap [private] |