You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+38-1Lines changed: 38 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# React NLP Annotate
2
2
3
-
Interface for doing various NLP tasks.
3
+
Interface for doing various NLP tasks.[Here's a code playground](https://codesandbox.io/s/react-nlp-annotate-example-0jwms?file=/src/App.js). Please help this repository by adding documentation and issues!
4
4
5
5
- Audio transcription
6
6
- Text Labeling (Entity, Classification)
@@ -46,3 +46,40 @@ const MyComponent = () => (
46
46
/>
47
47
)
48
48
```
49
+
50
+
### Entity Relation Labeling
51
+
52
+
```javascript
53
+
importReactfrom"react";
54
+
importNLPAnnotatorfrom"react-nlp-annotate";
55
+
56
+
constlabels= [
57
+
{
58
+
id:"gryffindor",
59
+
displayName:"Gryffindor",
60
+
description:"Daring, strong nerve and chivalry."
61
+
},
62
+
{
63
+
id:"slytherin",
64
+
displayName:"Slytherin",
65
+
description:"Cunning and ambitious. Possibly dark wizard."
0 commit comments