mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Update models docs
This commit is contained in:
parent
b322f31521
commit
76c0ea6cc6
|
@ -50,7 +50,7 @@ p
|
||||||
|
|
||||||
+row
|
+row
|
||||||
+cell #[code de_core_news_md]
|
+cell #[code de_core_news_md]
|
||||||
+cell 637 MB
|
+cell 1 GB
|
||||||
+cell Vocab, syntax, entities, word vectors #[+tag default]
|
+cell Vocab, syntax, entities, word vectors #[+tag default]
|
||||||
|
|
||||||
p
|
p
|
||||||
|
@ -73,8 +73,10 @@ p
|
||||||
python -m spacy.de.download all
|
python -m spacy.de.download all
|
||||||
python -m spacy.en.download glove
|
python -m spacy.en.download glove
|
||||||
|
|
||||||
| The old models are now available as Python packages, meaning that you can
|
| The old models are also #[+a(gh("spacy") + "/tree/v1.6.0") attached to the v1.6.0 release].
|
||||||
| also choose to #[+a("#usage-import") import them] as modules.
|
| To download and install them manually, unpack the archive, drop the
|
||||||
|
| contained directory into #[code spacy/data] and load the model via
|
||||||
|
| #[code spacy.load('en')] or #[code spacy.load('de')].
|
||||||
|
|
||||||
p
|
p
|
||||||
| The easiest way to download a model is via spaCy's #[code download]
|
| The easiest way to download a model is via spaCy's #[code download]
|
||||||
|
@ -216,8 +218,6 @@ p
|
||||||
nlp = en_core_web_md.load()
|
nlp = en_core_web_md.load()
|
||||||
doc = nlp(u'This is a sentence.')
|
doc = nlp(u'This is a sentence.')
|
||||||
|
|
||||||
p This should also work for older models in previous versions of spaCy.
|
|
||||||
|
|
||||||
+h(2, "own-models") Using your own models
|
+h(2, "own-models") Using your own models
|
||||||
|
|
||||||
p
|
p
|
||||||
|
|
Loading…
Reference in New Issue
Block a user