diff --git a/website/docs/api/spancategorizer.mdx b/website/docs/api/spancategorizer.mdx index 84c5cb3b3..520d9a271 100644 --- a/website/docs/api/spancategorizer.mdx +++ b/website/docs/api/spancategorizer.mdx @@ -97,7 +97,7 @@ architectures and their arguments and hyperparameters. > > ```python > # Construction via add_pipe with default model -> # Replace 'spancat' with 'spancat_exclusive' for exclusive classes +> # Replace 'spancat' with 'spancat_singlelabel' for exclusive classes > spancat = nlp.add_pipe("spancat") > > # Construction via add_pipe with custom model