Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minho42/typofinder
🔍 Find typos from GitHub repository
https://github.com/minho42/typofinder
python spell-checker spellchecker typo
Last synced: 16 days ago
JSON representation
🔍 Find typos from GitHub repository
- Host: GitHub
- URL: https://github.com/minho42/typofinder
- Owner: minho42
- License: mit
- Created: 2019-08-23T16:26:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-06T02:49:23.000Z (over 2 years ago)
- Last Synced: 2023-12-23T15:58:02.159Z (about 1 year ago)
- Topics: python, spell-checker, spellchecker, typo
- Language: Python
- Homepage:
- Size: 703 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TypoFinder
Find possible typos from GitHub repository or local directory.
![](https://github.com/minho42/typofinder/blob/master/screenshot.png)
## Requirement
Python 3.6
## Usage - command line
Copy the source code
```
$ git clone https://github.com/minho42/typofinder.git
$ cd typofinder/
```Optional: Use virtual environment
```
$ python -m venv venv
$ source venv/bin/activate
```Install required packages
```
$ pip install -r requirements.txt
```Run below script to download nltk "wordnet", etc.
```
$ python download_wordnet.py
```Finally, run the script
```
$ python __main__.py [GitHub repository]
```[GitHub repository] can be :
1. Full repository URL e.g. `https://github.com/django/django`
2. Shortened repository name e.g. `gh:django/django`
3. or local directory e.g. `/Users/minho/projects/django`## Options
```
$ python __main__.py --help
```Run with options
```
$ python __main__.py [GitHub repository] --min=8 --report=True
```## Output
Highly likely typos are marked with '\*'