Skip to main content

A utility for labeling clusters of text data.

Project description

CLabel

CLabel is a terminal-based cluster labeling tool that allows you to explore text data interactively and label clusters based on reviewing that data.

Install & Quickstart

pip install clabel

Type clabel to run. Everything should happen in the terminal from there.

Currently clabel can only import CSV files. It expects two columns to be in your csv: a column of text (string) and a column of cluster labels (int). You'll identify these the first time you import a dataset.

The workflow is:

  1. Pick a cluster to view examples. You'll view this through a pager so you can page through examples.
  2. Come up with a name for that cluster (Declare Name)
  3. Repeat 1 & 2 until all your clusters have names.

You can persist any cluster labels to a json file when you exit, so you don't have to complete labeling in one session. Then, you can load those labels in the next time you start clabel by selecting that json file and continue labeling.

Screenshots

Pager of Examples Declaring name of a cluster Naming Autocomplete

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

clabel-0.1.2.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

clabel-0.1.2-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

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