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

require 'zipf'

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