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.1.tar.gz (1.7 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.1-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: phrase_labeler-0.1.1.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

Hashes for phrase_labeler-0.1.1.tar.gz
Algorithm Hash digest
SHA256 eb8371d87087a6828b9109bfae605d3437a3f6dbef533f929541e2beba9b5a68
MD5 64796d5134d696f3565962108df934fa
BLAKE2b-256 a35d85ba07b3c60044836b1d2d45e34da67cc93f956e28790520b0acddf1ac54

See more details on using hashes here.

File details

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

File metadata

  • Download URL: phrase_labeler-0.1.1-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

Hashes for phrase_labeler-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbee6eb04698fe0d8db38e34d54d14072bea6af9784a7dc45709b42786401b7f
MD5 d7a60e0bbbcd30831b0dfa52f602baa7
BLAKE2b-256 bd22994dea7bfa9a294d2ab66ec7ccbfa3ab79dde6a67b38c0bd6f1b99fd4760

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