mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
Export helper functions for morphology
This commit is contained in:
parent
357066ee2f
commit
c1888b05d2
|
@ -31,3 +31,8 @@ cdef class Morphology:
|
||||||
cdef int assign_tag_id(self, TokenC* token, int tag_id) except -1
|
cdef int assign_tag_id(self, TokenC* token, int tag_id) except -1
|
||||||
|
|
||||||
cdef int _assign_tag_from_exceptions(self, TokenC* token, int tag_id) except -1
|
cdef int _assign_tag_from_exceptions(self, TokenC* token, int tag_id) except -1
|
||||||
|
|
||||||
|
|
||||||
|
cdef int check_feature(const MorphAnalysisC* tag, attr_t feature) nogil
|
||||||
|
|
||||||
|
cdef tag_to_json(MorphAnalysisC tag)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user