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

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...
 

Detailed Description

Provides the reranker::FeatureExtractor interface.

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

Definition in file feature-extractor.H.

Macro Definition Documentation

#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.