mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 00:46:28 +03:00
Remove morph_key from token api
This commit is contained in:
parent
c1888b05d2
commit
1a10bf29bc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user