mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 17:54:39 +03:00
Merge pull request #1181 from val314159/patch-1
make this work in python2.7
This commit is contained in:
commit
2b9411bb54
|
@ -83,7 +83,7 @@ p
|
|||
+h(2, "examples-word-vectors") Word vectors
|
||||
|
||||
+code.
|
||||
doc = nlp("Apples and oranges are similar. Boots and hippos aren't.")
|
||||
doc = nlp(u"Apples and oranges are similar. Boots and hippos aren't.")
|
||||
|
||||
apples = doc[0]
|
||||
oranges = doc[2]
|
||||
|
|
Loading…
Reference in New Issue
Block a user