diff --git a/spacy/orth.pyx b/spacy/orth.pyx index 17922b10c..b2273f665 100644 --- a/spacy/orth.pyx +++ b/spacy/orth.pyx @@ -112,6 +112,8 @@ cpdef bint like_number(unicode string): cpdef unicode word_shape(unicode string): + if len(string) >= 100: + return 'LONG' length = len(string) shape = [] last = ""