From dce92ce8e0c5dbc12ff5a948af8ca129315b6eac Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Wed, 18 Jun 2014 12:44:57 +0200 Subject: fix --- tf-idf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tf-idf') diff --git a/tf-idf b/tf-idf index fc12d30..fc6c2ec 100755 --- a/tf-idf +++ b/tf-idf @@ -6,7 +6,7 @@ require 'trollop' def main cfg = Trollop::options do - opt :documents, "input files (documents)", :type => :strings, :required => true + opt :documents, "input files (documents)", :type => :string, :required => true opt :filter_stopwords, "filter stopwords (give file)", :type => :string, :default => nil opt :one_item_per_line, "one item per line (allow multi-word items)", :type => :bool, :default => false opt :ntf, "length-normalize tf values", :type => :bool -- cgit v1.2.3