diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2010-12-15 00:26:55 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2010-12-15 00:26:55 -0500 |
commit | f2814314a1245fa0da3cba248cbe59b7f7cd87a8 (patch) | |
tree | 3eec12f65b780f4246b9527fd880429e2418cf05 /decoder/cdec_ff.cc | |
parent | fb38d57a76ec3e39de13f1fe2b4fd4abb7a5457c (diff) |
feature to detect self-transition before/after identity translations
Diffstat (limited to 'decoder/cdec_ff.cc')
-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 e87ab5ab..729d1214 100644 --- a/decoder/cdec_ff.cc +++ b/decoder/cdec_ff.cc @@ -60,6 +60,7 @@ void register_feature_functions() { ff_registry.Register("Tagger_BigramIdentity", new FFFactory<Tagger_BigramIdentity>); ff_registry.Register("LexicalPairIdentity", new FFFactory<LexicalPairIdentity>); ff_registry.Register("OutputIdentity", new FFFactory<OutputIdentity>); + ff_registry.Register("IdentityCycleDetector", new FFFactory<IdentityCycleDetector>); ff_registry.Register("InputIdentity", new FFFactory<InputIdentity>); ff_registry.Register("LexicalTranslationTrigger", new FFFactory<LexicalTranslationTrigger>); ff_registry.Register("WordPairFeatures", new FFFactory<WordPairFeatures>); |