Export helper functions for morphology

This commit is contained in:
Matthew Honnibal 2019-03-07 18:33:06 +01:00
parent 357066ee2f
commit c1888b05d2

View File

@ -31,3 +31,8 @@ cdef class Morphology:
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 check_feature(const MorphAnalysisC* tag, attr_t feature) nogil
cdef tag_to_json(MorphAnalysisC tag)