From e68d31bffa724b4fc7742a7c73ca7d5b605b68f4 Mon Sep 17 00:00:00 2001 From: ines Date: Mon, 6 Nov 2017 13:06:26 +0100 Subject: [PATCH] Update models quickstart usage example --- website/usage/_models/_quickstart.jade | 1 + 1 file changed, 1 insertion(+) diff --git a/website/usage/_models/_quickstart.jade b/website/usage/_models/_quickstart.jade index c8f702cb4..37a090a8f 100644 --- a/website/usage/_models/_quickstart.jade +++ b/website/usage/_models/_quickstart.jade @@ -8,6 +8,7 @@ +qs({lang: lang}, "divider") +qs({lang: lang, load: "module"}, "python") import #{package} +qs({lang: lang, load: "module"}, "python") nlp = #{package}.load() + +qs({lang: lang, load: "spacy"}, "python") import spacy +qs({lang: lang, load: "spacy"}, "python") nlp = spacy.load('#{lang}') +qs({lang: lang, config: "example"}, "python") doc = nlp(u"#{EXAMPLE_SENTENCES[lang]}")