Print list comprehension
Turn the generator expression into a list comprehension before printing
@@ -20,7 +20,7 @@ p
import spacy # See "Installing spaCy"
nlp = spacy.load('en') # You are here.
doc = nlp(u'Hello, spacy!') # See "Using the pipeline"
- print((w.text, w.pos_) for w in doc) # See "Doc, Span and Token"
+ print([(w.text, w.pos_) for w in doc]) # See "Doc, Span and Token"
+aside("Why do we have to preload?")
| Loading the models takes ~200x longer than
