A package to label sentence segments given predefined segment labels using OpenAI API
Project description
Phrase Labeler
A Python package that labels sentence segments given predefined segment labels using OpenAI API
Installation
To install this package, run:
pip install phrase-labeler
Command-Line Usage
After installation, you can use the label-phrase command to label sentence segments. The syntax is as follows:
label-phrase "[sentent segments as a JSON list]" "[your-openai-api-key]" "[path to json file that contains a list of predefined labels]"
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file phrase_labeler-0.1.0.tar.gz.
File metadata
- Download URL: phrase_labeler-0.1.0.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84b1d3d30921681916e29cbb5c6a695de38279e0f1c682646da0ac4dc77a10ec
|
|
| MD5 |
9f77e17c13c1ee6228c9eaa62f4653d4
|
|
| BLAKE2b-256 |
4268c3b512407f6212a25e080ed33f56bdc8347a19913f884f83e1677c13352f
|
File details
Details for the file phrase_labeler-0.1.0-py3-none-any.whl.
File metadata
- Download URL: phrase_labeler-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
086761f40920ccb243002f1285aaba8777f5b50e78dba348d747b8192bafb3d4
|
|
| MD5 |
527e8c9968d1c6a7808d1664c5442586
|
|
| BLAKE2b-256 |
1ce0023c909449fdcb60d9cad0f4bed1d39c37aaafb3ce7de1333fadc29b2afe
|