summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xphrase2_extraction/phrase2_extraction.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/phrase2_extraction/phrase2_extraction.rb b/phrase2_extraction/phrase2_extraction.rb
index 8352c2a..90a14f3 100755
--- a/phrase2_extraction/phrase2_extraction.rb
+++ b/phrase2_extraction/phrase2_extraction.rb
@@ -564,7 +564,7 @@ end
def PhrasePhraseExtraction.remove_too_large_seed_phrases rules
return rules.reject { |r|
- STDERR.write "#{r}\n"
+ STDERR.write "#{r}\n" if DEBUG
src_len = r.len_src
tgt_len = r.len_tgt
src_len>PhrasePhraseExtraction::MAX_SEED_NUM_WORDS \