mirror of
https://github.com/explosion/spaCy.git
synced 2025-05-30 02:33:07 +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
|
+h(3, "lightning-tour-word-vectors") Get word vectors and similarity
|
||||||
+tag-model("word vectors")
|
+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.
|
+code.
|
||||||
doc = nlp(u"Apple and banana are similar. Pasta and hippo aren't.")
|
doc = nlp(u"Apple and banana are similar. Pasta and hippo aren't.")
|
||||||
apple = doc[0]
|
apple = doc[0]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user