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 shelve 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
- sqlitedict
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file synnamon-0.1.4.tar.gz.
File metadata
- Download URL: synnamon-0.1.4.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eca2754e602f83a41561abaf3719e7f30eba19703699b0916aa9417ed852c688
|
|
| MD5 |
f49e5cf7d10c323f57e6b80c630f5e2a
|
|
| BLAKE2b-256 |
3ae3d93379687543006c79bafaf7ce37ebff68de35ad55d527f6e047e68f756a
|
File details
Details for the file synnamon-0.1.4-py3-none-any.whl.
File metadata
- Download URL: synnamon-0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b74cd41f7a1654d19456958a716474683002cf246424c383e28c96780b438aac
|
|
| MD5 |
11b5188fdda4680fd0d9ee43f4196d63
|
|
| BLAKE2b-256 |
2a408943f4ad7abed31e3bab5d861dc61019f628c56268b07edd6e010a9a9336
|