Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
|
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 |
Extracts n-gram features from an arbitrary vector of string tokens.
Definition at line 56 of file ngram-feature-extractor.H.
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.