|
FreeLing
3.1
|
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 &) const |
| analyze given sentence | |
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 |
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::AffixAnalysis, freeling::maco_options::AffixFile, date, freeling::maco_options::DatesDetection, freeling::maco_options::Decimal, dico, freeling::maco_options::DictionaryFile, freeling::maco_options::DictionarySearch, freeling::maco_options::InverseDict, freeling::maco_options::Lang, loc, freeling::maco_options::LocutionsFile, freeling::maco_options::MultiwordsDetection, freeling::maco_options::NERecognition, freeling::maco_options::NPdataFile, npm, numb, freeling::maco_options::NumbersDetection, prob, freeling::maco_options::ProbabilityAssignment, freeling::maco_options::ProbabilityFile, freeling::maco_options::ProbabilityThreshold, freeling::maco_options::PunctuationDetection, freeling::maco_options::PunctuationFile, punt, quant, freeling::maco_options::QuantitiesDetection, freeling::maco_options::QuantitiesFile, freeling::maco_options::RetokContractions, freeling::maco_options::Thousand, user, freeling::maco_options::UserMap, and freeling::maco_options::UserMapFile.
| void freeling::maco::analyze | ( | sentence & | s | ) | const [virtual] |
analyze given sentence
Apply cascade of analyzers to given sentence.
Implements freeling::processor.
References freeling::punts::analyze(), freeling::factory< T >::analyze(), freeling::RE_map::analyze(), freeling::probabilities::analyze(), freeling::dictionary::analyze(), freeling::automat< T >::analyze(), date, freeling::maco_options::DatesDetection, defaultOpt, dico, freeling::maco_options::DictionarySearch, loc, freeling::maco_options::MultiwordsDetection, freeling::maco_options::NERecognition, npm, numb, freeling::maco_options::NumbersDetection, prob, freeling::maco_options::ProbabilityAssignment, freeling::maco_options::PunctuationDetection, punt, quant, freeling::maco_options::QuantitiesDetection, TRACE, user, and freeling::maco_options::UserMap.
dates* freeling::maco::date [private] |
maco_options freeling::maco::defaultOpt [private] |
creation options
Referenced by analyze().
dictionary* freeling::maco::dico [private] |
locutions* freeling::maco::loc [private] |
ner* freeling::maco::npm [private] |
numbers* freeling::maco::numb [private] |
probabilities* freeling::maco::prob [private] |
punts* freeling::maco::punt [private] |
quantities* freeling::maco::quant [private] |
RE_map* freeling::maco::user [private] |
1.7.6.1