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.
- Inspired by and derived from https://hpc-carpentry.github.io/hpc-python/ which is distributed under Creative Commons Attribution license (CC-BY 4.0).
- Documentation: https://word-count.readthedocs.io
We use this example in two CodeRefinery lessons: