Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
|
The default candidate set scorer scores each candidate using the Model::ScoreCandidate method and then sets the index of the best-scoring candidate based on the results of having applied the Model::score_comparator and sets the index of the gold candidate based on the results of having applied the Model::gold_comparator. More...
#include <model.H>
Public Member Functions | |
virtual void | Score (Model *model, CandidateSet &candidates, bool training) |
Public Member Functions inherited from reranker::FactoryConstructible | |
virtual | ~FactoryConstructible () |
virtual void | RegisterInitializers (Initializers &initializers) |
virtual void | Init (const Environment *env, const string &arg) |
The default candidate set scorer scores each candidate using the Model::ScoreCandidate method and then sets the index of the best-scoring candidate based on the results of having applied the Model::score_comparator and sets the index of the gold candidate based on the results of having applied the Model::gold_comparator.
|
virtual |
Implements reranker::CandidateSet::Scorer.