Challenge: Part of Speech Tagging
Compito
Swipe to start coding
Your are given some text in text
variable. This text is already tokenized. Your task is to perform POS tagging and print the results as a DataFrame. To do this:
- Import the correct function for POS tagging.
- Download the model needed for NLTK's POS tagging.
- Perform POS tagging and save the results in
tagged_tokens
. - Convert the result to DataFrame (do NOT transpose it).
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 6
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Suggested prompts:
Riassuma questo capitolo
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 3.45
Challenge: Part of Speech Tagging
Scorri per mostrare il menu
Compito
Swipe to start coding
Your are given some text in text
variable. This text is already tokenized. Your task is to perform POS tagging and print the results as a DataFrame. To do this:
- Import the correct function for POS tagging.
- Download the model needed for NLTK's POS tagging.
- Perform POS tagging and save the results in
tagged_tokens
. - Convert the result to DataFrame (do NOT transpose it).
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Awesome!
Completion rate improved to 3.45Sezione 2. Capitolo 6
single