def _clean_str ( self , s ) : return s . translate ( str . maketrans ( '' , '' , punctuation ) ) . replace ( '\u200b' , " " ) . strip ( ) . lower ( )
remove all punctuations in python string
Returns a lowercase string with punctuation and bad chars removed : param s : string to clean
def _clean_str(self, s):
        """ Returns a lowercase string with punctuation and bad chars removed
        :param s: string to clean
        """
        return s.translate(str.maketrans('', '', punctuation)).replace('\u200b', " ").strip().lower()