korjani / 10MostFrequentWords

most frequent words

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Program that reads in a text file and prints out the 10 most frequent words from that file together with their counts.

A word is defined as a space-separated token.

If several words have the same frequency, they are considered to occupy a single “slot” from 1 to 10; and the program print them all out.

The program take as input argument a file, and print to STDOUT the list of words and their counts.

About

most frequent words


Languages

Language:Python 95.7%Language:Shell 4.3%