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

You will need to install this utility with pip(x) and have Redis installed and running. Then run the utility with the following arguments.

$ pipx install thesaurize-loader
$ thesaurize-loader \
    --file=https://www.openoffice.org/lingucomponent/MyThes-1.zip \
    --connection=redis://localhost:6379

Alternatively, you can download the thesaurus archive linked above and extract it. Then run the following command:

$ thesaurize-loader --file=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.2.2.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

thesaurize_loader-0.2.2-py3-none-any.whl (6.0 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