From 400d0fa1d85775fc9747bf7fc92a1b671026a6cb Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Mon, 14 Dec 2015 12:41:05 +0100 Subject: hide DEBUG message --- phrase2_extraction/phrase2_extraction.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- cgit v1.2.3