diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-02-05 22:55:01 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-02-05 22:55:01 +0400 |
commit | f628f6d92fa199a1a67f15a9a4125952385778b8 (patch) | |
tree | 64281bd58c5108babb6222530c0798fd5e13b914 /contrib/other-builds/manual-label | |
parent | 75c727a518657aac40a357e72618423d24703433 (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.cpp | 2 |
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); |