diff --git a/website/docs/api/spancategorizer.mdx b/website/docs/api/spancategorizer.mdx index c9ae8e483..c7de2324b 100644 --- a/website/docs/api/spancategorizer.mdx +++ b/website/docs/api/spancategorizer.mdx @@ -68,11 +68,11 @@ architectures and their arguments and hyperparameters. > "spans_key": "labeled_spans", > "model": DEFAULT_SPANCAT_SINGLELABEL_MODEL, > "suggester": {"@misc": "spacy.ngram_suggester.v1", "sizes": [1, 2, 3]}, -> # Additional spancat_exclusive parameters +> # Additional spancat_singlelabel parameters > "negative_weight": 0.8, > "allow_overlap": True, > } -> nlp.add_pipe("spancat_exclusive", config=config) +> nlp.add_pipe("spancat_singlelabel", config=config) > ``` | Setting | Description |