From 225f8866a19df151fed5dbae612780a09233be3a Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 19 Aug 2020 12:47:57 +0200 Subject: [PATCH] Fix consistency --- website/docs/api/transformer.md | 8 ++++---- website/docs/usage/embeddings-transformers.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/website/docs/api/transformer.md b/website/docs/api/transformer.md index d4d7de161..c32651e02 100644 --- a/website/docs/api/transformer.md +++ b/website/docs/api/transformer.md @@ -527,7 +527,7 @@ You can register custom annotation setters using the > #### Example > > ```python -> @registry.annotation_setters("spacy-transformer.null_annotation_setter.v1") +> @registry.annotation_setters("spacy-transformers.null_annotation_setter.v1") > def configure_null_annotation_setter() -> Callable: > def setter(docs: List[Doc], trf_data: FullTransformerBatch) -> None: > pass @@ -542,9 +542,9 @@ You can register custom annotation setters using the The following built-in functions are available: -| Name | Description | -| --------------------------------------------- | ------------------------------------- | -| `spacy-transformer.null_annotation_setter.v1` | Don't set any additional annotations. | +| Name | Description | +| ---------------------------------------------- | ------------------------------------- | +| `spacy-transformers.null_annotation_setter.v1` | Don't set any additional annotations. | ## Custom attributes {#custom-attributes} diff --git a/website/docs/usage/embeddings-transformers.md b/website/docs/usage/embeddings-transformers.md index e097ae02a..c2727f5b1 100644 --- a/website/docs/usage/embeddings-transformers.md +++ b/website/docs/usage/embeddings-transformers.md @@ -230,7 +230,7 @@ tokenizer_config = {"use_fast": true} @span_getters = "doc_spans.v1" [components.transformer.annotation_setter] -@annotation_setters = "spacy-transformer.null_annotation_setter.v1" +@annotation_setters = "spacy-transformers.null_annotation_setter.v1" ```