Update docs [ci skip]

This commit is contained in:
Ines Montani 2020-09-08 10:33:48 +02:00
parent bb62e3c8fc
commit d98ae9d918
2 changed files with 2 additions and 2 deletions

View File

@ -330,7 +330,7 @@ custom component entirely (more details on this in the section on
```python
nlp.remove_pipe("parser")
nlp.rename_pipe("ner", "entityrecognizer")
nlp.replace_pipe("tagger", my_custom_tagger)
nlp.replace_pipe("tagger", "my_custom_tagger")
```
The `Language` object exposes different [attributes](/api/language#attributes)

View File

@ -28,7 +28,7 @@ const CODE_EXAMPLE = `# pip install spacy
import spacy
# Load English tokenizer, tagger, parser, NER and word vectors
# Load English tokenizer, tagger, parser and NER
nlp = spacy.load("en_core_web_sm")
# Process whole documents