@hackage wordchoice0.1.0.0

Get word counts and distributions

  • Installation

  • Dependencies (0)

  • Dependents (0)

Wordchoice Command-Line Tool

Build Status

Usage

The following will print the 10 most used words and output a bar graph showing the distribution of those 10 words.

 $ wordchoice test/ulysses.txt -n10 -o distribution.html
 13609: the
 8134: of
 6550: and
 5841: a
 4788: to
 4619: in
 3034: his
 2712: he
 2431: I
 2391: with

Installation

Manual

Download the binaries from the release page for 64-bit Linux, ARM Linux, and 64-bit Windows.

Nix

Install nix, then type:

nix-env -i

to download the package for Mac or Linux.

Stack

Install stack, following instructions here. Then:

 $ stack install wordchoice

You might need to do a stack setup first.

Build

To build this repo, simply type:

 $ stack install

or

 $ cabal new-build

in the wordchoice/ directory.