mirror of https://github.com/explosion/spaCy.git
Spelling mistake in rule-based-matching.md (#11717)
Changed retokenize to retokenizer
This commit is contained in:
parent
d61e742960
commit
d25f09468c
|
@ -1792,7 +1792,7 @@ the entity `Span` – for example `._.orgs` or `._.prev_orgs` and
|
||||||
> [`Doc.retokenize`](/api/doc#retokenize) context manager:
|
> [`Doc.retokenize`](/api/doc#retokenize) context manager:
|
||||||
>
|
>
|
||||||
> ```python
|
> ```python
|
||||||
> with doc.retokenize() as retokenize:
|
> with doc.retokenize() as retokenizer:
|
||||||
> for ent in doc.ents:
|
> for ent in doc.ents:
|
||||||
> retokenizer.merge(ent)
|
> retokenizer.merge(ent)
|
||||||
> ```
|
> ```
|
||||||
|
|
Loading…
Reference in New Issue