From bc8c6fac34b61ed71fddb0af299090bea56665b7 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 14 Feb 2014 20:05:36 +0100 Subject: use symbol --- lib/nlp_ruby/Translation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/nlp_ruby/Translation.rb b/lib/nlp_ruby/Translation.rb index 34effe0..05cb1a8 100644 --- a/lib/nlp_ruby/Translation.rb +++ b/lib/nlp_ruby/Translation.rb @@ -34,7 +34,7 @@ class Translation def to_s include_features=true [@id, @s, @f.to_kv('=', ' '), @scores['decoder']].join(' ||| ') if include_features - [@id, @s, @scores['decoder']].join(' ||| ') if !include_features + [@id, @s, @scores[:decoder]].join(' ||| ') if !include_features end def to_s2 -- cgit v1.2.3