FreeLing  3.0
Public Member Functions | Private Member Functions | Private Attributes
coref Class Reference

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

#include <coref.h>

Collaboration diagram for 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 &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_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

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

Constructor.

Destructor.


Member Function Documentation

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

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

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

Member Data Documentation

adaboost classifier

feature extractor

int coref::MaxDistance [private]

Max distance to search for a coreference node.


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