Skip to content

tetzng/typolice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typolice

typolice is a tool to find typos in text.

Installation

$ go install github.com/tetzng/typolice/cmd/typolice@latest

Usage

$ 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 <path> to scan documents, and combine flags or positional arguments to analyze multiple sources in a single run.

License

MIT

Author

tetzng

About

typolice is a tool to find typos in text.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages