Skip to content

Krendelev/5_lang_frequency

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Frequency Analysis of Words

Program to count the occurrences of each word in a given text.

Getting Started

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 that

Project Goals

The code is written for educational purposes. Training course for web-developers - DEVMAN.org

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%