FreeLing
4.0
|
The class mention_detector implements a rule-based entity mention detector. More...
#include <relaxcor.h>
Public Types | |
typedef relaxcor_modelDT | coref_model |
Public Member Functions | |
relaxcor (const std::wstring &fname) | |
Constructor. | |
~relaxcor () | |
Constructor for tuning stage. | |
void | set_provide_singletons (bool) |
bool | get_provide_singletons () const |
void | analyze (document &) const |
Finds the coreferent mentions in a document. | |
void | analyze (sentence &) const |
defined only because it is virtual in abstract class | |
Static Private Member Functions | |
static int | offset (const mention &, unsigned int) |
auxiliary for constructors DEPRECATED void load_config_file(const std::wstring &filename, bool tuning=false); | |
Private Attributes | |
int | _Max_iter |
relax parameters | |
double | _Scale_factor |
double | _Epsilon |
double | _Single_factor |
factor for singleton tendency | |
unsigned int | _Nprune |
maximum number of edges per vertex | |
bool | provide_singletons |
singletons | |
coref_model * | model |
model | |
mention_detector * | detector |
mention detector | |
relaxcor_fex * | extractor |
mention-pair features extractor |
The class mention_detector implements a rule-based entity mention detector.
freeling::relaxcor::relaxcor | ( | const std::wstring & | fname | ) |
Constructor.
Constructor for tuning stage.
DEPRECATED relaxcor(const std::wstring &fname, int Nprune, int Balance, const std::wstring &fconstr); Destructor
void freeling::relaxcor::analyze | ( | document & | ) | const [virtual] |
Finds the coreferent mentions in a document.
Reimplemented from freeling::processor.
void freeling::relaxcor::analyze | ( | sentence & | ) | const [virtual] |
defined only because it is virtual in abstract class
Implements freeling::processor.
bool freeling::relaxcor::get_provide_singletons | ( | ) | const |
static int freeling::relaxcor::offset | ( | const mention & | , |
unsigned | int | ||
) | [static, private] |
auxiliary for constructors DEPRECATED void load_config_file(const std::wstring &filename, bool tuning=false);
void freeling::relaxcor::set_provide_singletons | ( | bool | ) |
double freeling::relaxcor::_Epsilon [private] |
int freeling::relaxcor::_Max_iter [private] |
relax parameters
unsigned int freeling::relaxcor::_Nprune [private] |
maximum number of edges per vertex
double freeling::relaxcor::_Scale_factor [private] |
double freeling::relaxcor::_Single_factor [private] |
factor for singleton tendency
mention_detector* freeling::relaxcor::detector [private] |
mention detector
relaxcor_fex* freeling::relaxcor::extractor [private] |
mention-pair features extractor
coref_model* freeling::relaxcor::model [private] |
model
bool freeling::relaxcor::provide_singletons [private] |
singletons