Skip to main content

Pure Python package for getting synonyms for words.

Project description

A simple Python package that looks up synonyms for words.

Synnamon Logo

Synnamon: Easy to use function for word synonym lookups

PyPI Latest Release Tests

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


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.4.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

synnamon-0.1.4-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

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

Hashes for synnamon-0.1.4.tar.gz
Algorithm Hash digest
SHA256 eca2754e602f83a41561abaf3719e7f30eba19703699b0916aa9417ed852c688
MD5 f49e5cf7d10c323f57e6b80c630f5e2a
BLAKE2b-256 3ae3d93379687543006c79bafaf7ce37ebff68de35ad55d527f6e047e68f756a

See more details on using hashes here.

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

Hashes for synnamon-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b74cd41f7a1654d19456958a716474683002cf246424c383e28c96780b438aac
MD5 11b5188fdda4680fd0d9ee43f4196d63
BLAKE2b-256 2a408943f4ad7abed31e3bab5d861dc61019f628c56268b07edd6e010a9a9336

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page