Multilanguage plugin for word-def
Project description
Getting started with Multilanguage ChatGPT word-def plugin
Multi-language plugin for word-def package.
Installation
$ pipx install word-def-plugin-multilanguage-chatgpt
Features
- Get word definition.
- Get word synonym.
- Get part-of-speech tags of a word.
- Get usage examples.
Examples
You need to have the [word-def](https://github.com/danoan/word-def) package installed.
$ word-def --plugin-configuration-filepath plugin-config.toml get-definition joy eng
1. A feeling of great pleasure and happiness.
$ word-def --plugin-configuration-filepath plugin-config.toml get-synonym joy eng
1. happiness
2. delight
3. pleasure
4. bliss
5. euphoria
$ word-def --plugin-configuration-filepath plugin-config.toml get-pos-tags joy eng
1. noun.
2. verb.
$ word-def --plugin-configuration-filepath plugin-config.toml get-usage-examples joy eng
1. The children's laughter filled the room with joy and happiness.
2. She felt a sense of joy and contentment when she achieved her lifelong dream.
3. The music festival brought a lot of joy to the attendees.
4. Watching the sunset over the ocean always fills me with joy.
5. The birth of a baby is a moment of pure joy for the new parents.
The [word-def documentation](https://danoan.github.io/word-def/how-to/setup-a-plugin.html)
has more information about how to setup the plugin configuration file.
Plugin parameters
To configure the plugin, create the plugin-config.toml file similar to the one below:
openai_key="PERSONAL OPENAI KEY"
Contributing
Please reference to our contribution and code-of-conduct guidelines.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file word_def_plugin_multilanguage_chatgpt-0.3.1.tar.gz.
File metadata
- Download URL: word_def_plugin_multilanguage_chatgpt-0.3.1.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c0800c4fee0cdca4cf519f0956a729b87525f8e8ebccf74b69d763bcb13f110
|
|
| MD5 |
6f5687a03e6d7abeae5c8d98dcf1fee8
|
|
| BLAKE2b-256 |
53bb44128f7ab85b61a20504bd562ab41f849a02f58678ead7be84af623b7f1f
|