Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
reranker::NgramExtractor Class Reference

Extracts n-gram features from an arbitrary vector of string tokens. More...

#include <ngram-feature-extractor.H>

Public Member Functions

void Extract (const vector< string > &tokens, const int n, const string &prefix, FeatureVector< string, double > &symbolic_features) const
 

Detailed Description

Extracts n-gram features from an arbitrary vector of string tokens.

Definition at line 56 of file ngram-feature-extractor.H.

Member Function Documentation

void reranker::NgramExtractor::Extract ( const vector< string > &  tokens,
const int  n,
const string &  prefix,
FeatureVector< string, double > &  symbolic_features 
) const

Definition at line 45 of file ngram-feature-extractor.C.


The documentation for this class was generated from the following files: