From 6e37ba1d82c40fc8bf2acba5fe5899742aabb3b2 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 4 Nov 2016 09:54:24 +0100 Subject: [PATCH] Fix #602, #603 --- Broken build --- spacy/morphology.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/morphology.pyx b/spacy/morphology.pyx index b1302454f..ef546e4e6 100644 --- a/spacy/morphology.pyx +++ b/spacy/morphology.pyx @@ -39,7 +39,7 @@ cdef class Morphology: tag_id = self.reverse_index[self.strings[tag]] else: tag_id = self.reverse_index[tag] - self.assign_tag_id(token, tag_id) + self._assign_tag_id(token, tag_id) cdef int _assign_tag_id(self, TokenC* token, int tag_id) except -1: if tag_id >= self.n_tags: