Skip to content
Recursively spellcheck files using aspell or other backend
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.coveragerc
.flake8
.gitignore
.travis.yml
LICENSE.txt
README.md
find_bad_characters.py
latexdiff.py
mypy.ini
setup.cfg
setup.py
spellcheck.py

README.md

Build Status PyPi version PyPi Download stats

Recursive Spellcheck in Python

Recursively spellcheck files using aspell or other backend. Optional grammar highlighting via diction is also provided.

Install

  1. install aspell (optionally, install diction the same way)

    • Mac: brew install aspell
    • Linux: apt install aspell
    • Windows: See Windows section below.
  2. Install Python script

    pip install textutils3
  3. usage: from Terminal:

    spellcheck

for help:

spellcheck -h

Windows

Aspell on Windows is provided by the Aspell authors, since Aspell is currently built using Autotools. You will also have to manually install the dictionary for the desired language. There are two bugs with Aspell 0.5 on Windows:

  1. the spell checker changes the line endings to CRLF, even if no explict changes were specified
  2. the spell checker shows a blank screen until a key is pressed (this is true even when Aspell.exe is run directly in Command Prompt).

Thus it is probably better to use Aspell via Windows Subsystem for Linux until this bug is fixed by the Aspell authors.

You can’t perform that action at this time.