Fix token.pyx

This commit is contained in:
Matthew Honnibal 2016-09-23 15:07:07 +02:00
parent b4de419e19
commit 4de13606fd

View File

@ -413,7 +413,7 @@ cdef class Token:
property ent_id:
'''An (integer) entity ID. Usually assigned by patterns in the Matcher.'''
def __get__(self):
return self.c.ent.ent_id
return self.c.ent_id
def __set__(self, hash_t key):
# TODO