From acde98d9c79e425ad59adbbe7748e8bc6c28c2d8 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Tue, 31 Jan 2023 10:04:16 +0100 Subject: [PATCH] Update docs markers (fix merge) --- website/docs/api/language.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/api/language.mdx b/website/docs/api/language.mdx index 3a7c224bb..056c226f7 100644 --- a/website/docs/api/language.mdx +++ b/website/docs/api/language.mdx @@ -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~~ | | **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 in order. This is usually more efficient than processing texts one-by-one.