The wordchoice package

[ Tags: 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]

Properties

Versions 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
Dependencies base (>=4.8 && <5), bytestring, Chart, Chart-diagrams, containers, Glob, lens, optparse-applicative, pandoc, system-filepath, text, wordchoice [details]
License BSD3
Copyright 2017 Author name here
Author Author name here
Maintainer example@example.com
Category Web
Home page https://github.com/githubuser/wordchoice#readme
Source repository head: git clone https://github.com/githubuser/wordchoice
Uploaded Sat Aug 12 21:36:44 UTC 2017 by vmchale
Distributions NixOS:0.1.1.1
Executables wrd
Downloads 384 total (53 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-08-12 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
llvm-fast

Enable build with llvm backend

DisabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for wordchoice-0.1.1.1

[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.

Stack

Install stack, following instructions here. Then:

 $ stack install wordchoice

You might need to do a stack setup first.