FreeLing  4.0
Public Member Functions | Private Member Functions | Private Attributes
freeling::coref Class Reference

The class coref implements a ML-based coreference classificator. More...

#include <coref.h>

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

List of all members.

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_ab &s, const mention_ab &) const
void set_mention (parse_tree::iterator, int &, mention_ab &) const
void add_candidates (int, int &, int &, parse_tree::iterator, std::list< mention_ab > &) const

Private Attributes

mention_detectordetector
 mention detector
coref_fexextractor
 feature extractor
adaboostclassifier
 adaboost classifier
int MaxDistance
 Max distance to search for a coreference node.

Detailed Description

The class coref implements a ML-based coreference classificator.


Constructor & Destructor Documentation

freeling::coref::coref ( const std::wstring &  )

Constructor.

Destructor.


Member Function Documentation

void freeling::coref::add_candidates ( int  ,
int ,
int ,
parse_tree::iterator  ,
std::list< mention_ab > &   
) const [private]
void freeling::coref::analyze ( document ) const [virtual]

Classify SN's in given sentence in groups of coreference.

Reimplemented from freeling::processor< document >.

bool freeling::coref::check_coref ( const mention_ab s,
const mention_ab  
) const [private]
void freeling::coref::set_mention ( parse_tree::iterator  ,
int ,
mention_ab  
) const [private]

Member Data Documentation

adaboost classifier

mention detector

feature extractor

Max distance to search for a coreference node.


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