diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2011-06-01 01:32:48 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2011-06-01 01:32:48 -0400 |
commit | 31ba8b9a4e7a1275bae8c90f4885c9873e277570 (patch) | |
tree | fb22521f2a3d7754f9f9125d95e4adea17761fea /decoder | |
parent | 9406dbc81fc1009fc3ab46191f535ec3d5a19d87 (diff) |
register feature
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/cdec_ff.cc | 1 |
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> >()); |