Fix #602, #603 --- Broken build

This commit is contained in:
Matthew Honnibal 2016-11-04 09:54:24 +01:00
parent 99a7ef40b8
commit 6e37ba1d82

View File

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