mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Update spacy.load with note on get_lang_class
This commit is contained in:
parent
924e8506de
commit
da12aee0c1
|
@ -23,7 +23,8 @@ p
|
||||||
| As of spaCy 2.0, the #[code path] keyword argument is deprecated. spaCy
|
| As of spaCy 2.0, the #[code path] keyword argument is deprecated. spaCy
|
||||||
| will also raise an error if no model could be loaded and never just
|
| will also raise an error if no model could be loaded and never just
|
||||||
| return an empty #[code Language] object. If you need a blank language,
|
| return an empty #[code Language] object. If you need a blank language,
|
||||||
| you need to import it explicitly: #[code from spacy.lang.en import English].
|
| you need to import it explicitly (#[code from spacy.lang.en import English])
|
||||||
|
| or use #[+api("util#get_lang_class") #[code util.get_lang_class]].
|
||||||
|
|
||||||
+table(["Name", "Type", "Description"])
|
+table(["Name", "Type", "Description"])
|
||||||
+row
|
+row
|
||||||
|
|
Loading…
Reference in New Issue
Block a user