https://github.com/jakeoeding/lexicon
Quick script to grab the definition or synonyms of a given word
https://github.com/jakeoeding/lexicon
beautifulsoup4 easygui keyboard pyperclip python requests synonyms web-scraping
Last synced: about 1 year ago
JSON representation
Quick script to grab the definition or synonyms of a given word
- Host: GitHub
- URL: https://github.com/jakeoeding/lexicon
- Owner: jakeoeding
- Created: 2018-06-24T13:20:06.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-24T20:46:38.000Z (over 7 years ago)
- Last Synced: 2025-02-17T09:45:02.882Z (over 1 year ago)
- Topics: beautifulsoup4, easygui, keyboard, pyperclip, python, requests, synonyms, web-scraping
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lexicon
Quick script to look up the definition of a word or its synonyms. Useful when working on things like writing or reading news articles.
## How to use
Run it in the background via command line:
```bash
sudo python lexicon.py
```
When you come across a word you want to look up, copy it to the clipboard:
ctrl + c
If you want to get the definition, use the corresponding shortcut:
ctrl + g + h
If you want to get the synonyms, use the corresponding shortcut:
ctrl + g + y
This action will launch a window with a list definitions/synonyms from the vocabulary.com/synonym.com page pertaining to the word.