Update header

This commit is contained in:
Matthew Honnibal 2020-06-20 21:50:06 +02:00
parent 456e27dc8b
commit 29d39d8a34
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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):