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

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.2.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

synnamon-0.1.2-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

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