

def remove_punctuation(self, content):
    if isinstance(content, unicode):
        content = content.encode('utf-8')
    return content.translate(self.TRANS_TABLE, string.punctuation).decode('utf-8')

dataset/ETHPy150Open xiaoxu193/PyTeaser/goose/text.py StopWords.remove_punctuation/original