Wordlint-0.1.0.2: Wordlint.cabal
-- Initial Wordlint.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: Wordlint
version: 0.1.0.2
synopsis: Plaintext prose redundancy linter.
description: Wordlint locates matching pairs of words repeated within a user-defined
distance. Text may be linted by distance between words (that is, by word
count), by line count, or by percentage of the total words in the file. For
details on running the program, see README or the included man page.
Internally, Wordlint separates a text file (or stdin) into
a list of "Words", after processing user flags. An instance of the "Word"
datatype consisting of a String that contains a lemma; its line and column
coordinates; and its "position": an Int or Float depending on the type of check
invoked by the user.
This list is first filtered by the user-defined minimum
length of the lemma. Next, items are matched by their lemma and exclusive
coordinates before being added to a list of "Wordpairs", a data structure
containing two Words and the difference between their respective "positions".
Finally, these Wordpairs are optionally filtered by the difference in their
positions (another user-specified option). All remaining Wordpairs are
processed for printing to stdout in machine-readable (default) or
human-readable format. A plugin also exists for integration with Vim
(https://github.com/gbgar/wordcheck.vim).
homepage: https://github.com/gbgar/Wordlint
license: OtherLicense
license-file: LICENSE
author: GB Gardner
maintainer: gbgar@users.noreply.github.com
copyright: 2014
category: Text
build-type: Simple
cabal-version: >=1.10
extra-source-files: changelog
extra-doc-files: doc/Wordlint.haddock
man/man1/wordlint.1
executable wordlint
main-is: Wordlint.hs
-- other-modules:
other-extensions: DeriveDataTypeable
build-depends: base >=4.7 && <4.8, cmdargs >=0.10 && <0.11, boxes >=0.1 && <0.2
-- hs-source-dirs:
default-language: Haskell2010
ghc-options: -O2
source-repository head
type: git
location: git://github.com/gbgar/Wordlint.git