FreeLing
3.1
|
The class coref implements a ML-based coreference classificator. More...
#include <coref.h>
Public Member Functions | |
coref (const std::wstring &) | |
Constructor. | |
~coref () | |
Destructor. | |
void | analyze (document &) const |
Classify SN's in given sentence in groups of coreference. | |
Private Member Functions | |
bool | check_coref (const mention &s, const mention &) const |
void | set_mention (parse_tree::iterator, int &, mention &) const |
void | add_candidates (int, int &, int &, parse_tree::iterator, std::list< mention > &) const |
Private Attributes | |
coref_fex * | extractor |
feature extractor | |
adaboost * | classifier |
adaboost classifier | |
int | MaxDistance |
Max distance to search for a coreference node. |
The class coref implements a ML-based coreference classificator.
freeling::coref::coref | ( | const std::wstring & | ) |
Constructor.
Destructor.
void freeling::coref::add_candidates | ( | int | , |
int & | , | ||
int & | , | ||
parse_tree::iterator | , | ||
std::list< mention > & | |||
) | const [private] |
void freeling::coref::analyze | ( | document & | ) | const |
Classify SN's in given sentence in groups of coreference.
bool freeling::coref::check_coref | ( | const mention & | s, |
const mention & | |||
) | const [private] |
void freeling::coref::set_mention | ( | parse_tree::iterator | , |
int & | , | ||
mention & | |||
) | const [private] |
adaboost* freeling::coref::classifier [private] |
adaboost classifier
coref_fex* freeling::coref::extractor [private] |
feature extractor
int freeling::coref::MaxDistance [private] |
Max distance to search for a coreference node.