mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-14 11:36:24 +03:00
* Tweak to ner
This commit is contained in:
parent
362f87dc3a
commit
1fee7ade61
|
@ -193,7 +193,7 @@ cdef class Begin:
|
||||||
|
|
||||||
if g_act == MISSING:
|
if g_act == MISSING:
|
||||||
return 0
|
return 0
|
||||||
if g_act == BEGIN:
|
elif g_act == BEGIN:
|
||||||
# B, Gold B --> Label match
|
# B, Gold B --> Label match
|
||||||
return label != g_tag
|
return label != g_tag
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user