mirror of https://github.com/explosion/spaCy.git
Remove MorphAnalysis __str__ and __repr__
This commit is contained in:
parent
aecd1437cc
commit
e1b7cbd197
|
@ -46,12 +46,6 @@ cdef class MorphAnalysis:
|
|||
"""The number of features in the analysis."""
|
||||
return self.c.length
|
||||
|
||||
def __str__(self):
|
||||
return self.to_json()
|
||||
|
||||
def __repr__(self):
|
||||
return self.to_json()
|
||||
|
||||
def __hash__(self):
|
||||
return self.key
|
||||
|
||||
|
|
Loading…
Reference in New Issue