Word frequency count FIXED by recursive

a=''.join(x for x in open('/dev/fd/0').read().lower()if"`"<x<"{"or'!'>x).split()
for i in sorted(set(a)):print a.count(i),i

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page