(SEM VIII) THEORY EXAMINATION 2023-24 NATURAL LANGUAGE PROCESSING

B.Tech Engineering 0 downloads
₹29.00

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.

File Size
142.84 KB
Uploader
SuGanta International
⭐ Elite Educators Network

Meet Our Exceptional Teachers

Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication

KISHAN KUMAR DUBEY

KISHAN KUMAR DUBEY

Sant Ravidas Nagar Bhadohi, Uttar Pradesh , Babusarai Market , 221314
5 Years
Years
₹10000+
Monthly
₹201-300
Per Hour

This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduati...

Swethavyas bakka

Swethavyas bakka

Hyderabad, Telangana , 500044
10 Years
Years
₹10000+
Monthly
₹501-600
Per Hour

I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and interm...

Vijaya Lakshmi

Vijaya Lakshmi

Hyderabad, Telangana , New Nallakunta , 500044
30+ Years
Years
₹9001-10000
Monthly
₹501-600
Per Hour

I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapu...

Shifna sherin F

Shifna sherin F

Gudalur, Tamilnadu , Gudalur , 643212
5 Years
Years
₹6001-7000
Monthly
₹401-500
Per Hour

Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the righ...

Divyank Gautam

Divyank Gautam

Pune, Maharashtra , Kothrud , 411052
3 Years
Years
Not Specified
Monthly
Not Specified
Per Hour

An IIT graduate having 8 years of experience teaching Maths. Passionate to understand student proble...

Explore Tutors In Your Location

Discover expert tutors in popular areas across India

Public Speaking Training Near Sector 108 Noida – Build Confidence and Communication Skills Noida
Guitar Classes Near By Hauz Khas Learn Guitar with Expert Guidance & Turn Your Passion into a Powerful Skill Hauz Khas, Delhi
App Development Classes Near Noida Sector 100 – Learn Mobile App Development and Start Your Tech Career Sector 100, Noida
Guitar Classes Near Central Noida Sector 5 – Learn Guitar with Professional Trainers B Block Sector 5, Noida
Singing / Vocal Training Near DLF Phase 2 Gurugram – Professional Voice Training for Kids, Beginners & Aspiring Singers DLF Phase 2, Gurugram
Voice-over Training Near Sushant Lok Phase 2 – Build a Powerful & Professional Voice Career Gurugram
Coding Classes for Kids Near By Kirti Nagar – Build Future-Ready Skills Early Kirti Nagar, Delhi
Photography Basics Classes Near By Dwarka Mor – Learn the Art Behind the Lens Dwarka Mor, Delhi
Guitar Classes Near New Friends Colony – Learn Guitar from Expert Trainers in South Delhi New Friends Colony, Delhi
Study Abroad Consultation Near Sector 101 Dwarka Expressway, Gurugram – Your Gateway to Global Education Gurugram
Competitive Exam Coaching Near Dwarka Mor Complete Preparation for Government & Entrance Exams with Expert Guidance Dwarka Mor, Delhi
Spanish Language Classes Near Sector 113 Noida – Learn Spanish with Professional Training Noida
Yoga Classes Near Malviya Nagar Build Strength, Reduce Stress & Transform Your Lifestyle with Professional Yoga Training in 2026 Malviya Nagar, Delhi
Coding Classes for Kids Near Sector 65 Gurugram – Build Future Tech Leaders from an Early Age Sector 65, Gurugram
Spoken English Classes Near By Vasant Kunj Improve Fluency, Build Confidence & Achieve Career Growth in 2026 Vasant Kunj, Delhi
Spoken English Classes Near By Najafgarh Improve Fluency, Build Confidence & Open New Career Opportunities in 2026 Najafgarh, Delhi
Geography Classes Near Sector 92 Gurugram – Build Strong Concepts, Map Skills & Exam Confidence Gurugram
Photography Basics Classes Near Sector 82 Gurugram – Learn, Click & Create H Block Sector 82, Gurugram
Harmonium Classes Near DLF Golf Course Road – Learn Classical & Devotional Music Gurugram
Career Counseling Near Sector 100 Dwarka Expressway, Gurugram – Guidance for a Clear & Confident Future Gurugram
⭐ Premium Institute Network

Discover Elite Educational Institutes

Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies

Réussi Academy of languages

sugandha mishra

Réussi Academy of languages
Madhya pradesh, Indore, G...

Details

Coaching Center
Private
Est. 2021-Present

Sugandha Mishra is the Founder Director of Réussi Academy of Languages, a premie...

IGS Institute

Pranav Shivhare

IGS Institute
Uttar Pradesh, Noida, Sec...

Details

Coaching Center
Private
Est. 2011-2020

Institute For Government Services

Krishna home tutor

Krishna Home tutor

Krishna home tutor
New Delhi, New Delhi, 110...

Details

School
Private
Est. 2001-2010

Krishna home tutor provide tutors for all subjects & classes since 2001

Edustunt Tuition Centre

Lakhwinder Singh

Edustunt Tuition Centre
Punjab, Hoshiarpur, 14453...

Details

Coaching Center
Private
Est. 2021-Present
Great success tuition & tutor

Ginni Sahdev

Great success tuition & tutor
Delhi, Delhi, Raja park,...

Details

Coaching Center
Private
Est. 2011-2020