Merge pull request #1181 from val314159/patch-1

make this work in python2.7
This commit is contained in:
Ines Montani 2017-07-08 00:15:47 +02:00 committed by GitHub
commit 2b9411bb54

View File

@ -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]