From 1a7a1c27719ef6364c392e73ba35dbe77506e5b3 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 30 Jan 2015 19:47:50 +1100 Subject: [PATCH] * Fix Issue #16: tokens recurse when printing --- spacy/tokens.pyx | 3 --- 1 file changed, 3 deletions(-) diff --git a/spacy/tokens.pyx b/spacy/tokens.pyx index 4f5d45dc5..e089d7832 100644 --- a/spacy/tokens.pyx +++ b/spacy/tokens.pyx @@ -144,9 +144,6 @@ cdef class Tokens: cdef const TokenC* last = &self.data[self.length - 1] return self._string[:last.idx + last.lex.length] - def __str__(self): - return unidecode(unicode(self)) - cdef int push_back(self, int idx, LexemeOrToken lex_or_tok) except -1: if self.length == self.max_length: self._realloc(self.length * 2)