* Fix reference to Tokens in documentation

This commit is contained in:
Matthew Honnibal 2015-07-08 18:58:25 +02:00
parent e3c53f5ecd
commit 462301d9e6
2 changed files with 3 additions and 3 deletions

View File

@ -43,12 +43,12 @@ In more detail:
the vocabulary).
:code:`Tokenizer`
:code:`(Vocab vocab, unicode data_dir)(unicode) --> Tokens`
:code:`(Vocab vocab, unicode data_dir)(unicode) --> Doc`
A class/function that creates the tokenizer.
:code:`Tagger` / :code:`Parser` / :code:`Entity`
:code:`(Vocab vocab, unicode data_dir)(Tokens) --> None`
:code:`(Vocab vocab, unicode data_dir)(Doc) --> None`
A class/function that creates the part-of-speech tagger /
syntactic dependency parser / named entity recogniser.

View File

@ -9,7 +9,7 @@ Applying a pipeline
-------------------
.. py:method:: English.__call__(text, tag=True, parse=True, entity=True) --> Tokens
.. py:method:: English.__call__(text, tag=True, parse=True, entity=True) --> Doc
text (unicode)