From e1b7cbd197954928974296c6a622ddb70211dd30 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Fri, 29 May 2020 14:33:47 +0200 Subject: [PATCH] Remove MorphAnalysis __str__ and __repr__ --- spacy/tokens/morphanalysis.pyx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spacy/tokens/morphanalysis.pyx b/spacy/tokens/morphanalysis.pyx index e09870741..12f2f6cc3 100644 --- a/spacy/tokens/morphanalysis.pyx +++ b/spacy/tokens/morphanalysis.pyx @@ -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