How to remove certain words from text while keeping punctuation marks
How to remove certain words from text while keeping punctuation marks Question: I have the following code that removes Bangla words from given text. It can remove listed words from text successfully, but it fails to remove a word with punctuation. For example, here, from input text "বিশ্বের তথা দূষিত না বায়ুর না, শহরের না।", …