mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-10 16:22:29 +03:00
Add note on biluo_tags_from_offsets helper
This commit is contained in:
parent
9d58673aaf
commit
8116d1a077
|
@ -13,7 +13,9 @@ p
|
||||||
| that are part of an entity are set to the entity label, prefixed by the
|
| that are part of an entity are set to the entity label, prefixed by the
|
||||||
| BILUO marker. For example #[code "B-ORG"] describes the first token of
|
| BILUO marker. For example #[code "B-ORG"] describes the first token of
|
||||||
| a multi-token #[code ORG] entity and #[code "U-PERSON"] a single
|
| a multi-token #[code ORG] entity and #[code "U-PERSON"] a single
|
||||||
| token representing a #[code PERSON] entity
|
| token representing a #[code PERSON] entity. The
|
||||||
|
| #[+api("goldparse#biluo_tags_from_offsets") #[code biluo_tags_from_offsets]]
|
||||||
|
| function can help you convert entity offsets to the right format.
|
||||||
|
|
||||||
+code("Example structure").
|
+code("Example structure").
|
||||||
[{
|
[{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user