mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Fix token.pyx
This commit is contained in:
parent
b4de419e19
commit
4de13606fd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user