|
FreeLing
3.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 | analyze (sentence &) |
| analyze given sentence | |
| void | analyze (std::list< sentence > &) |
| analyze given sentences | |
| sentence | analyze (const sentence &) |
| analyze sentence, return analyzed copy | |
| std::list< sentence > | analyze (const std::list< sentence > &) |
| analyze sentences, return analyzed copy | |
Private Attributes | |
| maco_options | defaultOpt |
| creation options | |
| locutions * | loc |
| dictionary * | dico |
| numbers * | numb |
| dates * | date |
| quantities * | quant |
| punts * | punt |
| RE_map * | user |
| probabilities * | prob |
| ner * | npm |
| corrector * | correct |
Class maco implements the morphological analyzer, which uses all the specific analyzers: dates, numbers, dictionary, etc.
| maco::maco | ( | const maco_options & | opts | ) |
Constructor.
Create the morphological analyzer, and all required recognizers and modules.
References maco_options::AffixAnalysis, maco_options::AffixFile, correct, maco_options::CorrectorFile, date, maco_options::DatesDetection, maco_options::Decimal, dico, maco_options::DictionaryFile, maco_options::DictionarySearch, maco_options::InverseDict, maco_options::Lang, loc, maco_options::LocutionsFile, maco_options::MultiwordsDetection, maco_options::NERecognition, maco_options::NPdataFile, npm, numb, maco_options::NumbersDetection, maco_options::OrthographicCorrection, prob, maco_options::ProbabilityAssignment, maco_options::ProbabilityFile, maco_options::ProbabilityThreshold, maco_options::PunctuationDetection, maco_options::PunctuationFile, punt, quant, maco_options::QuantitiesDetection, maco_options::QuantitiesFile, maco_options::RetokContractions, maco_options::Thousand, user, maco_options::UserMap, and maco_options::UserMapFile.
| maco::~maco | ( | ) |
| void maco::analyze | ( | sentence & | s | ) | [virtual] |
analyze given sentence
Apply cascade of analyzers to given sentence.
Implements processor.
References punts::analyze(), ner::analyze(), numbers::analyze(), quantities::analyze(), dates::analyze(), RE_map::analyze(), dictionary::analyze(), probabilities::analyze(), corrector::analyze(), automat::analyze(), correct, date, maco_options::DatesDetection, defaultOpt, dico, maco_options::DictionarySearch, loc, maco_options::MultiwordsDetection, maco_options::NERecognition, npm, numb, maco_options::NumbersDetection, maco_options::OrthographicCorrection, prob, maco_options::ProbabilityAssignment, maco_options::PunctuationDetection, punt, quant, maco_options::QuantitiesDetection, TRACE, user, and maco_options::UserMap.
Referenced by analyze().
| void maco::analyze | ( | std::list< sentence > & | ) |
analyze given sentences
Reimplemented from processor.
| sentence maco::analyze | ( | const sentence & | s | ) |
| std::list<sentence> maco::analyze | ( | const std::list< sentence > & | ) |
analyze sentences, return analyzed copy
Reimplemented from processor.
corrector* maco::correct [private] |
dates* maco::date [private] |
maco_options maco::defaultOpt [private] |
creation options
Referenced by analyze().
dictionary* maco::dico [private] |
numbers* maco::numb [private] |
probabilities* maco::prob [private] |
punts* maco::punt [private] |
quantities* maco::quant [private] |
RE_map* maco::user [private] |
1.7.6.1