From 71278b098dcea1a5fb8520ab08b086cded0764fe Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 28 Jul 2019 16:39:21 +0200 Subject: trollop -> optimist --- kbest-bleu-oracles | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kbest-bleu-oracles') 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 -- cgit v1.2.3