fix token.morph_ for v.3 (cf PR #5517)

This commit is contained in:
svlandeg 2020-06-20 21:13:11 +02:00
parent 5424b70e51
commit dc069e90b3

View File

@ -73,3 +73,10 @@ cdef class MorphAnalysis:
"""Produce a dict representation.
"""
return self.vocab.morphology.feats_to_dict(self.to_json())
def __str__(self):
return self.to_json()
def __repr__(self):
return self.to_json()