diff options
-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 |