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

Provides the reranker::Candidate class for representing a candidate hypothesis from an initial model. More...

#include <iostream>
#include <string>
#include <sstream>
#include "../proto/data.pb.h"
#include "factory.H"
#include "feature-vector.H"
#include "symbol-table.H"

Go to the source code of this file.

Classes

class  reranker::Candidate
 A class to represent a candidate in a set of candidates that constitutes a training instance for a reranker. More...
 
class  reranker::Candidate::Comparator
 An inner interface specifying comparison between two Candidate instances. More...
 

Namespaces

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

Macros

#define REGISTER_NAMED_CANDIDATE_COMPARATOR(TYPE, NAME)   REGISTER_NAMED(TYPE,NAME,Candidate::Comparator)
 
#define REGISTER_CANDIDATE_COMPARATOR(TYPE)   REGISTER_NAMED_CANDIDATE_COMPARATOR(TYPE,TYPE)
 

Detailed Description

Provides the reranker::Candidate class for representing a candidate hypothesis from an initial model.

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

Definition in file candidate.H.

Macro Definition Documentation

#define REGISTER_CANDIDATE_COMPARATOR (   TYPE)    REGISTER_NAMED_CANDIDATE_COMPARATOR(TYPE,TYPE)

Definition at line 284 of file candidate.H.

#define REGISTER_NAMED_CANDIDATE_COMPARATOR (   TYPE,
  NAME 
)    REGISTER_NAMED(TYPE,NAME,Candidate::Comparator)

Definition at line 281 of file candidate.H.