mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
* Remove has_sense method from Lexeme declaration
This commit is contained in:
parent
6ddb2f5e45
commit
78db7e32f7
|
@ -72,8 +72,6 @@ cdef class Lexeme:
|
|||
|
||||
cpdef bint check(self, attr_id_t flag_id) except -1
|
||||
|
||||
cpdef bint has_sense(self, flags_t flag_id) except -1
|
||||
|
||||
|
||||
cdef inline bint check_flag(const LexemeC* lexeme, attr_id_t flag_id) nogil:
|
||||
return lexeme.flags & (1 << flag_id)
|
||||
|
|
Loading…
Reference in New Issue
Block a user