mirror of https://github.com/explosion/spaCy.git
Fix token.pyx
This commit is contained in:
parent
b4de419e19
commit
4de13606fd
|
@ -413,7 +413,7 @@ cdef class Token:
|
||||||
property ent_id:
|
property ent_id:
|
||||||
'''An (integer) entity ID. Usually assigned by patterns in the Matcher.'''
|
'''An (integer) entity ID. Usually assigned by patterns in the Matcher.'''
|
||||||
def __get__(self):
|
def __get__(self):
|
||||||
return self.c.ent.ent_id
|
return self.c.ent_id
|
||||||
|
|
||||||
def __set__(self, hash_t key):
|
def __set__(self, hash_t key):
|
||||||
# TODO
|
# TODO
|
||||||
|
|
Loading…
Reference in New Issue