mirror of
https://github.com/explosion/spaCy.git
synced 2025-03-12 07:15:48 +03:00
Update header
This commit is contained in:
parent
0c10831b14
commit
52edb24f07
|
@ -52,4 +52,4 @@ cdef class TransitionSystem:
|
|||
cdef int set_valid(self, int* output, const StateC* st) nogil
|
||||
|
||||
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)
|
||||
|
||||
cdef int set_costs(self, int* is_valid, weight_t* costs,
|
||||
StateClass stcls, Example example) except -1:
|
||||
StateClass stcls, gold) except -1:
|
||||
raise NotImplementedError
|
||||
|
||||
def get_class_name(self, int clas):
|
||||
|
|
Loading…
Reference in New Issue
Block a user