summaryrefslogtreecommitdiff
path: root/phrase2_extraction
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-12-14 12:41:05 +0100
committerPatrick Simianer <p@simianer.de>2015-12-14 12:41:05 +0100
commit400d0fa1d85775fc9747bf7fc92a1b671026a6cb (patch)
treecab49058462064e6426274530d6b71b943750e89 /phrase2_extraction
parent8272c8ef961670f36c4307d01a6ead96f736eb9e (diff)
hide DEBUG message
Diffstat (limited to 'phrase2_extraction')
-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 \