diff options
author | Patrick Simianer <p@simianer.de> | 2015-05-29 09:17:43 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-05-29 09:17:43 +0200 |
commit | 181c0bd79b0e7db2891047305dc87d20ca04097b (patch) | |
tree | 186f5030cf6b269dbdd4f599c634c8df71d12a72 /add_ln | |
parent | af156ba147ed29c2e4b02bc24533e5286902a84a (diff) |
add_ln: add line numbers, filter_features: filter text reps of sparse vectors, split_*: split kbest lists and by line
Diffstat (limited to 'add_ln')
-rwxr-xr-x | add_ln | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +#!/usr/bin/env ruby + +i = 0 +while line = STDIN.gets + puts "#{i}\t#{line}" + i += 1 +end + |