From 1a10bf29bcafa8676a84c8178a16c8db87e8a6fb Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 7 Mar 2019 18:33:17 +0100 Subject: [PATCH] Remove morph_key from token api --- spacy/tokens/token.pyx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spacy/tokens/token.pyx b/spacy/tokens/token.pyx index 1b60a3271..7249a2b60 100644 --- a/spacy/tokens/token.pyx +++ b/spacy/tokens/token.pyx @@ -173,10 +173,6 @@ cdef class Token: return (numpy.dot(self.vector, other.vector) / (self.vector_norm * other.vector_norm)) - property morph_key: - def __get__(self): - return self.c.morph - property morph: def __get__(self): return MorphAnalysis.from_id(self.vocab, self.c.morph)