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]

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5, 0.1.1.0, 0.1.1.1, 0.1.2.0, 0.1.2.1, 0.1.2.2, 0.1.2.3, 0.1.2.4, 0.1.2.5, 0.1.2.6, 0.1.2.7, 0.1.2.8, 0.1.2.9
Dependencies base (>=4.8 && <5), binary, bytestring, Chart, Chart-diagrams, composition-prelude, containers, directory, Glob, lens, optparse-applicative, pandoc (>=2.0 && <2.10), system-filepath, text, transformers, wordchoice [details]
License BSD-3-Clause
Copyright 2017,2018 Vanessa McHale
Author Vanessa McHale
Maintainer vamchale@gmail.com
Revised Revision 1 made by vmchale at 2023-01-18T22:24:58Z
Category Web
Source repo head: git clone https://hub.darcs.net/vmchale/wordchoice
Uploaded by vmchale at 2018-05-13T14:43:02Z
Distributions NixOS:0.1.2.9
Executables wrd
Downloads 9286 total (50 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-05-13 [all 1 reports]

Readme for wordchoice-0.1.2.7

[back to package description]

Wordchoice Command-Line Tool

Build Status

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

Binary Release

Cabal