summaryrefslogtreecommitdiff
path: root/decoder
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-06-01 01:32:48 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2011-06-01 01:32:48 -0400
commitb8a94025353c844ba1af8049f02749d13f56e015 (patch)
tree86eec3d34bf9ae0b49901c7fbf907bd14414efce /decoder
parent2872eae2f95fb702c3f0a4a11eb7a70efb246dd9 (diff)
register feature
Diffstat (limited to 'decoder')
-rw-r--r--decoder/cdec_ff.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/cdec_ff.cc b/decoder/cdec_ff.cc
index 64a2bd94..37aa655b 100644
--- a/decoder/cdec_ff.cc
+++ b/decoder/cdec_ff.cc
@@ -51,6 +51,7 @@ void register_feature_functions() {
ff_registry.Register("RandLM", new FFFactory<LanguageModelRandLM>);
#endif
ff_registry.Register("SpanFeatures", new FFFactory<SpanFeatures>());
+ ff_registry.Register("RuleNgramFeatures", new FFFactory<RuleNgramFeatures>());
ff_registry.Register("CMR2008ReorderingFeatures", new FFFactory<CMR2008ReorderingFeatures>());
ff_registry.Register("KLanguageModel", new FFFactory<KLanguageModel<lm::ngram::ProbingModel> >());
ff_registry.Register("KLanguageModel_Trie", new FFFactory<KLanguageModel<lm::ngram::TrieModel> >());