Description
Get word counts and distributions.
Description
A command line tool to compute the word distribution from various types of document, converting to text with pandoc.
README.md
Wordchoice Command-Line Tool
Usage
The following will print the 10 most used words.
$ wordchoice test/ulysses.txt -n10
13609: the
8134: of
6550: and
5841: a
4788: to
4619: in
3034: his
2712: he
2431: I
2391: with
To print the 10 most used words and write a bar graph:
$ wordchoice test/ulysses.txt -n10 -o distribution.html
Installation
Cabal
cabal new-install wordchoice