1. Learn
  2. /
  3. Courses
  4. /
  5. Natural Language Processing (NLP) in Python

Connected

Exercise

Part of Speech tagging for text analysis

A language learning app wants to help users understand sentence structure by highlighting the grammatical role of each word. Your task is to use a Hugging Face pipeline to label each word in a given sentence with its corresponding PoS tag.

Instructions

100 XP
  • Create a pos_pipeline using the "vblagoje/bert-english-uncased-finetuned-pos" model.
  • Apply the pipeline on the provided sentence.