https://github.com/capjamesg/textannotate

An annotation and review tool for text classification model training.

https://github.com/capjamesg/textannotate

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.1%) to scientific vocabulary

Keywords

text-classification
Last synced: 5 months ago · JSON representation

Repository

An annotation and review tool for text classification model training.

Basic Info
  • Host: GitHub
  • Owner: capjamesg
  • License: mit
  • Language: HTML
  • Default Branch: main
  • Homepage:
  • Size: 5.86 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
text-classification
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

textannotate

textannotate is a local annotation tool for use in labeling text classification data. You can also use textannotate to check the labels of an existing dataset.

textannotate supports data in the jsonl format.

textannotate comes with several keyboard shortcuts to assist in annotation. You can use:

  1. 1-9 to label with a number, where each number corresponds to a class in your dataset. These numbers are changed to the actual class names when you save the annotations.
  2. left arrow and right arrow to move between records in your dataset.
  3. s to show or hide any long description. This is useful if you are annotating a dataset with titles and descriptions where you decide you don't need to see the description to make a classification.

Demo

https://github.com/capjamesg/textannotate/assets/37276661/e9825108-e33c-40b1-b7bd-536d608bcb80

How to Use

First, install textannotate:

pip3 install textannotate

Then, run the following command:

textannotate -f path/to/your/data.jsonl -c [name of class field] -d [name of description field]

Where:

  • path/to/your/data.jsonl is the path to your dataset in jsonl format.
  • name of class field is the name of the field in your dataset that contains the class label.
  • name of description field is the name of the field in your dataset that contains the description.

textannotate will run on localhost:5000.

Every five annotations you make, textannotate automatically saves your results to your dataset.

License

This project is licensed under an MIT license.

Owner

  • Name: James
  • Login: capjamesg
  • Kind: user
  • Location: Scotland
  • Company: @Roboflow

from words, wonder.

GitHub Events

Total
Last Year

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 4
  • Total Committers: 1
  • Avg Commits per committer: 4.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 4
  • Committers: 1
  • Avg Commits per committer: 4.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
James Gallagher j****g@j****g 4
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 8 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
pypi.org: textannotate

A text classification annotation and review tool developed in Python

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 8 Last month
Rankings
Dependent packages count: 10.8%
Average: 35.9%
Dependent repos count: 61.0%
Maintainers (1)
Last synced: 6 months ago

Dependencies

setup.py pypi
  • click *
  • flask *