Update lightning tour

This commit is contained in:
ines 2017-03-17 13:11:00 +01:00
parent 881db170f7
commit 7f25f64acc
2 changed files with 10 additions and 1 deletions

View File

@ -6,6 +6,15 @@ p
| The following examples and code snippets give you an overview of spaCy's | The following examples and code snippets give you an overview of spaCy's
| functionality and its usage. | 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 +h(2, "examples-resources") Load resources and process text
+code. +code.

View File

@ -66,7 +66,7 @@ include _includes/_mixins
+grid +grid
+grid-col("two-thirds") +grid-col("two-thirds")
+terminal("lightning_tour.py"). +terminal("lightning_tour.py").
# Install: pip install spacy && python -m spacy.en.download # Install: pip install spacy && python -m spacy.download en
import spacy import spacy
# Load English tokenizer, tagger, parser, NER and word vectors # Load English tokenizer, tagger, parser, NER and word vectors