Natural Language Processing (NLP) SPPU Endsem Question Paper May 2023
All 8 questions from this SPPU endsem paper, as printed. Read them here or open the PDF.
- Subject code
- 410252(A)
- Pattern
- 2019 pattern
- Exam
- Endsem
- Session
- May 2023
- Max. marks
- 70
- Time
- 2½ Hours
- Semester
- VIII
- Paper code
- [6004]-495
Printed for: B.E. (Computer Engg.)
Instructions to the candidates
- Solve Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6 and Q.7 or Q.8.
- Neat diagrams must be drawn wherever necessary.
- Figures to the right indicate full marks.
- Use of calculator is allowed.
- Assume suitable data, if necessary.
Questions
Q1
- a)[6]
Describe the process of building a simple Markov model for predicting the next word in a sentence with the help of example.
- b)[8]
Suppose you have a text corpus of 10,000 words, and you want to build a bigram model from this corpus. The vocabulary size of the corpus is 5,000. After counting the bigrams in the corpus, you found that the bigram “the cat” appears 50 times, while the unigram “the” appears 1000 times and the unigram “cat” appears 100 times. Using the add-k smoothing method with k=0.5, what is the probability of the sentence “the cat sat on the mat”?
Also asked:May 2024
- c)[4]
OR- a)
Q2
- a)[4]
What are generative models of language, and how do they differ from discriminative models?
Also asked:May 2024
- b)[6]
This part has equations that don’t show as text. Open the PDF to read it.
- c)[8]
Describe the Latent Dirichlet Allocation (LDA) algorithm and how it is used for topic modeling? 2
Also asked:Nov 2023
- a)
Q3
- a)[4]
Describe the concept of Information Retrieval system in Natural Language Processing.
Also asked:Nov 2023
- b)[8]
What is Named Entity Recognition (NER)? Describe the various metrics used for evaluation.
Also asked:Nov 2023
- c)[6]
What is Cross-Lingual Information Retrieval and how is it used in Natural Language Processing? Provide an example.
Also asked:Nov 2023
OR- a)
Q4
Q5
ORQ6
Q7
ORQ8