diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-10-05 00:27:53 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-10-05 00:27:53 +0400 |
commit | 902741681a4979ef4f0d55ee265d1be3fe519ecc (patch) | |
tree | 19e7b38dc207604534bb8a70f23ab32551a26567 /phrase-extract | |
parent | 7d3de7850025c1b8da7791aa158bb4549f9ff96d (diff) |
reverse 7d3de7850025c1b8da7791aa158bb4549f9ff96d
Diffstat (limited to 'phrase-extract')
-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; } |