summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xalgorithms/log_reg_sgd.rb2
-rw-r--r--simple_decoder/README.md2
-rwxr-xr-xsimple_decoder/simple_decoder.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/algorithms/log_reg_sgd.rb b/algorithms/log_reg_sgd.rb
index 16a48e2..0e59eba 100755
--- a/algorithms/log_reg_sgd.rb
+++ b/algorithms/log_reg_sgd.rb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-require 'nlp_ruby'
+require 'zipf'
require 'trollop'
diff --git a/simple_decoder/README.md b/simple_decoder/README.md
index 9b400df..aa92dba 100644
--- a/simple_decoder/README.md
+++ b/simple_decoder/README.md
@@ -2,7 +2,7 @@ simple_decoder
==============
A very simple phrase-based machine translation decoder in ruby.
Uses a single stack and a single feature 'f2e'.
-Requires my nlp_ruby gem, see https://github.com/pks/nlp_ruby
+Requires my zipf gem, see https://github.com/pks/zipf
Usage
-----
diff --git a/simple_decoder/simple_decoder.rb b/simple_decoder/simple_decoder.rb
index fca4eb4..e5b97e8 100755
--- a/simple_decoder/simple_decoder.rb
+++ b/simple_decoder/simple_decoder.rb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-require 'nlp_ruby'
+require 'zipf'
require 'trollop'