Skip to main content

PySynonym is a plugin that returns a list of synonyms for the given word. This is very useful when programming bots and digital assistants, to increase their understanding.

Project description

# PySynonym
PySynonym is a plugin that returns a list of synonyms for the given word. This is very useful when programming bots and digital assistants, to increase their understanding.

## How to use PySynonym <br>
<b>Installation:</b> `pip install PySynonym` <br>
<b>Including:</b> `import PySynonym as ps` <br>
<b>Finding synonyms:</b> `ps.synonym('word')` <br>
<b>Finding definitons:</b> `ps.explain('word')` <br>

## Example code <br>
```python
import PySynonym as ps

syn = ps.synonym('house')
if 'building' in syn:
print("Building is a synonym of house")
else:
print("Building is no synonym of house")
```

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

PySynonym-0.0.3.tar.gz (1.9 kB view hashes)

Uploaded Source

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