diff options
author | phikoehn <pkoehn@inf.ed.ac.uk> | 2013-08-15 14:46:45 +0400 |
---|---|---|
committer | phikoehn <pkoehn@inf.ed.ac.uk> | 2013-08-15 14:46:45 +0400 |
commit | b368085609b1d638de571e963295117003defc91 (patch) | |
tree | 21777725deebf9a7e7d54e0eccc4af89078843cf /moses/TranslationOptionCollectionText.h | |
parent | abfe02f1541bd3f2323e53f2a46875cc78eabc2b (diff) |
xml constraint
Diffstat (limited to 'moses/TranslationOptionCollectionText.h')
-rw-r--r-- | moses/TranslationOptionCollectionText.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/TranslationOptionCollectionText.h b/moses/TranslationOptionCollectionText.h index 6f5f46424..6ba5598ef 100644 --- a/moses/TranslationOptionCollectionText.h +++ b/moses/TranslationOptionCollectionText.h @@ -51,7 +51,7 @@ public: TranslationOptionCollectionText(Sentence const& input, size_t maxNoTransOptPerCoverage, float translationOptionThreshold); bool HasXmlOptionsOverlappingRange(size_t startPosition, size_t endPosition) const; - + bool ViolatesXmlOptionsConstraint(size_t startPosition, size_t endPosition, TranslationOption *transOpt) const; void CreateXmlOptionsForRange(size_t startPosition, size_t endPosition); void CreateTranslationOptions(); |