mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
* Fix mention of Tokens in docstring
This commit is contained in:
parent
783867c1ad
commit
e3c53f5ecd
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user