Update website/docs/api/spancategorizer.md

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
Lj Miranda 2023-01-12 21:56:04 +08:00 committed by GitHub
parent 8c4eee28bc
commit fa8c7f8b28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ architectures and their arguments and hyperparameters.
>
> ```python
> # Construction via add_pipe with default model
> # Use 'spancat_exclusive' for exclusive classes
> # Replace 'spancat' with 'spancat_exclusive' for exclusive classes
> spancat = nlp.add_pipe("spancat")
>
> # Construction via add_pipe with custom model