mirror of https://github.com/explosion/spaCy.git
Fix mistake in ner feature
This commit is contained in:
parent
8a693c2605
commit
53a3824334
|
@ -100,7 +100,7 @@ cdef cppclass StateC:
|
|||
ids[4] = this.E(0)-1
|
||||
else:
|
||||
ids[4] = -1
|
||||
if ids[3] < (this.length+1):
|
||||
if (ids[3]+1) < this.length:
|
||||
ids[5] = this.E(0)+1
|
||||
else:
|
||||
ids[5] = -1
|
||||
|
|
Loading…
Reference in New Issue