FreeLing  3.0
Public Member Functions | Private Attributes
maco Class Reference

Class maco implements the morphological analyzer, which uses all the specific analyzers: dates, numbers, dictionary, etc. More...

#include <maco.h>

Inheritance diagram for maco:
Inheritance graph
[legend]
Collaboration diagram for maco:
Collaboration graph
[legend]

List of all members.

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< sentenceanalyze (const std::list< sentence > &)
 analyze sentences, return analyzed copy

Private Attributes

maco_options defaultOpt
 creation options
locutionsloc
dictionarydico
numbersnumb
datesdate
quantitiesquant
puntspunt
RE_mapuser
probabilitiesprob
nernpm
correctorcorrect

Detailed Description

Class maco implements the morphological analyzer, which uses all the specific analyzers: dates, numbers, dictionary, etc.


Constructor & Destructor Documentation

maco::maco ( const maco_options opts)

Destructor.

Destroy morphological analyzer, and all required recognizers and modules.

References correct, date, dico, loc, npm, numb, prob, punt, quant, and user.


Member Function Documentation

void maco::analyze ( sentence s) [virtual]
void maco::analyze ( std::list< sentence > &  )

analyze given sentences

Reimplemented from processor.

analyze sentence, return analyzed copy

Apply cascade of analyzers to given sentence.

Return copy

Reimplemented from processor.

References analyze().

std::list<sentence> maco::analyze ( const std::list< sentence > &  )

analyze sentences, return analyzed copy

Reimplemented from processor.


Member Data Documentation

Referenced by analyze(), maco(), and ~maco().

dates* maco::date [private]

Referenced by analyze(), maco(), and ~maco().

creation options

Referenced by analyze().

dictionary* maco::dico [private]

Referenced by analyze(), maco(), and ~maco().

locutions* maco::loc [private]

Referenced by analyze(), maco(), and ~maco().

ner* maco::npm [private]

Referenced by analyze(), maco(), and ~maco().

numbers* maco::numb [private]

Referenced by analyze(), maco(), and ~maco().

Referenced by analyze(), maco(), and ~maco().

punts* maco::punt [private]

Referenced by analyze(), maco(), and ~maco().

quantities* maco::quant [private]

Referenced by analyze(), maco(), and ~maco().

RE_map* maco::user [private]

Referenced by analyze(), maco(), and ~maco().


The documentation for this class was generated from the following files: