Course Content
Introduction to NLP
Introduction to NLP
Challenge: Tokenizing a Sentence
Task
Your task is to tokenize the given excerpt from 'The Adventures of the Musgrave Ritual' into sentences and then tokenize the last sentence into words. Use the nltk
functions for this purpose and use the negative index to retrieve the last sentence and convert this sentence to lowercase.
Thanks for your feedback!
Challenge: Tokenizing a Sentence
Task
Your task is to tokenize the given excerpt from 'The Adventures of the Musgrave Ritual' into sentences and then tokenize the last sentence into words. Use the nltk
functions for this purpose and use the negative index to retrieve the last sentence and convert this sentence to lowercase.
Thanks for your feedback!
Challenge: Tokenizing a Sentence
Task
Your task is to tokenize the given excerpt from 'The Adventures of the Musgrave Ritual' into sentences and then tokenize the last sentence into words. Use the nltk
functions for this purpose and use the negative index to retrieve the last sentence and convert this sentence to lowercase.
Thanks for your feedback!
Task
Your task is to tokenize the given excerpt from 'The Adventures of the Musgrave Ritual' into sentences and then tokenize the last sentence into words. Use the nltk
functions for this purpose and use the negative index to retrieve the last sentence and convert this sentence to lowercase.