FreeLing  3.0
Public Member Functions | Private Attributes
bioner Class Reference

The class bioner implements an AdaBoost-Based NE recognizer. More...

#include <bioner.h>

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

List of all members.

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< sentenceanalyze (const std::list< sentence > &)
 Recognize NEs in given sentence.
void SetMultiwordAnalysis (sentence::iterator) const

Private Attributes

fexextractor
 feature extractor
classifierclassif
 adaboost classifier
vis_viterbi vit
 viterbi class to compute best path

Detailed Description

The class bioner implements an AdaBoost-Based NE recognizer.


Constructor & Destructor Documentation

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.

Destructor.

Destructor: deletes created pointers.

References classif, and extractor.


Member Function Documentation

void bioner::analyze ( sentence se) [virtual]
void bioner::analyze ( std::list< sentence > &  )

Recognize NEs in given sentences.

Reimplemented from automat.

Recognize NEs in given sentence, return copy.

analyze given sentence.

Return copy

Reimplemented from automat.

References analyze().

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

Recognize NEs in given sentence.

Reimplemented from automat.

void bioner::SetMultiwordAnalysis ( sentence::iterator  ) const

Member Data Documentation

adaboost classifier

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

fex* bioner::extractor [private]

feature extractor

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

viterbi class to compute best path

Referenced by analyze().


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