Docsity

NLP Model Question Paper: Language Processing and Analysis, Exams of Natural Language Processing (NLP)

Toggle sidebar
bg1
Page 1 of 3
USN 21AI62
Sixth Semester B.E. Degree Examination, July/Aug 2024
NATURAL LANGUAGE PROCESSING
(MODEL QUESTION PAPER)
Time: 3 hrs. Max. Marks: 100
Note: Answer any FIVE full questions, choosing ONE full question from each module.
Q. No. Questions Marks BL/CO
Module I
1a. What are some of the primary challenges faced in NLP today? And how does
ambiguity in human language pose a challenge to NLP systems? 6 CL2/CO1
b.
Calculate the probability of the sentence "I love natural language processing"
using a bigram model, given the following probabilities: P(I|<s>)=0.2,
P(love|I)=0.1P (natural|love)=0.05, P(language|natural)=0.03,
P(processing|language)=0.01. Also explain the concept of probability
distribution in the context of statistical language models.
8 CL3/CO1
c. Describe Paninion framework for indian languages. Explain Layered
representation of Paninion Grammar and Karaka Theory. 6 CL2/CO1
OR
2a. Explain the applications of Natural Language Processing. 6 CL2/CO1
b. Explain Add-One smoothing technique to handle the data sparseness problem
in n-gram model with an example. 8 CL3/CO1
c. List the problems associated with n-gram model. Explain how these problems
handled. 6 CL2/CO1
Module II
3a. Illustrate Part of Speech tagging and explain different categories of POS
tagging. 5 CL2/CO2
b. Explain the working of two-step morphological parser. Write a simple Finite
State Transducer (FST) for mapping English nouns. 7 CL2/CO2
c. Explain the minimum edit distance algorithm and compute the minimum edit
distance between EXECUTION and INTENTION. 8 CL3/CO2
OR
4a. Comment on the validity of the following statements:
i. Rule- based taggers are non-deterministic
ii. Stochastic taggers are language dependent
5 CL2/CO2
b. Construct the parse tree for the sentence: “The girl plucked the flower with a
long stick”. Discuss the ambiguity arises from the parse tree. 7 CL2/CO2
c. Compute the minimum edit distance between “PACEFUL” and
“PEACEFUL” 8 CL3/CO2
Module III
pf3

Partial preview of the text

Download NLP Model Question Paper: Language Processing and Analysis and more Exams Natural Language Processing (NLP) in PDF only on Docsity!

USN 21AI

Sixth Semester B.E. Degree Examination, July/Aug 2024

NATURAL LANGUAGE PROCESSING

(MODEL QUESTION PAPER)

Time: 3 hrs. Max. Marks: 100 Note: Answer any FIVE full questions, choosing ONE full question from each module. Q. No. Questions Marks BL/CO Module I 1 a.^ What are some of the primary challenges faced in NLP today? And how does ambiguity in human language pose a challenge to NLP systems?

6 CL2/CO

b. Calculate the probability of the sentence "I love natural language processing" using a bigram model, given the following probabilities: P(I|)=0.2, P(love|I)=0.1P (natural|love)=0.05, P(language|natural)=0.03, P(processing|language)=0.01. Also explain the concept of probability distribution in the context of statistical language models.

8 CL3/CO

c. Describe Paninion framework for indian languages. Explain Layered representation of Paninion Grammar and Karaka Theory.

6 CL2/CO

OR

a. Explain the applications of Natural Language Processing. (^6) CL2/CO b. Explain Add-One smoothing technique to handle the data sparseness problem in n-gram model with an example.

8 CL3/CO

c. List the problems associated with n-gram model. Explain how these problems handled.

6 CL2/CO

Module II 3 a.^ Illustrate Part of Speech tagging and explain different categories of POS tagging.

5 CL2/CO

b. Explain the working of two-step morphological parser. Write a simple Finite State Transducer (FST) for mapping English nouns.

7 CL2/CO

c. Explain the minimum edit distance algorithm and compute the minimum edit distance between EXECUTION and INTENTION.

8 CL3/CO

OR

a. Comment on the validity of the following statements: i. Rule- based taggers are non-deterministic ii. Stochastic taggers are language dependent

5 CL2/CO

b. Construct the parse tree for the sentence: “The girl plucked the flower with a long stick”. Discuss the ambiguity arises from the parse tree.

7 CL2/CO

c. Compute the minimum edit distance between “PACEFUL” and “PEACEFUL”

8 CL3/CO

Module III

(^5) a. (^) Briefly explain the Naive Bayes Classifier. 5 CL2/CO b. Assume the following likelihoods for each word being part of a positive or negative movie review, and equal prior probabilities for each class. Pos Neg I 0.09 0. always 0.07 0. like 0.29 0. foreign 0.04 0. films 0.08 0. What class will Naive bayes assign to the sentence “I always like foreign films.”?

10 CL3/CO

c. (^) Explain the methods for evaluating text classification with two classes. 5 CL2/CO OR 6 a.^ Discuss the naive Bayes algorithm, using add-1 smoothing.^5 CL2/CO b. Given the following short movie reviews, each labeled with a genre, either comedy or action:

  1. fun, couple, love, love comedy
  2. fast, furious, shoot action
  3. couple, fly, fast, fun, fun comedy
  4. furious, shoot, shoot, fun action
  5. fly, fast, shoot, love action and a new document D: fast, couple, shoot, fly compute the most likely class for D. Assume a naive Bayes classifier and use add-1 smoothing for the likelihoods.

10 CL3/CO

c. (^) Explain the evaluation of text classification with more than two classes. 5 CL2/CO Module IV 7 a.^ Illustrate design features of Information retrieval with a neat diagram^7 CL2/CO b. How Stemming affects the performance of Information Retrieval system? (^5) CL2/CO c. Given the sentence "The chef cooked a delicious meal," use FrameNet to break down the sentence into its frame elements and frames. Explain how FrameNet helps in understanding the deeper meaning of the sentence.

8 CL3/CO

OR

a. Describe the following approaches in Information Retrieval: i. Indexing ii. Stop words elimination iii. Stemming

7 CL2/CO

b. State and explain the importance of Zipf law related to words distribution in NLP

5 CL2/CO

c. Given the following sentences, use WordNet to identify the hypernyms and hyponyms of the word "car": Sentence: "He bought a new car yesterday."

8 CL3/CO