mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
Add note about word vectors in example (see #1117)
This commit is contained in:
parent
d5418553eb
commit
d383612225
|
@ -159,6 +159,10 @@ p
|
|||
+h(3, "lightning-tour-word-vectors") Get word vectors and similarity
|
||||
+tag-model("word vectors")
|
||||
|
||||
p
|
||||
| For the best results, you should run this example using the
|
||||
| #[+a("/models/en#en_vectors_web_lg") #[code en_vectors_web_lg]] model
|
||||
|
||||
+code.
|
||||
doc = nlp(u"Apple and banana are similar. Pasta and hippo aren't.")
|
||||
apple = doc[0]
|
||||
|
|
Loading…
Reference in New Issue
Block a user