textcheck
Run text checks on files from the command line.
┏━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Word ┃ Alternatives ┃ Context ┃
┡━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ speling │ spieling, spelling, spewing, peeling, splinting │ should be checked for speling │
└─────────┴─────────────────────────────────────────────────┴───────────────────────────────┘
Installation
pip install --user textcheck
Hunspell dictionary files en_US.dic and en_US.aff need to be placed in /usr/share/hunspell directory.
Limitations
- Only console output for now.
- Only English language is supported.
- Only Linux-based systems are supported.
CLI usage
spellcheck
Example invocation:
textcheck spellcheck ~/spellme.txt --ignore-list=/home/user/ignore_list.txt
Run spellcheck for a set of files.
Provided ignore list is a file with ignore words on new lines.
Usage:
$ textcheck spellcheck [OPTIONS] FILES...
Arguments:
FILES...: The list of files to check
Options
ignore_list: Path to the ignore list file.
Metadata
Release files for textcheck 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| textcheck-0.2.2.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| textcheck-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / textcheck-0.2.2.tar.gz
| Download URL | textcheck-0.2.2.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b1cb6c080ebc5e45d062ff792d691b033044680d41fc0c9d178040faa9cff9b
|
|
BLAKE2b-256 checksum How to use checksums |
c137a98518243518a024fc9d9378ab20c642cc7b7c40523b233cc8d5794260b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.9.4 Linux/5.11.17-200.fc33.x86_64
|
Release files / textcheck-0.2.2-py3-none-any.whl
| Download URL | textcheck-0.2.2-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e09d8fe306e3f0f4391d1bee6370ad92a028235e2926007190237eb4a7d79b4
|
|
BLAKE2b-256 checksum How to use checksums |
37f1bdd5bfe7c163af72c7ffef43ac867053842b0079f5efc779216ac5970ef4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.9.4 Linux/5.11.17-200.fc33.x86_64
|