Skip to content

davidthewatson/word_count_histogram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

word_count_histogram

A simple, visual, terminal-based word count histogram in idiomatic Python

Takes a string of words as input and returns a word frequency histogram and total.

Example

[watson@watson-thinkpad word_count_histogram (master)]$ python word_count_histogram.py
Enter text:ardvark bird bird cow cow cow dog dog dog dog
ardvark 1 *
bird    2 **
cow     3 ***
dog     4 ****
TOTAL   10 words

David Watson

About

A simple visual word count histogram in ten lines of python code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages