Skip to content

UniversalDataTool/react-nlp-annotate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React NLP Annotate

Interface for doing NLP tasks. Check it out here.

  • Audio transcription
  • Text Labeling (Entity, Classification)
  • Entity Relation Labeling

screenshot 1

screenshot 2

screenshot 3

Installation

npm install @material-ui/core chroma-js spelling react-nlp-annotate

Usage

import NLPAnnotator from "react-nlp-annotate/components/NLPAnnotator" const MyComponent = () => ( <NLPAnnotator type="label-document" labels={[ { "id": "gryffindor", "displayName": "Gryffindor", "description": "Daring, strong nerve and chivalry." }, { "id": "slytherin", "displayName": "Slytherin", "description": "Cunning and ambitious. Possibly dark wizard." } ]} multipleLabels={false} document="Harry" onChange={(classification) => { console.log("Harry is a " + classification) }} /> )