Challenge: Part of Speech Tagging
Tehtävä
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).
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 2. Luku 6
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Suggested prompts:
Tiivistä tämä luku
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 3.45
Challenge: Part of Speech Tagging
Pyyhkäise näyttääksesi valikon
Tehtävä
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).
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Awesome!
Completion rate improved to 3.45Osio 2. Luku 6
single