mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 10:46:29 +03:00
* Free lexemes clobbered as happaxes
This commit is contained in:
parent
5b6457e80e
commit
c48214460e
|
@ -30,7 +30,7 @@ cdef class FixedTable:
|
||||||
if self.values[bucket] == value:
|
if self.values[bucket] == value:
|
||||||
clobbered = 0
|
clobbered = 0
|
||||||
else:
|
else:
|
||||||
clobbered = self.values[clobbered]
|
clobbered = self.values[bucket]
|
||||||
self.keys[bucket] = key
|
self.keys[bucket] = key
|
||||||
self.values[bucket] = value
|
self.values[bucket] = value
|
||||||
return clobbered
|
return clobbered
|
||||||
|
|
Loading…
Reference in New Issue
Block a user