From 6364d59b0277b134372f8b0cf532fbb60801f27e Mon Sep 17 00:00:00 2001 From: svlandeg Date: Thu, 5 Jan 2023 10:25:49 +0100 Subject: [PATCH] small backslash fixes --- website/docs/api/corpus.mdx | 2 +- website/docs/api/dependencymatcher.mdx | 2 +- website/docs/api/docbin.mdx | 2 +- website/docs/api/entityruler.mdx | 2 +- website/docs/api/lookups.mdx | 2 +- website/docs/api/spanruler.mdx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/website/docs/api/corpus.mdx b/website/docs/api/corpus.mdx index 486713043..c58723e82 100644 --- a/website/docs/api/corpus.mdx +++ b/website/docs/api/corpus.mdx @@ -126,7 +126,7 @@ file. {"text": "My cynical view on this is that it will never be free to the public. Reason: what would be the draw of joining the military? Right now their selling point is free Healthcare and Education. Ironically both are run horribly and most, that I've talked to, come out wishing they never went in."} ``` -### JsonlCorpus.\_\init\_\_ {id="jsonlcorpus",tag="method"} +### JsonlCorpus.\_\_init\_\_ {id="jsonlcorpus",tag="method"} Initialize the reader. diff --git a/website/docs/api/dependencymatcher.mdx b/website/docs/api/dependencymatcher.mdx index 5c495a9be..390034a6c 100644 --- a/website/docs/api/dependencymatcher.mdx +++ b/website/docs/api/dependencymatcher.mdx @@ -104,7 +104,7 @@ Create a `DependencyMatcher`. | _keyword-only_ | | | `validate` | Validate all patterns added to this matcher. ~~bool~~ | -## DependencyMatcher.\_\call\_\_ {id="call",tag="method"} +## DependencyMatcher.\_\_call\_\_ {id="call",tag="method"} Find all tokens matching the supplied patterns on the `Doc` or `Span`. diff --git a/website/docs/api/docbin.mdx b/website/docs/api/docbin.mdx index df651b5d4..b5cf29df7 100644 --- a/website/docs/api/docbin.mdx +++ b/website/docs/api/docbin.mdx @@ -49,7 +49,7 @@ Create a `DocBin` object to hold serialized annotations. | `store_user_data` | Whether to write the `Doc.user_data` and the values of custom extension attributes to file/bytes. Defaults to `False`. ~~bool~~ | | `docs` | `Doc` objects to add on initialization. ~~Iterable[Doc]~~ | -## DocBin.\_\len\_\_ {id="len",tag="method"} +## DocBin.\_\_len\_\_ {id="len",tag="method"} Get the number of `Doc` objects that were added to the `DocBin`. diff --git a/website/docs/api/entityruler.mdx b/website/docs/api/entityruler.mdx index d5389aaa5..40f82d182 100644 --- a/website/docs/api/entityruler.mdx +++ b/website/docs/api/entityruler.mdx @@ -128,7 +128,7 @@ config. | `nlp` | The current `nlp` object. Defaults to `None`. ~~Optional[Language]~~ | | `patterns` | The list of patterns. Defaults to `None`. ~~Optional[Sequence[Dict[str, Union[str, List[Dict[str, Any]]]]]]~~ | -## EntityRuler.\_\len\_\_ {id="len",tag="method"} +## EntityRuler.\_\_len\_\_ {id="len",tag="method"} The number of all patterns added to the entity ruler. diff --git a/website/docs/api/lookups.mdx b/website/docs/api/lookups.mdx index b4e6b71e0..71a857c60 100644 --- a/website/docs/api/lookups.mdx +++ b/website/docs/api/lookups.mdx @@ -39,7 +39,7 @@ Get the current number of tables in the lookups. | ----------- | -------------------------------------------- | | **RETURNS** | The number of tables in the lookups. ~~int~~ | -## Lookups.\_\contains\_\_ {id="contains",tag="method"} +## Lookups.\_\_contains\_\_ {id="contains",tag="method"} Check if the lookups contain a table of a given name. Delegates to [`Lookups.has_table`](/api/lookups#has_table). diff --git a/website/docs/api/spanruler.mdx b/website/docs/api/spanruler.mdx index 0a16c4a5f..f647948ab 100644 --- a/website/docs/api/spanruler.mdx +++ b/website/docs/api/spanruler.mdx @@ -125,7 +125,7 @@ config. Any existing patterns are removed on initialization. | `nlp` | The current `nlp` object. Defaults to `None`. ~~Optional[Language]~~ | | `patterns` | The list of patterns. Defaults to `None`. ~~Optional[Sequence[Dict[str, Union[str, List[Dict[str, Any]]]]]]~~ | -## SpanRuler.\_\len\_\_ {id="len",tag="method"} +## SpanRuler.\_\_len\_\_ {id="len",tag="method"} The number of all patterns added to the span ruler.