From 4de13606fd871d9b29e8ea2f22e1d4b9b5676220 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 23 Sep 2016 15:07:07 +0200 Subject: [PATCH] Fix token.pyx --- spacy/tokens/token.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tokens/token.pyx b/spacy/tokens/token.pyx index 92af36ba4..9b612a867 100644 --- a/spacy/tokens/token.pyx +++ b/spacy/tokens/token.pyx @@ -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