Skip to main content

Loads encoded thesaurus into Redis datastore

Project description

Thesaurize Loader

This utility transforms OpenOffice thesaurus data files (based on Princeton's WordNet) into Redis protocol data streams. This utility essentially mass-inserts thesaurus data into a Redis instance for use with the thesaurize bot for Discord.

You can read more and download the OpenOffice thesaurus here.

Usage

Download the thesaurus archive linked above and extract it. You also need to have a running instance of Redis on your system. Then use the following commands to insert data into a Redis instance.

$ pip install thesaurize-loader
$ thesaurize-loader --file=/path/to/thesaurus.dat --connection=redis://localhost:6379

License

MIT

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

thesaurize-loader-0.1.1.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

thesaurize_loader-0.1.1-py3-none-any.whl (4.4 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