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 20:15:54 +0400
committerHieu Hoang <hieu@hoang.co.uk>2014-06-04 20:15:54 +0400
commitc5aac0676eb2aaa4877c4b5ddc021667d085bb0e (patch)
treee78da9325ce60e1d375511f140610a14eb271e23 /moses/PP
parent4a3ac7411dbb9478d124732e85538393a68fa40d (diff)
don't output SpanLength property if no non-terms
Diffstat (limited to 'moses/PP')
-rw-r--r--moses/PP/SpanLengthPhraseProperty.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/moses/PP/SpanLengthPhraseProperty.h b/moses/PP/SpanLengthPhraseProperty.h
new file mode 100644
index 000000000..e25d70515
--- /dev/null
+++ b/moses/PP/SpanLengthPhraseProperty.h
@@ -0,0 +1,18 @@
+
+#pragma once
+
+#include "moses/PP/PhraseProperty.h"
+#include <string>
+
+namespace Moses
+{
+
+class SpanLengthPhraseProperty : public PhraseProperty
+{
+public:
+ SpanLengthPhraseProperty(const std::string &value) : PhraseProperty(value) {};
+
+};
+
+} // namespace Moses
+