Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
243 B
0
Indexable
Never
def process_stop_words(words):
    return list(map(lambda text:normalize("NFKD", text).encode("ascii", "ignore").decode("utf-8").lower().translate(str.maketrans('','',string.punctuation)).translate(str.maketrans('','',"\r\n\t\v\f")),words))