Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
|
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) |
Provides the reranker::Candidate class for representing a candidate hypothesis from an initial model.
Definition in file candidate.H.
#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.