From 81a637ae52d2a1d0bc751b44c193765cdc1091f1 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Sun, 16 Feb 2014 00:12:32 +0100 Subject: nlp_ruby 0.3 --- kbest_bleu_oracles | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kbest_bleu_oracles') diff --git a/kbest_bleu_oracles b/kbest_bleu_oracles index 1a41019..adc695e 100755 --- a/kbest_bleu_oracles +++ b/kbest_bleu_oracles @@ -23,7 +23,7 @@ def main debug = cfg[:debug] n = cfg[:n] kbest_lists = read_kbest_lists cfg[:kbest_lists] - references = ReadFile.new(cfg[:references]).readlines_strip + references = ReadFile.readlines_strip cfg[:references] context = get_context kbest_lists, references, n kbest_lists.each_with_index { |kbest,j| scores = [] -- cgit v1.2.3