summaryrefslogtreecommitdiff
path: root/rk.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rk.rb')
-rwxr-xr-xrk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rk.rb b/rk.rb
index ccbe90b..741a3e9 100755
--- a/rk.rb
+++ b/rk.rb
@@ -67,7 +67,7 @@ def rk references,
end
def main
- config = Trollop::options do
+ config = Optimist::options do
opt :input, "File with hypotheses, truecased and tokenized", :type => :string, :short => "-i", :default => '-'
opt :references, "File with references, truecased and tokenized", :type => :string, :short => "-r", :required => true
opt :stopwords, "File with stopwords, one per line", :type => :string, :short => "-s", :required => true