mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 13:23:25 +03:00
minor error with placeholder
This commit is contained in:
parent
f65786534a
commit
7d3de78500
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user