1. Learn
  2. /
  3. Courses
  4. /
  5. Natural Language Processing (NLP) in Python

Connected

Exercise

Removing punctuation

Now that you've removed stop words from the feedback text, it's time to handle punctuation. The tokens you obtained in the previous exercise still contain punctuation marks, which are often unnecessary when categorizing feedback.

Your task is to remove punctuation from the list of tokens provided, helping to clean up the data even further.

Instructions

100 XP
  • Clean the filtered_tokens list by removing all punctuation.