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 | Macros
candidate-set.H File Reference

Class to hold a single training instance for a reranker, which is a set of examples, typically the n-best output of some input process, posibly including a gold-standard feature vector. More...

#include <iostream>
#include <string>
#include <memory>
#include <vector>
#include "candidate.H"
#include "factory.H"

Go to the source code of this file.

Classes

class  reranker::CandidateSet
 A class to hold a set of candidates, either for training or test. More...
 
class  reranker::CandidateSet::Scorer
 An inner interface for a model to score a CandidateSet. More...
 

Namespaces

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

Macros

#define REGISTER_NAMED_CANDIDATE_SET_SCORER(TYPE, NAME)   REGISTER_NAMED(TYPE,NAME,CandidateSet::Scorer)
 
#define REGISTER_CANDIDATE_SET_SCORER(TYPE)   REGISTER_NAMED_CANDIDATE_SET_SCORER(TYPE,TYPE)
 

Detailed Description

Class to hold a single training instance for a reranker, which is a set of examples, typically the n-best output of some input process, posibly including a gold-standard feature vector.

Author
dbike.nosp@m.l@go.nosp@m.ogle..nosp@m.com (Dan Bikel)

Definition in file candidate-set.H.

Macro Definition Documentation

#define REGISTER_CANDIDATE_SET_SCORER (   TYPE)    REGISTER_NAMED_CANDIDATE_SET_SCORER(TYPE,TYPE)

Definition at line 273 of file candidate-set.H.

#define REGISTER_NAMED_CANDIDATE_SET_SCORER (   TYPE,
  NAME 
)    REGISTER_NAMED(TYPE,NAME,CandidateSet::Scorer)

Definition at line 270 of file candidate-set.H.