Wordlint: Plaintext prose redundancy linter.

[ library, program, text ] [ Propose Tags ]

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.comgbgar/wordcheck.vim).

Versions [RSS] [faq] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.2.0.4
Dependencies base (==4.7.*), boxes (==0.1.*), cmdargs (==0.10.*) [details]
License LicenseRef-OtherLicense
Copyright 2014
Author GB Gardner
Maintainer gbgar@users.noreply.github.com
Category Text
Home page https://github.com/gbgar/Wordlint
Source repo head: git clone git://github.com/gbgar/Wordlint.git
Uploaded by bgbgbg at 2014-11-26T00:33:00Z
Distributions NixOS:0.2.0.4
Executables wordlint
Downloads 5605 total (51 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2016-12-12 [all 7 reports]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates