diff options
-rw-r--r-- | phrase-extract/extract-main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phrase-extract/extract-main.cpp b/phrase-extract/extract-main.cpp index 874a4bad0..0b21eb19a 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; } |