mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-26 00:20:43 +03:00
make this work in python2.7
This commit is contained in:
parent
84eb9d6bd3
commit
19d4706f69
|
@ -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