misspellings

A tool to detect misspellings
Download

misspellings Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL v3
  • Price:
  • FREE
  • Publisher Name:
  • Kevin Lyda
  • Publisher web site:
  • http://github.org/lyda/

misspellings Tags


misspellings Description

misspellings is a Python library and tool to check for misspelled words in source code. It does this by looking for words from a list of common misspellings. The dictionary it uses to do this is based on the Wikipedia list of common misspellings.The list has been slightly modified to remove some changes that cause a number of false positives. In particular `ok->OK` was removed (ok is frequently used in perl tests for instance).To try it out, merely run the following (using the coreutils source tree as an example): git clone git://git.sv.gnu.org/coreutils ../coreutils find ../coreutils -name '*.c' | ./scripts/misspellings -f - ../coreutils/src/cat.c: efficency -> "efficiency" ../coreutils/src/comm.c: funtion -> "function" ../coreutils/src/expr.c: seperate -> "separate" ../coreutils/src/pr.c: accomodate -> "accommodate" ../coreutils/src/tac.c: unneccessary -> "unnecessary" ../coreutils/src/test.c: supressed -> "suppressed"* http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machinesProduct's homepage


misspellings Related Software