diff options
author | Patrick Simianer <p@simianer.de> | 2014-06-01 23:23:14 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-06-01 23:23:14 +0200 |
commit | 94fef2d3aac6d7380e92771c46cc0e4655afaea4 (patch) | |
tree | 8caf3e6b14b366ac8c420419eff611d71a297b86 /lib/nlp_ruby.rb | |
parent | aba7c124e3402a39a8237a7ae0ec4bc15f4016ce (diff) |
add grammar.rb, hg.rb: viterbi_path(), all_paths()
Diffstat (limited to 'lib/nlp_ruby.rb')
-rwxr-xr-x | lib/nlp_ruby.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/nlp_ruby.rb b/lib/nlp_ruby.rb index f57a302..0e26e97 100755 --- a/lib/nlp_ruby.rb +++ b/lib/nlp_ruby.rb @@ -10,8 +10,9 @@ require 'nlp_ruby/semirings' require 'nlp_ruby/bleu' require 'nlp_ruby/misc' require 'nlp_ruby/hg' +require 'nlp_ruby/grammar' -STDIN.set_encoding 'utf-8' +STDIN.set_encoding 'utf-8' STDOUT.set_encoding 'utf-8' STDERR.set_encoding 'utf-8' |