From da12aee0c114efa65d90ec1e71d22f48b5ae8ab1 Mon Sep 17 00:00:00 2001 From: ines Date: Sun, 21 May 2017 00:19:26 +0200 Subject: [PATCH] Update spacy.load with note on get_lang_class --- website/docs/api/spacy.jade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/docs/api/spacy.jade b/website/docs/api/spacy.jade index 1c72d7ed5..09496f289 100644 --- a/website/docs/api/spacy.jade +++ b/website/docs/api/spacy.jade @@ -23,7 +23,8 @@ p | 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 | 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"]) +row