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:24:26 +0400
committerHieu Hoang <hieuhoang@gmail.com>2014-02-05 22:24:26 +0400
commit75c727a518657aac40a357e72618423d24703433 (patch)
treeea0378393ee820f9db15243c4e2f9503f6a31f4a /contrib/other-builds/manual-label
parent76e07fc774d5b942fde1a6e9509a94f20cfcc153 (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 6454628df..3a66beb67 100644
--- a/contrib/other-builds/manual-label/EnPhrasalVerb.cpp
+++ b/contrib/other-builds/manual-label/EnPhrasalVerb.cpp
@@ -150,7 +150,7 @@ void EnPhrasalVerb(const Phrase &source, ostream &out)
// found range to label
if (end == std::numeric_limits<size_t>::max() &&
end > start + 1) {
- Range range(start, end);
+ Range range(start + 1, end - 1);
ranges.push_back(range);
}
}