From f1e091a31fd5e944a995cca292c47bfea25a2fb4 Mon Sep 17 00:00:00 2001 From: kadarakos Date: Tue, 31 Jan 2023 16:04:35 +0000 Subject: [PATCH] rename spancat_exclusive to singlelable --- spacy/tests/pipeline/test_spancat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tests/pipeline/test_spancat.py b/spacy/tests/pipeline/test_spancat.py index 894158403..0d9f0fe89 100644 --- a/spacy/tests/pipeline/test_spancat.py +++ b/spacy/tests/pipeline/test_spancat.py @@ -15,7 +15,7 @@ OPS = get_current_ops() SPAN_KEY = "labeled_spans" -SPANCAT_COMPONENTS = ["spancat", "spancat_exclusive"] +SPANCAT_COMPONENTS = ["spancat", "spancat_singlelabel"] TRAIN_DATA = [ ("Who is Shaka Khan?", {"spans": {SPAN_KEY: [(7, 17, "PERSON")]}}),