diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2014-06-04 20:15:54 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2014-06-04 20:15:54 +0400 |
commit | c5aac0676eb2aaa4877c4b5ddc021667d085bb0e (patch) | |
tree | e78da9325ce60e1d375511f140610a14eb271e23 /moses/PP | |
parent | 4a3ac7411dbb9478d124732e85538393a68fa40d (diff) |
don't output SpanLength property if no non-terms
Diffstat (limited to 'moses/PP')
-rw-r--r-- | moses/PP/SpanLengthPhraseProperty.h | 18 |
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 + |