* Fix mention of Tokens in docstring

This commit is contained in:
Matthew Honnibal 2015-07-08 18:56:27 +02:00
parent 783867c1ad
commit e3c53f5ecd

View File

@ -17,8 +17,6 @@ from .pos import POS_TAGS
from .attrs import get_flags
from . import regexes
from ..exceptions import ModelNotLoaded
from ..util import read_lang_data
@ -117,7 +115,7 @@ class English(object):
text (unicode): The text to be processed.
Returns:
tokens (spacy.tokens.Tokens):
tokens (spacy.tokens.Doc):
>>> from spacy.en import English
>>> nlp = English()