Interface for doing NLP tasks. Check it out here.
- Audio transcription
- Text Labeling (Entity, Classification)
npm install @material-ui/core chroma-js spelling react-nlp-annotate
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)
}}
/>
)