mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 17:24:41 +03:00
Update docs [ci skip]
This commit is contained in:
parent
bb62e3c8fc
commit
d98ae9d918
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user