mirror of
https://github.com/explosion/spaCy.git
synced 2025-06-25 07:23:05 +03:00
rename spancat_exclusive to singlelable
This commit is contained in:
parent
3f6fd410cc
commit
f1e091a31f
|
@ -15,7 +15,7 @@ OPS = get_current_ops()
|
||||||
|
|
||||||
SPAN_KEY = "labeled_spans"
|
SPAN_KEY = "labeled_spans"
|
||||||
|
|
||||||
SPANCAT_COMPONENTS = ["spancat", "spancat_exclusive"]
|
SPANCAT_COMPONENTS = ["spancat", "spancat_singlelabel"]
|
||||||
|
|
||||||
TRAIN_DATA = [
|
TRAIN_DATA = [
|
||||||
("Who is Shaka Khan?", {"spans": {SPAN_KEY: [(7, 17, "PERSON")]}}),
|
("Who is Shaka Khan?", {"spans": {SPAN_KEY: [(7, 17, "PERSON")]}}),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user