diff options
author | Patrick Simianer <p@simianer.de> | 2014-02-14 20:05:36 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-02-14 20:05:36 +0100 |
commit | bc8c6fac34b61ed71fddb0af299090bea56665b7 (patch) | |
tree | 5c90b97fab726b090d5d28d0865e451e9300581c | |
parent | bb57cda77b3e263fd30dab17c4bd42f1dfadd856 (diff) |
use symbol
-rw-r--r-- | lib/nlp_ruby/Translation.rb | 2 |
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 |