Я знаю, что существует множество примеров удаления знаков препинания, но я хочу знать, как это сделать наиболее эффективно. У меня есть список слов, которые я прочитал из текстового файла и разделил
wordlist = open('Tyger.txt', 'r').read().split()
Как быстрее всего проверить каждое слово и убрать все знаки препинания? Я могу сделать это с кучей кода, но я знаю, что это не самый простой способ.
Спасибо!!