Clean up notes at end of token.pyx

This commit is contained in:
Matthew Honnibal 2016-09-21 20:45:51 +02:00
parent f6e587b1c7
commit c1a2e96604

View File

@ -528,17 +528,3 @@ cdef class Token:
property like_email:
def __get__(self): return Lexeme.c_check_flag(self.c.lex, LIKE_EMAIL)
doc = nlp('Google Now is a moribund project destined for closure.')
google_now = doc.ents[0] # Span instance
google_now.attrs['category'] == 'TECHNOLOGY'
ent_id = google_now.ent_id
attrs = nlp.matcher.get_attrs(ent_id)