summaryrefslogtreecommitdiff
path: root/rerank.rb
diff options
context:
space:
mode:
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 = []