Update docs markers (fix merge)

This commit is contained in:
Adriane Boyd 2023-01-31 10:04:16 +01:00
parent 5c4d5dd318
commit acde98d9c7

View File

@ -208,7 +208,7 @@ tokenization is skipped but the rest of the pipeline is run.
| `n_process` | Number of processors to use. Defaults to `1`. ~~int~~ | | `n_process` | Number of processors to use. Defaults to `1`. ~~int~~ |
| **YIELDS** | Documents in the order of the original text. ~~Doc~~ | | **YIELDS** | Documents in the order of the original text. ~~Doc~~ |
## Language.pipe_as_tuples {#pipe_as_tuples tag="method"} ## Language.pipe_as_tuples {id="pipe_as_tuples",tag="method"}
Process `(text, context)` tuples as a stream, and yield `(Doc, context)` tuples Process `(text, context)` tuples as a stream, and yield `(Doc, context)` tuples
in order. This is usually more efficient than processing texts one-by-one. in order. This is usually more efficient than processing texts one-by-one.