AndreyAD1 / 5_lang_frequency

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frequency Analysis of Words

This script returns the list of 10 most frequent words in user`s text.

Quickstart

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.

Project Goals

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

About


Languages

Language:Python 100.0%