
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
react-nlp-annotate
Advanced tools
> If you just want to edit NLP data, it's easier to just use the [Universal Data Tool (MIT)](https://github.com/UniversalDataTool/universal-data-tool). This library is a module of the Universal Data Tool for use in custom react applications.
If you just want to edit NLP data, it's easier to just use the Universal Data Tool (MIT). This library is a module of the Universal Data Tool for use in custom react applications.
Interface for doing various NLP tasks. Here's a code playground. Please help this repository by adding documentation and issues!
npm install react-nlp-annotate
import NLPAnnotator from "react-nlp-annotate"
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)
}}
/>
)
import React from "react";
import NLPAnnotator from "react-nlp-annotate";
const labels = [
{
id: "gryffindor",
displayName: "Gryffindor",
description: "Daring, strong nerve and chivalry."
},
{
id: "slytherin",
displayName: "Slytherin",
description: "Cunning and ambitious. Possibly dark wizard."
}
];
export default () => (
<NLPAnnotator
hotkeysEnabled
type="label-relationships"
labels={labels}
multipleLabels={false}
document="Harry was an honest to god good man"
onChange={(output) => {
console.log("Output is...", output);
}}
// this is just for label-relationships
entityLabels={labels}
relationshipLabels={labels}
/>
</div>
);
FAQs
> If you just want to edit NLP data, it's easier to just use the [Universal Data Tool (MIT)](https://github.com/UniversalDataTool/universal-data-tool). This library is a module of the Universal Data Tool for use in custom react applications.
The npm package react-nlp-annotate receives a total of 0 weekly downloads. As such, react-nlp-annotate popularity was classified as not popular.
We found that react-nlp-annotate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.