summaryrefslogtreecommitdiff
path: root/lib/nlp_ruby.rb
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-06-01 23:23:14 +0200
committerPatrick Simianer <p@simianer.de>2014-06-01 23:23:14 +0200
commit94fef2d3aac6d7380e92771c46cc0e4655afaea4 (patch)
tree8caf3e6b14b366ac8c420419eff611d71a297b86 /lib/nlp_ruby.rb
parentaba7c124e3402a39a8237a7ae0ec4bc15f4016ce (diff)
add grammar.rb, hg.rb: viterbi_path(), all_paths()
Diffstat (limited to 'lib/nlp_ruby.rb')
-rwxr-xr-xlib/nlp_ruby.rb3
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'