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 <hieu@hoang.co.uk>2013-10-04 22:29:16 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-10-04 22:29:16 +0400
commit7d3de7850025c1b8da7791aa158bb4549f9ff96d (patch)
treeebc92e5219ba37a4cfe159e4100077eb2d1ac2d0 /phrase-extract/extract-main.cpp
parentf65786534a1ad19e76f9192d2811e4c2fc3c675d (diff)
minor error with placeholder
Diffstat (limited to 'phrase-extract/extract-main.cpp')
-rw-r--r--phrase-extract/extract-main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/phrase-extract/extract-main.cpp b/phrase-extract/extract-main.cpp
index 0b21eb19a..874a4bad0 100644
--- a/phrase-extract/extract-main.cpp
+++ b/phrase-extract/extract-main.cpp
@@ -715,7 +715,7 @@ void ExtractTask::addPhrase( SentenceAlignment &sentence, int startE, int endE,
return;
}
- if (m_options.placeholders.size() && !checkPlaceholders(sentence, startE, endE, startF, endF)) {
+ if (m_options.placeholders.size() || !checkPlaceholders(sentence, startE, endE, startF, endF)) {
return;
}