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
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2014-02-05 22:55:01 +0400
committerHieu Hoang <hieuhoang@gmail.com>2014-02-05 22:55:01 +0400
commitf628f6d92fa199a1a67f15a9a4125952385778b8 (patch)
tree64281bd58c5108babb6222530c0798fd5e13b914 /contrib/other-builds/manual-label
parent75c727a518657aac40a357e72618423d24703433 (diff)
label the intervening span, don't include the phrasal verbs itself
Diffstat (limited to 'contrib/other-builds/manual-label')
-rw-r--r--contrib/other-builds/manual-label/EnPhrasalVerb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/other-builds/manual-label/EnPhrasalVerb.cpp b/contrib/other-builds/manual-label/EnPhrasalVerb.cpp
index 3a66beb67..81f9eec21 100644
--- a/contrib/other-builds/manual-label/EnPhrasalVerb.cpp
+++ b/contrib/other-builds/manual-label/EnPhrasalVerb.cpp
@@ -148,7 +148,7 @@ void EnPhrasalVerb(const Phrase &source, ostream &out)
}
// found range to label
- if (end == std::numeric_limits<size_t>::max() &&
+ if (end != std::numeric_limits<size_t>::max() &&
end > start + 1) {
Range range(start + 1, end - 1);
ranges.push_back(range);