Skip to main content

Load OpenOffice thesaurus files into Redis

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

Uploaded Source

Built Distribution

thesaurize_loader-0.2.3-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file thesaurize-loader-0.2.3.tar.gz.

File metadata

  • Download URL: thesaurize-loader-0.2.3.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.1

File hashes

Hashes for thesaurize-loader-0.2.3.tar.gz
Algorithm Hash digest
SHA256 7a7054a0bf5603c972c253f2d905cf856a59caac5cbc7bd52fc2aa1c559709dd
MD5 2e7cf3e154012df9eb01dd35562b54b8
BLAKE2b-256 4e302e76cf83b04bfd6b6e9d688c6d95cfd83f7eee0e9236586dfec267dc0e8e

See more details on using hashes here.

File details

Details for the file thesaurize_loader-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: thesaurize_loader-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.1

File hashes

Hashes for thesaurize_loader-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2ae78e8a3e33c76b90ee741ee4c2e44c92dd4cac3b3e8dd84ab8398b6cff627f
MD5 d391cd978d3c90d4e423378d0c520619
BLAKE2b-256 9228d9ebbbd55dfff2876b7a053aa1f334769c3bb4e73d12b62e0fbcef0cc509

See more details on using hashes here.

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