Pure Python package for getting synonyms for words.
Project description
A simple Python package that looks up synonyms for words.
Synnamon: Easy to use function for word synonym lookups
What is it?
Synnamon is a simple Python package that looks up synonyms using a built in thesaurus json file instead of reaching out to web resources (PyDictionary) or using large English lexical databases (nltk WordNet).
Where to get it
The source code is currently hosted on GitHub at: https://github.com/eddiethedean/synnamon
# PyPI
pip install synnamon
Dependencies
- inflex: used to convert plural word lookups to singular and then convert singular synonym results to plural
Example
>>> import synnamon
>>> synnamon.get_syns('jump')
{'noun': ['leap', 'parachuting', 'jumping', 'saltation', 'startle', 'start'],
'verb': ['leap',
'spring',
'stand out',
'alternate',
'startle',
'climb up',
'chute',
'jump-start',
'jump out',
'skip over',
'stick out',
'jump off',
'jumpstart',
'pass over',
'derail',
'start',
'rise',
'bound',
'parachute',
'jump on',
'leap out',
'skip']}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
synnamon-0.1.6.tar.gz
(3.5 kB
view hashes)