wordchoice: Get word counts and distributions

[ bsd3, library, program, web ] [ Propose Tags ]

A command line tool to compute the word distribution from various types of document, converting to text with pandoc.

[Skip to Readme]
Versions [faq],,,,,,,,,,,,,,,
Dependencies base (>=4.8 && <5), binary, bytestring, Chart, Chart-diagrams, composition-prelude, containers, directory, Glob, lens, optparse-applicative, pandoc (>=2.0), system-filepath, text, transformers, wordchoice [details]
License BSD-3-Clause
Copyright 2017,2018 Vanessa McHale
Author Vanessa McHale
Maintainer vamchale@gmail.com
Category Web
Source repo head: git clone https://hub.darcs.net/vmchale/wordchoice
Uploaded by vmchale at Sun May 13 14:43:02 UTC 2018
Distributions NixOS:
Executables wrd
Downloads 4279 total (394 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-05-13 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for wordchoice-

[back to package description]

Wordchoice Command-Line Tool

Build Status


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


Binary Release