Skip to content

Easy Dictionary Plugin of offline Merriam Webster Dictionary for Wox

License

Notifications You must be signed in to change notification settings

ashu-tosh-kumar/Wox.Plugin.eDict

Repository files navigation

Easy Dictionary

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.

Contributions

  1. Dictionary Data: The dictionary_compact_with_words.json file provides the dictionary content used by the plugin. This dictionary_compact_with_words.json file is a modified form of dictionary_compact.json file sourced from GitHub project WebstersEnglishDictionary that in turn sources the dictionary content from Project Gutenberg's Webster's Unabridged English Dictionary.

  2. 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.

Installation Instructions

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.

Method 1

  • Install using Wox: wpm install Easy Dictionary. Usage Screenshot1

Method 2

  • Drag and Drop the Wox.Plugin.eDict.wox onto the Wox Launcher.
  • To rebuild the above file, run command sh build.sh.

Usage

  • Launch Wox, type ed, give space and start typing the word!
  • auto-corrected shows that the query is auto-corrected.

Usage Screenshot1

Usage Screenshot2

Changelog

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 GitHub README to see if you would need to install any tool on your system.