From 42e25dce79da832a575f3a4dcc013a2743595574 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 1 Feb 2015 16:35:12 +1100 Subject: [PATCH] * Fix quickstart docs --- docs/source/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/quickstart.rst b/docs/source/quickstart.rst index 51789fe55..52a0a85ed 100644 --- a/docs/source/quickstart.rst +++ b/docs/source/quickstart.rst @@ -56,7 +56,7 @@ a convenient API: >>> tokens = nlp(u'I ate the pizza with anchovies.') >>> pizza = tokens[3] >>> (pizza.orth, pizza.orth_, pizza.head.lemma, pizza.head.lemma_) - ... (14702, 'pizza', 14702, 'ate') + ... (14702, u'pizza', 14702, u'eat') spaCy maps all strings to sequential integer IDs --- a common trick in NLP. If an attribute `Token.foo` is an integer ID, then `Token.foo_` is the string,