Corrected imported fucntion (#4062)

The example showed an incorrected import
This commit is contained in:
Ejar 2019-08-01 12:43:36 +02:00 committed by Ines Montani
parent 23ec07debd
commit 2cdf7d39e7

View File

@ -191,7 +191,7 @@ token-based tags, e.g. to overwrite the `doc.ents`.
> #### Example > #### Example
> >
> ```python > ```python
> from spacy.gold import offsets_from_biluo_tags > from spacy.gold import spans_from_biluo_tags
> >
> doc = nlp(u"I like London.") > doc = nlp(u"I like London.")
> tags = ["O", "O", "U-LOC", "O"] > tags = ["O", "O", "U-LOC", "O"]