Skip to content

Commit e45039a

Browse files
committed
Add info on relations
1 parent 3df3c8b commit e45039a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

resources/docs/TUTORIAL_2_TAGGING.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,17 @@ for relation in relations:
399399
print(relation)
400400
```
401401

402+
This should print:
403+
404+
~~~
405+
PER [George (1)] (0.9971)
406+
LOC [Washington (5)] (0.9847)
407+
408+
born_in [George (1) -> Washington (5)] (0.9998)
409+
~~~
410+
411+
Indicating that a born_in relationship holds between "George" and "Washington"!
412+
402413
## Tagging new classes without training data
403414

404415
In case you need to label classes that are not included you can also try

0 commit comments

Comments
 (0)