An open API service indexing awesome lists of open source software.

https://github.com/tetzng/typolice

typolice is a tool to find typos in text.
https://github.com/tetzng/typolice

cli go typo

Last synced: 11 days ago
JSON representation

typolice is a tool to find typos in text.

Awesome Lists containing this project

README

          

# typolice

typolice is a tool to find typos in text.

## Installation
```bash
$ go install github.com/tetzng/typolice/cmd/typolice@latest
```

## Usage
```bash
$ typolice --text "AWS S3 is an object storage service."
Typo: AWS S3, Preferred: Amazon S3
Total typos found: 1

$ echo "Chat GPT is mentioned." | typolice --stdin
Typo: Chat GPT, Preferred: ChatGPT
Total typos found: 1

$ cat custom.json
{
"My Service": ["MyService"]
}
$ typolice --dictionary custom.json --text "MyService ships soon."
Typo: MyService, Preferred: My Service
Total typos found: 1
```

Use `--file ` to scan documents, and combine flags or positional arguments to analyze multiple sources in a single run.

## License

MIT

## Author

tetzng