NLP, Python, Data Science, Computer Science, Natural Language Processi.
punctuations = [] for p in punctuation: #Keeping ' since it could be part of a modal verb like can't, won't etc. if p != "'": punctuations.append(p) text = "Before I cancel this Netflix subscription, any good shows to watch?" text = "".join([char for char in text if char not in punctuations] #text