minor error with placeholder

This commit is contained in:
Hieu Hoang 2013-10-04 19:29:16 +01:00
parent f65786534a
commit 7d3de78500

View File

@ -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;
}