Program to count the occurrences of each word in a given text.
Program takes plaintext file in UTF-8 encoding and returns list of 10 words with the most occurrences in that text along with their counts.
$ python lang_frequency.py some_text.txt
3736 the
2978 and
1812 a
1708 to
1455 of
1174 he
1162 was
1017 it
935 in
860 thatThe code is written for educational purposes. Training course for web-developers - DEVMAN.org