(SEM VIII) THEORY EXAMINATION 2023-24 NATURAL LANGUAGE PROCESSING
SECTION A
(2 × 10 = 20 | Very Short Answers)
a. Explain Language Modelling
Language modelling is the process of assigning probabilities to sequences of words to predict the likelihood of a sentence in a language.
b. Discuss pragmatic analysis
Pragmatic analysis deals with understanding the meaning of sentences based on context, speaker intention, and real-world knowledge.
c. Concept of knowledge
Knowledge refers to organized information, facts, rules, and relationships that help a system understand and reason about language.
d. Knowledge representation
Knowledge representation is a method of structuring information so that a computer system can use it for reasoning and inference.
e. Stochastic Part-of-Speech tagging
Stochastic POS tagging assigns tags to words based on probability models such as Hidden Markov Models.
f. Concept of Parsing
Parsing is the process of analyzing sentence structure according to grammatical rules to determine syntactic relationships.
g. Frequency and Amplitude
Frequency refers to the number of occurrences of a linguistic feature, while amplitude represents the strength or magnitude of a signal component.
h. Auxiliary verb with example
Auxiliary verbs help main verbs form tense or mood.
Example: She is reading a book.
i. Dependency tags with example
Dependency tags show relationships between words.
Example: In “She eats food”, eats is the root, she is subject, food is object.
j. TF and IDF
TF measures term frequency in a document, while IDF measures how rare a term is across documents.
SECTION B
(Attempt any THREE | 3 × 10 = 30 Marks)
2(a) Evaluating Language Understanding Systems
Language understanding systems are evaluated based on accuracy, precision, recall, robustness, efficiency, and scalability. Evaluation techniques include test corpora, benchmark datasets, human judgment, and task-based performance such as question answering or translation quality.
2(b) Knowledge representation using Semantic Networks and Production Rules
Semantic networks represent knowledge using nodes and links, where nodes represent concepts and links represent relationships.
Production rules use IF–THEN statements to encode logic.
Example:
IF weather is rainy THEN carry umbrella.
2(c) Feature Systems and Augmented Grammar
Feature systems add attributes like number, gender, tense to grammar rules for better parsing accuracy.
Augmented grammars enhance context-free grammar by including semantic and syntactic constraints to reduce ambiguity.
2(d) Handling questions in Context-Free Grammar
Questions are handled by transforming sentence structures using grammar rules.
Example:
Statement: You are reading a book. Question: Are you reading a book?
CFG rearranges subject and auxiliary verb to generate questions.
2(e) Viterbi Search Algorithm
The Viterbi algorithm finds the most probable sequence of hidden states in stochastic models like HMMs.
It uses dynamic programming to compute optimal paths efficiently, commonly used in POS tagging and speech recognition.
SECTION C
3(a) Probabilistic Context-Free Grammars (PCFGs)
PCFGs extend CFGs by assigning probabilities to grammar rules.
They help resolve ambiguity by selecting the most probable parse tree.
PCFGs are widely used in syntactic parsing and NLP applications.
3(b) Steps in Natural Language Understanding
Steps include lexical analysis, syntactic analysis, semantic analysis, discourse analysis, and pragmatic analysis.
These stages transform raw text into meaningful representations for reasoning.
4(a) Transition Network Grammars & Top-Down Chart Parsing
Transition Network Grammars use state diagrams to represent grammar rules.
Top-down chart parsing starts from the start symbol and predicts sentence structure using charts to avoid redundancy.
4(b) Types of knowledge
Types include: Linguistic knowledge
World knowledge Pragmatic knowledge
Discourse knowledge Domain knowledge
5(a) Dependency parsing & Shift-Reduce parsing
Dependency parsing identifies relationships between words.
Shift-reduce parsing uses a stack and input buffer, applying shift and reduce actions to build dependency structures.
5(b) Transition Network Grammar & Recursive Transition Network
Transition Network Grammar represents grammar using state machines.
Recursive Transition Networks allow recursive rules for complex sentence structures.
(The given NP grammar can be drawn using state transitions from ART/DET → ADJ → N.)
6(a) Encoding uncertainty & Shift-Reduce parsing diagram
Encoding uncertainty represents ambiguity using probabilities.
Shift-reduce parsing builds parse trees using stack-based operations guided by grammar rules.
6(b) Database interface in NLP
A database interface allows users to query databases using natural language.
It converts natural language queries into structured SQL queries.
7(a) Probabilistic Context-Free Grammar (detailed)
PCFG assigns probabilities to production rules and selects the most likely parse tree.
It improves parsing accuracy in ambiguous sentences.
7(b) Hidden Markov Model & Baum-Welch Algorithm
HMM is a probabilistic model with hidden states and observable outputs.
Baum-Welch algorithm estimates HMM parameters using expectation-maximization.
Implementation issues include data sparsity, computational complexity, and convergence problems.
Related Notes
BASIC ELECTRICAL ENGINEERING
ENGINEERING PHYSICS THEORY EXAMINATION 2024-25
(SEM I) ENGINEERING CHEMISTRY THEORY EXAMINATION...
THEORY EXAMINATION 2024-25 ENGINEERING MATHEMATICS...
(SEM I) THEORY EXAMINATION 2024-25 ENGINEERING CHE...
(SEM I) THEORY EXAMINATION 2024-25 ENVIRONMENT AND...
Need more notes?
Return to the notes store to keep exploring curated study material.
Back to Notes StoreLatest Blog Posts
Best Home Tutors for Class 12 Science in Dwarka, Delhi
Top Universities in Chennai for Postgraduate Courses with Complete Guide
Best Home Tuition for Competitive Exams in Dwarka, Delhi
Best Online Tutors for Maths in Noida 2026
Best Coaching Centers for UPSC in Rajender Place, Delhi 2026
How to Apply for NEET in Gurugram, Haryana for 2026
Admission Process for BTech at NIT Warangal 2026
Best Home Tutors for JEE in Maharashtra 2026
Meet Our Exceptional Teachers
Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication
Explore Tutors In Your Location
Discover expert tutors in popular areas across India
Discover Elite Educational Institutes
Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies