mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-06 21:30:22 +03:00
Tweak wording
This commit is contained in:
parent
bffdef15dd
commit
16a2c26e47
|
@ -89,8 +89,8 @@ have to call `list()` on it first:
|
||||||
</Infobox>
|
</Infobox>
|
||||||
|
|
||||||
You can use the [`nlp.pipe_as_tuples`](/api/language#pipe_as_tuples) method to
|
You can use the [`nlp.pipe_as_tuples`](/api/language#pipe_as_tuples) method to
|
||||||
pass additional context along with each doc when using the functionality of
|
pass additional context along with each doc when using the same functionality
|
||||||
[`nlp.pipe`](/api/language#pipe). The input should be a sequence of
|
as in [`nlp.pipe`](/api/language#pipe). The input should be a sequence of
|
||||||
`(text, context)` tuples and the output will be a sequence of `(doc, context)`
|
`(text, context)` tuples and the output will be a sequence of `(doc, context)`
|
||||||
tuples. For example, you can pass metadata in the context and save it in a
|
tuples. For example, you can pass metadata in the context and save it in a
|
||||||
[custom attribute](#custom-components-attributes):
|
[custom attribute](#custom-components-attributes):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user