diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2014-06-04 19:52:57 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2014-06-04 19:52:57 +0400 |
commit | 4a3ac7411dbb9478d124732e85538393a68fa40d (patch) | |
tree | 907255c499cc99c6f1180dadd52f22effcb1107d /moses/PP | |
parent | 742d342fbb9943cebb6d614e62f9afa024d1a9fe (diff) |
span length
Diffstat (limited to 'moses/PP')
-rw-r--r-- | moses/PP/Factory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/moses/PP/Factory.cpp b/moses/PP/Factory.cpp index 61e96a7f2..628ce76ad 100644 --- a/moses/PP/Factory.cpp +++ b/moses/PP/Factory.cpp @@ -5,6 +5,7 @@ #include <vector> #include "moses/PP/TreeStructurePhraseProperty.h" +#include "moses/PP/SpanLengthPhraseProperty.h" namespace Moses { @@ -51,6 +52,7 @@ PhrasePropertyFactory::PhrasePropertyFactory() #define MOSES_PNAME2(name, type) Add(name, new DefaultPhrasePropertyCreator< type >()); MOSES_PNAME2("Tree",TreeStructurePhraseProperty); + MOSES_PNAME2("SpanLength", SpanLengthPhraseProperty); } |