Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
reranker::DefaultCandidateSetScorer Class Reference

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>

Inheritance diagram for reranker::DefaultCandidateSetScorer:
reranker::CandidateSet::Scorer reranker::FactoryConstructible

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)
 

Detailed Description

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.

Definition at line 109 of file model.H.

Member Function Documentation

void reranker::DefaultCandidateSetScorer::Score ( Model model,
CandidateSet candidates,
bool  training 
)
virtual

Implements reranker::CandidateSet::Scorer.

Definition at line 61 of file model.C.


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