|
FreeLing
3.0
|
The class bioner implements an AdaBoost-Based NE recognizer. More...
#include <bioner.h>


Public Member Functions | |
| bioner (const std::wstring &) | |
| Constructor. | |
| ~bioner () | |
| Destructor. | |
| void | analyze (sentence &) |
| Recognize NEs in given sentence. | |
| void | analyze (std::list< sentence > &) |
| Recognize NEs in given sentences. | |
| sentence | analyze (const sentence &) |
| Recognize NEs in given sentence, return copy. | |
| std::list< sentence > | analyze (const std::list< sentence > &) |
| Recognize NEs in given sentence. | |
| void | SetMultiwordAnalysis (sentence::iterator) const |
Private Attributes | |
| fex * | extractor |
| feature extractor | |
| classifier * | classif |
| adaboost classifier | |
| vis_viterbi | vit |
| viterbi class to compute best path | |
The class bioner implements an AdaBoost-Based NE recognizer.
| bioner::bioner | ( | const std::wstring & | nerFile | ) |
Constructor.
Perform named entity recognition using AdaBoost.
Create a named entity recognition module, loading appropriate files.
References util::absolute(), classif, ERROR_CRASH, extractor, nerc_features::functions, util::open_utf8_file(), and TRACE.
| bioner::~bioner | ( | ) |
| void bioner::analyze | ( | sentence & | se | ) | [virtual] |
Recognize NEs in given sentence.
Reimplemented from automat.
References example::add_feature(), ner_module::BuildMultiword(), classif, classifier::classify(), fex::encode_int(), extractor, vis_viterbi::find_best_path(), classifier::get_label(), classifier::get_nlabels(), util::int2wstring(), sentence::rebuild_word_index(), TRACE, TRACE_SENTENCE, and vit.
Referenced by analyze().
| void bioner::analyze | ( | std::list< sentence > & | ) |
Recognize NEs in given sentences.
Reimplemented from automat.
| sentence bioner::analyze | ( | const sentence & | s | ) |
| std::list<sentence> bioner::analyze | ( | const std::list< sentence > & | ) |
Recognize NEs in given sentence.
Reimplemented from automat.
| void bioner::SetMultiwordAnalysis | ( | sentence::iterator | ) | const |
classifier* bioner::classif [private] |
fex* bioner::extractor [private] |
vis_viterbi bioner::vit [private] |
viterbi class to compute best path
Referenced by analyze().
1.7.6.1