Natural Language Processing (NLP) SPPU Endsem Question Paper Nov 2025
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
- Nov 2025
- Max. marks
- 70
- Time
- 2½ Hours
- Semester
- VIII
- Paper code
- [6584]-83
Printed for: B.E. (Computer Engineering)
Instructions to the candidates
- Answer Q1 or Q2, Q3 or Q4, Q5 or Q6, Q7 or Q8.
- Figures to the right indicate full marks.
- Neat diagrams must be drawn whenever necessary.
- Make suitable assumptions whenever necessary.
Questions
Q1
- a)[9]
Given the following sentence corpus: S1: “language models learn patterns” S2: “models learn from data” S3: “data helps improve language models” 1) Construct a bigram model from the above sentences. 2) Compute the smoothed bigram probability of the sentence “language models learn from data” using Add-1 smoothing. 3) Show all intermediate steps including vocabulary size, unigram and bigram counts.
- b)[9]
Explain the concept of probabilistic language modeling using Markov assumptions. Construct a trigram language model using a given text corpus and compute the probability of a given sentence using Maximum Likelihood Estimation (MLE). Illustrate your answer with appropriate equations and examples. 2
OR- a)
Q2
- a)[9]
Explain how Non-negative Matrix Factorization (NMF) differs from Latent Dirichlet Allocation (LDA) in topic modeling. Use a document-term matrix to show how NMF factorizes the matrix and interprets the result.
- b)[9]
Consider the following three documents: • Dl: “neural networks are powerful” • D2: deep learning powers neural models” • D3: “networks and models are important” 1) Compute the TF-IDF score of the term “neural” in all three documents. 2) Show how document frequency (DF) and inverse document frequency (IDF) are computed. 3) Interpret the results to determine in which document “neural” is more significant?
- a)
Q3
- a)[9]
Explain the Vector Space Model in the context of Information Retrieval. How are documents and queries represented and how is relevance computed between them?
- b)[8]
Compare and contrast Entity Extraction, Relation Extraction and Coreference Resolution. How do these tasks contribute to building knowledge from unstructured text? Illustrate with examples.
OR- a)
Q4
- a)[9]
Describe the Named Entity Recognition (NER) system building process. Given a sample sentence, outline the steps you would take to build an NER system using a supervised learning approach.
- b)[8]
What is Cross-Lingual Information Retrieval (CLIR)? Discuss the challenges involved and evaluate the different approaches to implementing CLIR systems. 3
- a)
Q5
- a)[9]
Describe Walker’s algorithm for word sense disambiguation. How does it differ from other disambiguation techniques like Lesk’s Algorithm and what are the scenarios where it can be most effective?
Also asked:May 2024
- b)[9]
List the tools available for the development of NLP applications. Write about the significant features of NLTK and Gensim libraries.
OR- a)
Q6
Q7
ORQ8
- a)[9]
Explain the architecture and challenges of building a Question Answering (QA) system.
- b)[8]
This part has equations that don’t show as text. Open the PDF to read it.
- a)