mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-24 19:11:58 +03:00
Update spacy/pipeline/spancat_exclusive.py
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
parent
7ac46058a2
commit
b667ab56a0
|
@ -45,12 +45,6 @@ depth = 4
|
|||
DEFAULT_SPANCAT_MODEL = Config().from_str(spancat_exclusive_default_config)["model"]
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
class Suggester(Protocol):
|
||||
def __call__(self, docs: Iterable[Doc], *, ops: Optional[Ops] = None) -> Ragged:
|
||||
...
|
||||
|
||||
|
||||
@Language.factory(
|
||||
"spancat_exclusive",
|
||||
assigns=["doc.spans"],
|
||||
|
|
Loading…
Reference in New Issue
Block a user