greynix / 5_lang_frequency

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frequency Analysis of Words

This script takes as an argument text file and show top-10 reps words.

Quickstart

Run the script with the file as an argument.

Example of script launch on Linux, Python 3.5:


$ python lang_frequency.py <path to file>

[('и', 10200), ('в', 5285), ('не', 4383), ('что', 3698), ('на', 3373), ('он', 3178), ('с', 3087), ('как', 2075), ('я', 1836), ('к', 1799)]

Project Goals

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

About


Languages

Language:Python 100.0%