mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
Switch reset value for set_morph to None
This commit is contained in:
parent
568768643e
commit
77e08c398f
|
@ -223,7 +223,7 @@ cdef class Token:
|
|||
|
||||
def set_morph(self, features):
|
||||
cdef hash_t key
|
||||
if features is 0:
|
||||
if features is None:
|
||||
self.c.morph = 0
|
||||
else:
|
||||
if isinstance(features, int):
|
||||
|
|
Loading…
Reference in New Issue
Block a user