This script returns the list of 10 most frequent words in user`s text.
The script requires Python v3.5. A path of file containing a text is the positional argument of the script.
To run script on Linux:
$ python lang_frequency.py Edgar_Alan_Poe-Raven.txt
Most frequent words in descending order:
the, and, i, my, of, that, this, a, door, nevermore.
Windows usage is the same.
The code is written for educational purposes. Training course for web-developers - DEVMAN.org