|
FreeLing
4.0
|
The basic class relaxcor_modelDT implements the mention-pair model based on constraints derived from DTs. More...
#include <relaxcor_modelDT.h>


Classes | |
| class | constraint |
Public Member Functions | |
| relaxcor_modelDT (const std::wstring &fmodel) | |
| ~relaxcor_modelDT () | |
| double | weight (const Tfeatures &) const |
| DEPRECATED relaxcor_modelDT(const std::wstring &fmodel, int Balance, bool training=false); DEPRECATED void load_constraints(const std::wstring &fmodel, int Balance, bool wipe=true);. | |
| void | print () const |
Private Attributes | |
| std::vector < relaxcor_modelDT::constraint > | _Constraints |
| set of constraints from the DT model | |
The basic class relaxcor_modelDT implements the mention-pair model based on constraints derived from DTs.
| freeling::relaxcor_modelDT::relaxcor_modelDT | ( | const std::wstring & | fmodel | ) |
| void freeling::relaxcor_modelDT::print | ( | ) | const [virtual] |
Implements freeling::relaxcor_model.
| double freeling::relaxcor_modelDT::weight | ( | const Tfeatures & | ) | const [virtual] |
DEPRECATED relaxcor_modelDT(const std::wstring &fmodel, int Balance, bool training=false); DEPRECATED void load_constraints(const std::wstring &fmodel, int Balance, bool wipe=true);.
returns the weight measuring the coreference degree of a mention-pair (positive or negative weight) by taking into account the constraints from the DT model Each mention-pair is given as the set of its features
Implements freeling::relaxcor_model.
std::vector< relaxcor_modelDT::constraint > freeling::relaxcor_modelDT::_Constraints [private] |
set of constraints from the DT model
1.7.6.1