mirror of
https://github.com/explosion/spaCy.git
synced 2025-03-12 15:25:47 +03:00
Update header
This commit is contained in:
parent
456e27dc8b
commit
29d39d8a34
|
@ -52,4 +52,4 @@ cdef class TransitionSystem:
|
||||||
cdef int set_valid(self, int* output, const StateC* st) nogil
|
cdef int set_valid(self, int* output, const StateC* st) nogil
|
||||||
|
|
||||||
cdef int set_costs(self, int* is_valid, weight_t* costs,
|
cdef int set_costs(self, int* is_valid, weight_t* costs,
|
||||||
StateClass state, Example example) except -1
|
StateClass state, gold) except -1
|
||||||
|
|
|
@ -115,7 +115,7 @@ cdef class TransitionSystem:
|
||||||
is_valid[i] = self.c[i].is_valid(st, self.c[i].label)
|
is_valid[i] = self.c[i].is_valid(st, self.c[i].label)
|
||||||
|
|
||||||
cdef int set_costs(self, int* is_valid, weight_t* costs,
|
cdef int set_costs(self, int* is_valid, weight_t* costs,
|
||||||
StateClass stcls, Example example) except -1:
|
StateClass stcls, gold) except -1:
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
def get_class_name(self, int clas):
|
def get_class_name(self, int clas):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user