FreeLing  4.0
Public Types | Public Member Functions | Static Private Member Functions | Private Attributes
freeling::relaxcor Class Reference

The class mention_detector implements a rule-based entity mention detector. More...

#include <relaxcor.h>

Inheritance diagram for freeling::relaxcor:
Inheritance graph
[legend]
Collaboration diagram for freeling::relaxcor:
Collaboration graph
[legend]

List of all members.

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_modelmodel
 model
mention_detectordetector
 mention detector
relaxcor_fexextractor
 mention-pair features extractor

Detailed Description

The class mention_detector implements a rule-based entity mention detector.


Member Typedef Documentation


Constructor & Destructor Documentation

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


Member Function Documentation

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.

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);


Member Data Documentation

double freeling::relaxcor::_Epsilon [private]

relax parameters

unsigned int freeling::relaxcor::_Nprune [private]

maximum number of edges per vertex

factor for singleton tendency

mention detector

mention-pair features extractor

model

singletons


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