summaryrefslogtreecommitdiff
path: root/mkidx
diff options
context:
space:
mode:
authorPatrick Simianer <patrick@lilt.com>2019-12-24 09:43:56 +0000
committerPatrick Simianer <patrick@lilt.com>2019-12-24 09:43:56 +0000
commitb76bedcec1750586b88536203090c22d97dd64e7 (patch)
tree93c27d0dbd0f45f68692869d67d6059b2453cafc /mkidx
parenta4c4b61203c22c1aea71800466d157d79013070e (diff)
parentd6ad8327a873043ba01aeb226dabd3a8716f82ae (diff)
Merge branch 'master' of ssh://github.com/pks/nlp_scripts
Diffstat (limited to 'mkidx')
-rwxr-xr-xmkidx10
1 files changed, 10 insertions, 0 deletions
diff --git a/mkidx b/mkidx
new file mode 100755
index 0000000..046e131
--- /dev/null
+++ b/mkidx
@@ -0,0 +1,10 @@
+#!/usr/bin/env ruby
+
+require 'zipf'
+
+i = ARGV[0].to_i
+while line = STDIN.gets
+ puts i
+ i += 1
+end
+