mirror of https://github.com/explosion/spaCy.git
* Remove has_sense method from Lexeme
This commit is contained in:
parent
b64c843861
commit
3c270fc8ff
|
@ -46,6 +46,3 @@ cdef class Lexeme:
|
||||||
|
|
||||||
cpdef bint check(self, attr_id_t flag_id) except -1:
|
cpdef bint check(self, attr_id_t flag_id) except -1:
|
||||||
return self.flags & (1 << flag_id)
|
return self.flags & (1 << flag_id)
|
||||||
|
|
||||||
cpdef bint has_sense(self, flags_t flag_id) except -1:
|
|
||||||
return self.senses & (1 << flag_id)
|
|
||||||
|
|
Loading…
Reference in New Issue