summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-02-14 20:05:36 +0100
committerPatrick Simianer <p@simianer.de>2014-02-14 20:05:36 +0100
commitbc8c6fac34b61ed71fddb0af299090bea56665b7 (patch)
tree5c90b97fab726b090d5d28d0865e451e9300581c
parentbb57cda77b3e263fd30dab17c4bd42f1dfadd856 (diff)
use symbol
-rw-r--r--lib/nlp_ruby/Translation.rb2
1 files changed, 1 insertions, 1 deletions
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