From 7f25f64acc1b9e0c3fa0cf24a72a4496e86559a4 Mon Sep 17 00:00:00 2001 From: ines Date: Fri, 17 Mar 2017 13:11:00 +0100 Subject: [PATCH] Update lightning tour --- website/docs/usage/lightning-tour.jade | 9 +++++++++ website/index.jade | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/website/docs/usage/lightning-tour.jade b/website/docs/usage/lightning-tour.jade index cb08bc045..ba0adaa6e 100644 --- a/website/docs/usage/lightning-tour.jade +++ b/website/docs/usage/lightning-tour.jade @@ -6,6 +6,15 @@ p | The following examples and code snippets give you an overview of spaCy's | functionality and its usage. ++h(2, "models") Install and load models + ++code(false, "bash"). + python -m spacy.download en + ++code. + import spacy + nlp = spacy.load('en') + +h(2, "examples-resources") Load resources and process text +code. diff --git a/website/index.jade b/website/index.jade index 9d53432fc..1a5cd0826 100644 --- a/website/index.jade +++ b/website/index.jade @@ -66,7 +66,7 @@ include _includes/_mixins +grid +grid-col("two-thirds") +terminal("lightning_tour.py"). - # Install: pip install spacy && python -m spacy.en.download + # Install: pip install spacy && python -m spacy.download en import spacy # Load English tokenizer, tagger, parser, NER and word vectors