summaryrefslogtreecommitdiff
path: root/kbest-bleu-oracles
diff options
context:
space:
mode:
Diffstat (limited to 'kbest-bleu-oracles')
-rwxr-xr-xkbest-bleu-oracles4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbest-bleu-oracles b/kbest-bleu-oracles
index a36c345..ea76ab1 100755
--- a/kbest-bleu-oracles
+++ b/kbest-bleu-oracles
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
require 'zipf'
-require 'trollop'
+require 'optimist'
def get_context kbest_lists, references, n
a = []
@@ -12,7 +12,7 @@ def get_context kbest_lists, references, n
end
def main
- conf = Trollop::options do
+ conf = Optimist::options do
opt :kbest_lists, "kbest lists", :type => :string, :required => true
opt :references, "reference", :type => :string, :required => true
opt :n, "N for BLEU", :type => :int, :default => 4