Course Content
Introduction to NLP
Introduction to NLP
Challenge: Tokenizing Using Regex
Task
Given a string named message
, convert it lowercase, then tokenize it into words using regular expression tokenization and the corresponding nltk
class. A word is a sequence of only alphanumeric characters (letters and numbers). '#Conference2023!'
, for example, contains one word: Conference2023
.
Thanks for your feedback!
Challenge: Tokenizing Using Regex
Task
Given a string named message
, convert it lowercase, then tokenize it into words using regular expression tokenization and the corresponding nltk
class. A word is a sequence of only alphanumeric characters (letters and numbers). '#Conference2023!'
, for example, contains one word: Conference2023
.
Thanks for your feedback!
Challenge: Tokenizing Using Regex
Task
Given a string named message
, convert it lowercase, then tokenize it into words using regular expression tokenization and the corresponding nltk
class. A word is a sequence of only alphanumeric characters (letters and numbers). '#Conference2023!'
, for example, contains one word: Conference2023
.
Thanks for your feedback!
Task
Given a string named message
, convert it lowercase, then tokenize it into words using regular expression tokenization and the corresponding nltk
class. A word is a sequence of only alphanumeric characters (letters and numbers). '#Conference2023!'
, for example, contains one word: Conference2023
.