Recursively check spelling and grammer and other tasks with text documents.
Project description
Recursive Spellcheck in Python
Recursively spellcheck files using aspell or other backend.
Optional grammar highlighting via diction
is also provided.
Install
-
install aspell (optionally, install
diction
the same way)- Mac:
brew install aspell
- Linux:
apt install aspell
- Windows: See Windows section below.
- Mac:
-
Install Python script
pip install textutils3
-
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:
- the spell checker changes the line endings to CRLF, even if no explict changes were specified
- 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file textutils3-1.0.0.tar.gz
.
File metadata
- Download URL: textutils3-1.0.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0f676c6b03cbda3b3b99ecdeeb00a3a6dcc1bea6c3f8d9ac5ccb8e0d51cb641 |
|
MD5 | 9c80e610caffa516ff827ecb3d410240 |
|
BLAKE2b-256 | e3e25cfe3b9f62527831afe8f6c239abb7655df74f7436bffcd58a1bcdde0bf4 |