Say I have a bunch of textfiles containing fiction, non-fiction, newspaper articles, &c (random examples of text in a given language.)
I want a frequency list of the given words, most common word first.
I could write some C code to do this, but if there's a faster way to do this, I'd like to know it. (When I say faster, I mean coding time, not run time.)
tr [:upper:] [:lower:]
into the pipe to considerThis
,this
,THIS
and evenThIs
to be the same word.