summaryrefslogtreecommitdiff
path: root/tc
blob: dd16fdf67c53c84513649382a3c29ed17b22b0c6 (plain)
1
2
3
4
5
6
7
#!/usr/bin/env ruby

require "zipf"

while line = STDIN.gets
  puts tokenize(line.strip).size
end