mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-29 03:16:31 +03:00
commit
6c67482f34
|
@ -20,7 +20,7 @@ p
|
||||||
import spacy # See "Installing spaCy"
|
import spacy # See "Installing spaCy"
|
||||||
nlp = spacy.load('en') # You are here.
|
nlp = spacy.load('en') # You are here.
|
||||||
doc = nlp(u'Hello, spacy!') # See "Using the pipeline"
|
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?")
|
+aside("Why do we have to preload?")
|
||||||
| Loading the models takes ~200x longer than
|
| Loading the models takes ~200x longer than
|
||||||
|
|
Loading…
Reference in New Issue
Block a user