Path: blob/master/Natural Language Processing using Python/Day 1 Lab .ipynb
3074 views
sample_text = """ Here’s a 5-line sample text containing Data and AI:
"Data is the backbone of modern Artificial Intelligence systems. AI models rely heavily on structured and unstructured data to learn and make predictions. The quality of insights depends on the richness and accuracy of the data. AI advancements are enabling real-time data analysis and decision-making. Together, Data and AI are driving innovation across industries." . """
Ques1
Write a Python script to tokenize the following sample text into words.
Write a Python script to tokenize the following sample text into sentences.
Write a Python script to perform part-of-speech tagging on the following sample text.
Write a Python script to perform named entity recognition on the following sample text.
Write a Python script to perform stemming on the "Dancing Running and Sleeping".
Write a Python script to perform lemmatization on the "Dancing Running and Sleeping".
Write a Python script to extract custom named entities
Write a Python script to perform dependency parsing on the following sample text.
Ques2
Create chunking, focusing on extracting noun phrases (NP) along with prepositional phrases (PP) from the following sample texts:
Ram Loves his Life. He have a cat named RUMMY
The quick brown fox jumps over the lazy dog