Update models quickstart usage example

This commit is contained in:
ines 2017-11-06 13:06:26 +01:00
parent 2fe2c4942f
commit e68d31bffa
1 changed files with 1 additions and 0 deletions

View File

@ -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]}")