mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
Corrected imported fucntion (#4062)
The example showed an incorrected import
This commit is contained in:
parent
23ec07debd
commit
2cdf7d39e7
|
@ -191,7 +191,7 @@ token-based tags, e.g. to overwrite the `doc.ents`.
|
|||
> #### Example
|
||||
>
|
||||
> ```python
|
||||
> from spacy.gold import offsets_from_biluo_tags
|
||||
> from spacy.gold import spans_from_biluo_tags
|
||||
>
|
||||
> doc = nlp(u"I like London.")
|
||||
> tags = ["O", "O", "U-LOC", "O"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user