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 ()
 Constructor.
 coref (const std::string &, const int)
void analyze (document &) const
 Classify SN's in given sentence in groups of coreference.

Private Member Functions

bool check_coref (const SAMPLE &sa1, const SAMPLE &sa2) const
void set_sample (parse_tree::iterator pt, SAMPLE &sample) const
void add_candidates (int sent, int &word, parse_tree::iterator pt, list< SAMPLE > &candidates) const

Private Attributes

coref_fexextractor
 feature extractor
adaboost * classifier
 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 (  ) 

Constructor.

coref::coref ( const std::string &  ,
const   int 
)

Member Function Documentation

void coref::add_candidates ( int  sent,
int &  word,
parse_tree::iterator  pt,
list< SAMPLE > &  candidates 
) const [private]
void coref::analyze ( document &   )  const

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

bool coref::check_coref ( const SAMPLE sa1,
const SAMPLE sa2 
) const [private]
void coref::set_sample ( parse_tree::iterator  pt,
SAMPLE sample 
) const [private]

Member Data Documentation

adaboost* coref::classifier [private]

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:
Generated on Tue Jul 27 16:29:31 2010 for FreeLing by  doxygen 1.6.3