Update spacy/pipeline/span_finder.py

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
Adriane Boyd 2023-06-07 11:41:26 +02:00 committed by GitHub
parent b2c56a089e
commit 92a8ad8fa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ def _char_indices(span: Span) -> Tuple[int, int]:
class SpanFinder(TrainablePipe): class SpanFinder(TrainablePipe):
"""Pipeline that learns span boundaries. """Pipeline that learns span boundaries.
DOCS: https://spacy.io/api/spancategorizer DOCS: https://spacy.io/api/spanfinder
""" """
def __init__( def __init__(