/wc_for_doc

Primary LanguagePythonMIT LicenseMIT

Word count example

These programs will count words in a given text, plot a bar chart of the 10 most common words, and test Zipf's law on the two most common words.

We use this example in two CodeRefinery lessons: