summaryrefslogtreecommitdiff
path: root/bitext-filter-length
diff options
context:
space:
mode:
authorPatrick Simianer <pks@pks.rocks>2019-07-28 16:39:21 +0200
committerPatrick Simianer <pks@pks.rocks>2019-07-28 16:39:21 +0200
commit71278b098dcea1a5fb8520ab08b086cded0764fe (patch)
treea9383ace41f49f7fda084756a0890bd976a6abb0 /bitext-filter-length
parent1fd4762a41cf84d9b6ebe9ed4dcf83cde78f61d3 (diff)
trollop -> optimist
Diffstat (limited to 'bitext-filter-length')
-rwxr-xr-xbitext-filter-length4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitext-filter-length b/bitext-filter-length
index 9e65454..d1dc973 100755
--- a/bitext-filter-length
+++ b/bitext-filter-length
@@ -1,10 +1,10 @@
#!/usr/bin/env ruby
require 'zipf'
-require 'trollop'
+require 'optimist'
def main
- conf = Trollop::options do
+ conf = Optimist::options do
opt :inputs, "inputs, comma separated", :type => :string, :short => "-i", :required => true
opt :output_suffix, "output suffix", :type => :string, :default => ".out", :short => "-S"
opt :output_index, "output index", :type => :bool, :default => false, :short => "-J"