Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/moses/PP
diff options
context:
space:
mode:
authorHieu Hoang <hieu@hoang.co.uk>2014-06-04 19:52:57 +0400
committerHieu Hoang <hieu@hoang.co.uk>2014-06-04 19:52:57 +0400
commit4a3ac7411dbb9478d124732e85538393a68fa40d (patch)
tree907255c499cc99c6f1180dadd52f22effcb1107d /moses/PP
parent742d342fbb9943cebb6d614e62f9afa024d1a9fe (diff)
span length
Diffstat (limited to 'moses/PP')
-rw-r--r--moses/PP/Factory.cpp2
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);
}