NATURAL LANGUAGE PROCESSING WITH PYTHON LAB (201AM3S01)
1 a)Discuss list in python with an example.
b)Demonstrate Noise Removal for any textual data and
remove regular expression pattern such as hash tag from
textual data
2 a)Explain Pandas in python
b)Perform lemmatization and stemming using python
library nltk.
3 a) Develop a NumPy program to create a new array of
shape (5,6) and filled with zeros.
b) Demonstrate object standardization such as replace
social media slangs from a text
4 a) Develop a NumPy program to create a new array of
shape (5,6) and filled with zeros.
b) Perform part of speech tagging on any textual data.
5 a. Develop a python Program to remove duplicate
elements from the list
b) Implement topic modeling using Latent Dirichlet
Allocation (LDA ) in python.
a) Develop a python Program to print duplicate elements
6 from the list
b) Demonstrate Term Frequency – Inverse Document
Frequency (TF – IDF) using python
7 a) Write a NumPy program to create a 3x3 identity matrix,
i.e. diagonal elements are 1, the rest are 0.
b) Demonstrate word embeddings using word2vec
a) Discuss Dictionaries in Python with an example
8
b) Implement Text classification using naïve bayes
classifier and text blob library.
9 a) Develop a python program to test a given string is a
palindrome or not.
b) Apply support vector machine for text classification
1 a) Create a list of 10 integers find max, min, sum and
0 average of the elements.
b) Convert text to vectors (using term frequency) and
apply cosine similarity to provide closeness among two
texts.