summaryrefslogtreecommitdiff
path: root/rerank.rb
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-04-08 23:19:28 +0200
committerPatrick Simianer <p@simianer.de>2016-04-08 23:19:28 +0200
commit34d621606e58adeb35aa33f8503e105189a7c0d5 (patch)
tree18931029e5ceed1e2c2d77bfdf2b87a216633366 /rerank.rb
parent81f6b20d1c41d8906900c57ab71ec08a007ea02c (diff)
latest stuffHEADmaster
Diffstat (limited to 'rerank.rb')
-rwxr-xr-xrerank.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rerank.rb b/rerank.rb
index 095e20b..9f7233c 100755
--- a/rerank.rb
+++ b/rerank.rb
@@ -18,7 +18,7 @@ class KbestItem
end
end
-w = SparseVector.from_kv ReadFile.new(ARGV[0]).read, "\t", "\n"
+w = SparseVector.from_kv ReadFile.new(ARGV[0]).read, /\s/, "\n"
def o kl
scores = []