Update spacy.load with note on get_lang_class

This commit is contained in:
ines 2017-05-21 00:19:26 +02:00
parent 924e8506de
commit da12aee0c1

View File

@ -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