summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-06-18 12:44:57 +0200
committerPatrick Simianer <p@simianer.de>2014-06-18 12:44:57 +0200
commitdce92ce8e0c5dbc12ff5a948af8ca129315b6eac (patch)
treeac5527284552b152847704a321b432dc0d9b0e14
parent7017e2111ffb1dc7ea36e52ab24c7fe9752c365e (diff)
fix
-rwxr-xr-xtf-idf2
1 files changed, 1 insertions, 1 deletions
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