def __correction(self,text):
        """
        spell correction
        """
        new_text = []
        for i in text.split():
            if len(i)>3:
                low = i.lower()
                new_text.append(i if WORDS[i] else correction(i))
            else:new_text.append(i)
        return " ".join(new_text)
def __correction ( self , text ) : new_text = [ ] for i in text . split ( ) : if len ( i ) > 3 : low = i . lower ( ) new_text . append ( i if WORDS [ i ] else correction ( i ) ) else : new_text . append ( i ) return " " . join ( new_text )
spell correction