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]

Flags

Automatic Flags
NameDescriptionDefault
llvm-fast

Enable build with llvm backend

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

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.9.1.0 && <4.10), bytestring (>=0.10.8.1 && <0.11), Chart (>=1.8.2 && <1.9), Chart-diagrams (>=1.8.2 && <1.9), containers (>=0.5.7.1 && <0.6), Glob (>=0.7.14 && <0.8), lens (>=4.15.1 && <4.16), optparse-applicative (>=0.13.2.0 && <0.14), pandoc (>=1.19.2.1 && <1.20), system-filepath (>=0.4.13.4 && <0.5), text (>=1.2.2.1 && <1.3), wordchoice (>=0.1.0.5 && <0.2) [details]
License BSD-3-Clause
Copyright 2017 Author name here
Author Author name here
Maintainer example@example.com
Category Web
Home page https://github.com/githubuser/wordchoice#readme
Source repo head: git clone https://github.com/githubuser/wordchoice
Uploaded by vmchale at 2017-06-14T03:22:51Z
Distributions NixOS:0.1.2.9
Executables wrd
Downloads 9309 total (48 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-06-14 [all 1 reports]

Readme for wordchoice-0.1.0.5

[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

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 wordchoice

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

This repo should build with cabal, stack, and nix-build.