A CLI/rofi/dmenu script with various features to aid you with English (spellchecking, definitions, synonyms, antonyms, abbreviations, and pronunciation)
The installation script won't install the dependencies for you because I don't know the package names on distros other than Arch
rofi
or dmenu
xclip
from the xclip
package (X) or wl-copy
from the wl-clipboard
(Wayland) package on Arch => to copy selected spelling suggestion to clipboardnotify-send
from libnotify
package on Arch => to notify you on copying a spelling suggestion to clipboardagrep
from tre
package on Arch => to do fuzzy searching in the wordlist to get spelling suggestionssox
from sox
package on Arch => to play pronunciationgit clone https://github.com/PlankCipher/et.git
install.sh
=> ./install.sh
You will be asked to enter your password for sudo to move the executables to
/sbin/
so that they're accessible from anywhere
et -h
for help)rofi_et
then help
for help)rofi -modes 'et:rofi_et_mode,drun,window' -show et
then help
for help)dmenu_et
and then help
for help)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)
-pro or --pronounce
play American English pronunciation of WORD from macmillandictionary.com. (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
words_alpha
wordlist from this repo.Contributions are very welcome.