Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
|
Provides the reranker::PerceptronModel class implementation. More...
#include <iostream>
#include <vector>
#include <unordered_set>
#include "candidate-set.H"
#include "training-time.H"
#include "perceptron-model.H"
Go to the source code of this file.
Classes | |
class | reranker::PerceptronModelConstructor |
class | reranker::PerceptronModelDefaultUpdatePredicateConstructor |
class | reranker::PerceptronModelDefaultUpdaterConstructor |
Namespaces | |
reranker | |
Provides reranking models for discriminative modeling, with some special handling for discriminative language models. | |
Macros | |
#define | DEBUG 1 |
Variables | |
const Constructor< Model > * | reranker::PerceptronModel_my_protoype = Factory< Model >::Register(string("PerceptronModel"), new PerceptronModelConstructor()) |
const Constructor < Model::UpdatePredicate > * | reranker::PerceptronModelDefaultUpdatePredicate_my_protoype = Factory< Model::UpdatePredicate >::Register(string("PerceptronModelDefaultUpdatePredicate"), new PerceptronModelDefaultUpdatePredicateConstructor()) |
const Constructor < Model::Updater > * | reranker::PerceptronModelDefaultUpdater_my_protoype = Factory< Model::Updater >::Register(string("PerceptronModelDefaultUpdater"), new PerceptronModelDefaultUpdaterConstructor()) |
Provides the reranker::PerceptronModel class implementation.
Definition in file perceptron-model.C.
#define DEBUG 1 |
Definition at line 36 of file perceptron-model.C.