Contenido del Curso
Introduction to NLP
Introduction to NLP
2. Stemming and Lemmatization
Challenge: Tokenizing a Sentence
Tarea
Swipe to start coding
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 1. Capítulo 4
Challenge: Tokenizing a Sentence
Tarea
Swipe to start coding
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 1. Capítulo 4