You are on page 1of 1

Roll Number:

Thapar Institute of Engineering and Technology, Patiala


Computer Science & Engineering Department
ME 1st Year Mid Semester Test PCS224: Natural Language Processing
March 14th, 2019 01:00 PM Time: 02 Hours; MM: 30
Name of Faculty: Dr. Ravinder Kumar
Note: All questions are compulsory. Assume if any missing data.

Q1: Consider the given dataset, Apply Naive - Bayes algorithm and predict that if
NewObject has the following properties then which type of NewObject it is: 5
NewObject = {P1, P2, P3, P4} = ?
Object P1 P2 P3 P4 Total
01 200 300 500 250 1250
02 450 150 500 100 1200
03 50 250 350 450 1100
04 100 400 200 300 1000
Total800 1100 1550 1100 4550
Q2: Consider the following words, 5
■ Geese
■ Goose
■ Gooses
■ Cat
■ Cats
Use Jaccard distance and average linkage method to create clusters of
morphologically related words.
Q3: Differentiate between Stems and Affixes with suitable example. 4
Q4: What is Inflectional and Derivational morphology explain with suitable example? 4
Q5: a) What role is played by Named Entity Recognition (NER) in NLP? 3
b) Write a procedure to find the Named Entity in NLP. Explain with suitable
example. 4
Q6: Find the Sensitivity and specificity for the given confusion matrix.

Actual
X Y Z
X 12 102 93
S
-1=1 Y 112 23 77
Z 83 92 17

You might also like