[Tutor] Extracting words.. [sort | uniq]

Nicole Seitz nicole.seitz@urz.uni-hd.de
Mon, 25 Mar 2002 11:26:29 +0100


Am Sonntag, 24. M=E4rz 2002 22:48 schrieb Danny Yoo:

> For people who are interested: here's a similar problem: "Given a text
> file and an integer K, you are to print the K most common words in the
> file (and the number of their occurences) in decreasing frequency."
>
> It's a fun problem to work on, and useful when one is writing an essay =
and
> wants to avoid overusing words.  *grin*

Sounds interesting, but complicated as well. I guess I give it a try anyw=
ay.

Nicole