Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Variables
model.C File Reference

Model and model factory implementation. More...

#include <cstdlib>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include "tokenizer.H"
#include "model.H"

Go to the source code of this file.

Classes

class  reranker::DefaultScoreComparatorConstructor
 
class  reranker::DefaultGoldComparatorConstructor
 
class  reranker::DefaultCandidateSetScorerConstructor
 
class  reranker::RandomPairCandidateSetScorerConstructor
 

Namespaces

 reranker
 Provides reranking models for discriminative modeling, with some special handling for discriminative language models.
 

Variables

const Constructor
< Candidate::Comparator > * 
reranker::DefaultScoreComparator_my_protoype = Factory< Candidate::Comparator >::Register(string("DefaultScoreComparator"), new DefaultScoreComparatorConstructor())
 
const Constructor
< Candidate::Comparator > * 
reranker::DefaultGoldComparator_my_protoype = Factory< Candidate::Comparator >::Register(string("DefaultGoldComparator"), new DefaultGoldComparatorConstructor())
 
const Constructor
< CandidateSet::Scorer > * 
reranker::DefaultCandidateSetScorer_my_protoype = Factory< CandidateSet::Scorer >::Register(string("DefaultCandidateSetScorer"), new DefaultCandidateSetScorerConstructor())
 
const Constructor
< CandidateSet::Scorer > * 
reranker::RandomPairCandidateSetScorer_my_protoype = Factory< CandidateSet::Scorer >::Register(string("RandomPairCandidateSetScorer"), new RandomPairCandidateSetScorerConstructor())
 

Detailed Description

Model and model factory implementation.

Most of the implementation in this file is related to factory creation and initialization of Model and Candidate::Comaprator instances. Author: dbike.nosp@m.l@go.nosp@m.ogle..nosp@m.com (Dan Bikel)

Definition in file model.C.