diff --git a/website/docs/api/goldparse.md b/website/docs/api/goldparse.md index 9770f9537..5a2d8a110 100644 --- a/website/docs/api/goldparse.md +++ b/website/docs/api/goldparse.md @@ -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"]