From 29d39d8a349975d34cc6bc0aa777b8d2cd85cf19 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 20 Jun 2020 21:50:06 +0200 Subject: [PATCH] Update header --- spacy/syntax/transition_system.pxd | 2 +- spacy/syntax/transition_system.pyx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/syntax/transition_system.pxd b/spacy/syntax/transition_system.pxd index 21752b15f..836c08168 100644 --- a/spacy/syntax/transition_system.pxd +++ b/spacy/syntax/transition_system.pxd @@ -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 diff --git a/spacy/syntax/transition_system.pyx b/spacy/syntax/transition_system.pyx index 687c234d0..319550161 100644 --- a/spacy/syntax/transition_system.pyx +++ b/spacy/syntax/transition_system.pyx @@ -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):