Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
|
Provides the reranker::FeatureExtractor interface. More...
#include <string>
#include <memory>
#include <unordered_map>
#include "feature-vector.H"
#include "candidate.H"
#include "candidate-set.H"
#include "factory.H"
Go to the source code of this file.
Classes | |
class | reranker::FeatureExtractor |
An abstract base class/interface for all feature extractors. More... | |
Namespaces | |
reranker | |
Provides reranking models for discriminative modeling, with some special handling for discriminative language models. | |
Macros | |
#define | REGISTER_NAMED_FEATURE_EXTRACTOR(TYPE, NAME) REGISTER_NAMED(TYPE,NAME,FeatureExtractor) |
Registers the FeatureExtractor with the specified subtype TYPE and NAME with the FeatureExtractor Factory. More... | |
#define | REGISTER_FEATURE_EXTRACTOR(TYPE) REGISTER_NAMED_FEATURE_EXTRACTOR(TYPE,TYPE) |
Registers the FeatureExtractor with the specified subtype TYPE with the FeatureExtractor Factory. More... | |
Functions | |
void | reranker::TearDown () |
A free-floating function (within the reranker namespace) that frees statically allocated objects. More... | |
Provides the reranker::FeatureExtractor interface.
Definition in file feature-extractor.H.
#define REGISTER_FEATURE_EXTRACTOR | ( | TYPE | ) | REGISTER_NAMED_FEATURE_EXTRACTOR(TYPE,TYPE) |
Registers the FeatureExtractor with the specified subtype TYPE
with the FeatureExtractor Factory.
Definition at line 161 of file feature-extractor.H.
#define REGISTER_NAMED_FEATURE_EXTRACTOR | ( | TYPE, | |
NAME | |||
) | REGISTER_NAMED(TYPE,NAME,FeatureExtractor) |
Registers the FeatureExtractor with the specified subtype TYPE
and NAME
with the FeatureExtractor Factory.
Definition at line 154 of file feature-extractor.H.