Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phrase_labeler-0.1.2.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phrase_labeler-0.1.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file phrase_labeler-0.1.2.tar.gz.

File metadata

  • Download URL: phrase_labeler-0.1.2.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for phrase_labeler-0.1.2.tar.gz
Algorithm Hash digest
SHA256 bb587149f47e33bbc3c26c72b63e0eacd725cb3761da66bd1601e88cf8b6f690
MD5 4c4b30eae84ec3131333c043747fa5c1
BLAKE2b-256 381c5a4639f7870693c54906d9455bc9b27abc65403290b9adc7eb5a9a0aef63

See more details on using hashes here.

File details

Details for the file phrase_labeler-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: phrase_labeler-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for phrase_labeler-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7f447e622e18d7204078132f3a641596c8d5cbb30f969445c6b1048bfd000dc3
MD5 33ad99859bc33d5c5fd7f172c6361322
BLAKE2b-256 b073894ac904b965c0f18e68dc6bdd375cfedb6192e631b79a4c6d0de47a755e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page