Skip to content

A simple library that generates an executable that can be used to create histogram of word counts.

Notifications You must be signed in to change notification settings

Akavall/WordCountHist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Word Count Hist

Allows user to create a histogram of word counts of all files and sub-directories, including zipped directories in a given directory path.

Set up:

git clone https://github.com/Akavall/WordCountHist

And you have to create an executable:

chmod +x word_count_hist.py

How to use:

./word_count_hist.py /your/directory/data/path

Counting only English words

./word_count_hist.py /your/directory/data/path english

Note that words list of nltk library to check if the words are English. Therefore you would have to install nltk library and then download the corpus with nltk.download().

Run tests:

In the folder that holds /utilites run:

nosetests

or

nosetests -v

About

A simple library that generates an executable that can be used to create histogram of word counts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages