This repository provides an offline English Dictionary plugin based on Webster's Unabridged English Dictionary for Wox.
Easy Dictionary Plugin is also available on Wox's website.
Medium article detailing about how to develop a Wox plugin with an example of Easy Dictionary. Read the article on Dev.to if you prefer that.
-
Dictionary Data: The
dictionary_compact_with_words.json
file provides the dictionary content used by the plugin. Thisdictionary_compact_with_words.json
file is a modified form ofdictionary_compact.json
file sourced from GitHub project WebstersEnglishDictionary that in turn sources the dictionary content from Project Gutenberg's Webster's Unabridged English Dictionary. -
Auto Correction: With v2.0.0 onwards Easy Dictionary will auto-correct mis-typed words.
Spell.py
is used to find most the probable auto-corrected word.Spell.py
is sourced from Peter Norvig's website Norvig.com. The file is modified a bit for the current use case.
Before installing this plugin, make sure that you have Python3
installed and Python Directory
is set in Wox Settings -> General -> Python Directory
to the installed
Python's path.
- Drag and Drop the
Wox.Plugin.eDict.wox
onto the Wox Launcher. - To rebuild the above file, run command
sh build.sh
.
- Launch Wox, type
ed
, give space and start typing the word! auto-corrected
shows that the query is auto-corrected.
Unfortunately didn't maintain history before v2.3.0
.
2.3.0
- Add support for copying the meaning on hitting Enter key. Note that we use
pyperclip to provide cross platform copy
functionality. So, if copy doesn't work on your platform, have a look at
pyperclip
GitHubREADME
to see if you would need to install any tool on your system.