summaryrefslogtreecommitdiff
path: root/ng
diff options
context:
space:
mode:
Diffstat (limited to 'ng')
-rwxr-xr-xng4
1 files changed, 2 insertions, 2 deletions
diff --git a/ng b/ng
index 7a3552f..f3a031d 100755
--- a/ng
+++ b/ng
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
require 'zipf'
-require 'trollop'
+require 'optimist'
-conf = Trollop::options do
+conf = Optimist::options do
banner "ng < <input>"
opt :n, "n for Ngrams", :type => :int, :default => 4
opt :fix, "Don't output lower order Ngrams.", :type => :bool, :default => false