summaryrefslogtreecommitdiff
path: root/train-test-split
diff options
context:
space:
mode:
authorPatrick Simianer <pks@pks.rocks>2019-08-05 11:28:24 +0200
committerPatrick Simianer <pks@pks.rocks>2019-08-05 11:28:24 +0200
commitbd84f0f2f1eb693ebdf56b92e2aae67cd785d7ce (patch)
treecb01f3d9f7b5726f3bde5bd46fdc623bc5913bd1 /train-test-split
parent43aa6586f5807aeb99d8e08f996707d92e18774e (diff)
trollop -> optimist
Diffstat (limited to 'train-test-split')
-rwxr-xr-xtrain-test-split4
1 files changed, 2 insertions, 2 deletions
diff --git a/train-test-split b/train-test-split
index cf52455..aa55534 100755
--- a/train-test-split
+++ b/train-test-split
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
require 'zipf'
-require 'trollop'
+require 'optimist'
-conf = Trollop::options do
+conf = Optimist::options do
opt :foreign, "foreign file", :type => :string, :required => true
opt :english, "english file", :type => :string, :required => true
opt :size, "one size", :type => :int, :required => true