This package no longer works as the endpoint being used is not returning any data. Unfortunately, no free thesaurus API alternatives exist.
Emacs package for querying synonyms and antonyms from Thesaurus.com.
le-thesaurus is available via MELPA.
Install it via use-package or straight
(use-package le-thesaurus)Put your cursor on the word you'd like a synonym for and run M-x le-thesaurus-get-{synonyms,antonyms}.
Pick a synonym from the completion buffer and hit RET.
Responses from thesaurus.com are cached.
You can clear the cache with le-thesaurus-clear-cache if it should get too large.
That's it.
Pull requests are welcome.
Tests use the buttercup framework. You can run tests via
make test