From 6d6a3f128f5311486539799769e61142cfe8df6f Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Tue, 31 Jan 2023 09:58:08 +0100 Subject: [PATCH] Update new docs section (fix merge) --- website/docs/api/language.mdx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/website/docs/api/language.mdx b/website/docs/api/language.mdx index 3e2a72cc8..3a7c224bb 100644 --- a/website/docs/api/language.mdx +++ b/website/docs/api/language.mdx @@ -225,15 +225,15 @@ in order. This is usually more efficient than processing texts one-by-one. > assert doc.has_annotation("DEP") > ``` -| Name | Description | -| ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `texts` | A sequence of strings. ~~Iterable[Tuple(str, Any)]~~ | -| _keyword-only_ | | -| `batch_size` | The number of texts to buffer. ~~Optional[int]~~ | -| `disable` | Names of pipeline components to [disable](/usage/processing-pipelines#disabling). ~~List[str]~~ | -| `component_cfg` | Optional dictionary of keyword arguments for components, keyed by component names. Defaults to `None`. ~~Optional[Dict[str, Dict[str, Any]]]~~ | -| `n_process` 2.2.2 | Number of processors to use. Defaults to `1`. ~~int~~ | -| **YIELDS** | Documents in the order of the original text. ~~Tuple(Doc, Any)~~ | +| Name | Description | +| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| `texts` | A sequence of strings. ~~Iterable[Tuple(str, Any)]~~ | +| _keyword-only_ | | +| `batch_size` | The number of texts to buffer. ~~Optional[int]~~ | +| `disable` | Names of pipeline components to [disable](/usage/processing-pipelines#disabling). ~~List[str]~~ | +| `component_cfg` | Optional dictionary of keyword arguments for components, keyed by component names. Defaults to `None`. ~~Optional[Dict[str, Dict[str, Any]]]~~ | +| `n_process` | Number of processors to use. Defaults to `1`. ~~int~~ | +| **YIELDS** | Documents in the order of the original text. ~~Tuple(Doc, Any)~~ | ## Language.set_error_handler {id="set_error_handler",tag="method",version="3"}