Skip to content
EndsemMay 20242019 patternBE Comp

Natural Language Processing (NLP) SPPU Endsem Question Paper May 2024

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 2024
Max. marks
70
Time
2½ Hours
Semester
VIII
Paper code
[6263]-96

Printed for: B.E.(Computer Engineering)

Instructions to the candidates

  1. Answer Q1 or Q2, Q3 or Q4, Q5 or Q6, Q7 or Q8.
  2. Neat diagrams must be drawn wherever necessary.
  3. Figures to the right side indicate full marks.
  4. Assume Suitable data if necessary.

Questions

  1. Q1

    1. a)

      What are generative models of language, and how do they differ from discriminative models? Provide an example of a generative model and describe how it can be used in NLP.

      Also asked:May 2023

      [9]
    2. b)

      Define Latent Dirichlet Allocation (LDA) and explain how it is used for topic modeling in text data. Discuss the key components of LDA, including topics, documents, and word distributions.

      [9]
  2. Q2

    1. a)

      Describe the concept of contextualized representations, such as those generated by BERT, and how they are used in natual language processing. Discuss the advantages and disadvantages of contextualized representations.

      [10]
    2. b)

      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”? 2

      Also asked:May 2023

      [8]
  3. Q3

    1. a)

      Describe the Vector Space Model (VSM) for information retrieval. How does VSM represent documents and queries, and how are similarities calculated? Discuss the strengths and weaknesses of VSM.

      Also asked:May 2025

      [9]
    2. b)

      Discuss the different methods used for evaluating NER systems. What are common metrics for measuring NER system performance, and how can the results be analyzed to improve the system?

      [9]
  4. Q4

    1. a)

      Define Cross-Lingual Information Retrieval (CLIR) and discuss the challenges involved in retrieving information from languages different from the query language. How do machine translation techniques assist in CLIR?

      [9]
    2. b)

      Explain the importance of entity extraction in NLP. How does entity extraction differ from named entity recognition, and provide examples of real-world applications where entity extraction is crucial. [9

  5. Q5

    1. a)

      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:Nov 2025

      [9]
    2. b)

      Compare the Indo Word Net with the traditional WordNet. What are the key differences and advantages of IndoWordNet, especially in the context of Indian languages?

      Also asked:Nov 2025

      [8]
  6. Q6

    1. a)

      Compare and constrast the natural Language Toolkit (NLTK), spaCy, and TexBlob. what are their main features and in what use cases are they most suitable?

      [9]
    2. b)

      What is the significance of PropBank and VerbNet in linguistic resources? Provide examples of how these resoures can be used to extract semantic information from text. 3

      [8]
  7. Q7

    1. a)

      Define natural language generation and its role in NLP. How does NLG differ from text-to-speech synthesis, and what are the applications of NLG in data reporting and storytelling?

      [9]
    2. b)

      Discuss the challenges in cross-lingual translation and provide examples of how it is beneficial in real-world applications.

      [8]
  8. Q8

    1. a)

      Explain the key principles of rule-based machine translation. How do rule-based techniques differ from statistical approaches in machine translation? provide an example of a rule-based translation.

      Also asked:May 2025

      [9]
    2. b)

      Discuss the key components of a conversational agent, such as chatbots or virtual assistants. How do natural language generation and understanding play a role in creating effective conversational agents? 

      [8]