A CLI/rofi/dmenu script with features to aid you with English.
- Spellcheck and suggestions (offline, based on a wordlist)
- Define (online, based on wordnik.com)
- Synonyms (online, based on bighugelabs.com)
- Antonyms (online, based on bighugelabs.com)
- Abbreviations (online, based on Abbreviations.com)
- Pronunciation (online, TBD)
The installation script won't install the dependencies for you because I don't know the package names on distros other than Arch
rofi
ordmenu
xclip
fromxclip
package on Arch => to copy selected spelling suggestion to clipboardnotify-send
fromlibnotify
package on Arch => to notify you on copying a spelling suggestion to clipboardagrep
fromtre
package on Arch => to do fuzzy searching in the wordlist to get spelling suggestions
- clone this repo =>
git clone https://github.com/PlankCipher/rofi_et.git
- cd into the cloned repo directory
- run
install.sh
=>./install.sh
- Voila 🎉
You will be asked to enter your password for sudo to move the executables to
/sbin/
so that they're accessible from anywhere
Usage: et OPTION [WORD]
Options:
-abr or --abbreviations
print what WORD might stand for from abbreviations.com. (WORD is required for this option)
-ant or --antonyms
print antonyms for WORD from bighugelabs.com. (WORD is required for this option)
-def or --define
print definitions for WORD from wordnik.com if correctly spelled, otherwise print spell suggestions. (WORD is required for this option)
-spl or --spell
print spell suggestions for WORD from wordlist if not spelled correctly (exits with 1 as exit code), otherwise print a message indicating that WORD is spelled correctly. (WORD is required for this option)
-syn or --synonyms
print synonyms for WORD from bighugelabs.com. (WORD is required for this option)
-h or --help
print this help message and exit
- I got
words_alpha
wordlist from this repo. - wordnik.com is used to get definitions.
- abbreviations.com is used to get what abbreviations stand for.
- bighugelabs.com is used to get synonyms and antonyms.
Contributions are very welcome.