(SEM VII) THEORY EXAMINATION 2024-25 NATURAL LANGUAGE PROCESSING

B.Tech Engineering 0 downloads
₹29.00

NATURAL LANGUAGE PROCESSING (KCS072)

B.Tech – Semester VII
 

Time: 3 Hours | Max Marks: 100

SECTION – A (10 × 2 = 20 Marks)

(Attempt all questions in brief)

 

(a) How does context influence error detection?

Context helps error detection by considering surrounding words and sentence meaning. A word that is correct in spelling may still be incorrect in context, for example “their” instead of “there,” which can only be detected using contextual information.

 

(b) Explain the backward algorithm used in HMM for PoS tagging.

The backward algorithm computes the probability of observing the remaining sequence of words from a given state. It starts from the end of the sentence and moves backward, helping calculate overall tag probabilities efficiently.

 

(c) Example of unification of feature structures for number and gender agreement.

For the sentence “She runs”, unification ensures:

Subject: number = singular, gender = feminine

Verb: number = singular
Both agree, so unification succeeds.

 

(d) Limitations of CFGs in modeling natural language syntax.

CFGs cannot handle long-distance dependencies, agreement constraints, and semantic relationships effectively. They also struggle with ambiguity and context-sensitive constructions.

 

(e) Dictionary-based vs distributional methods for word similarity.

Dictionary-based methods use predefined meanings and synonyms, while distributional methods learn similarity from word usage patterns in large corpora. Distributional methods adapt better to real-world language use.

 

(f) Define selectional restrictions.

Selectional restrictions are semantic constraints that restrict which words can logically combine, such as “eat” requiring an animate subject and edible object.

 

(g) How are speech sounds classified?

Speech sounds are classified as vowels and consonants based on vocal tract configuration, voicing, place of articulation, and manner of articulation.

 

(h) Effect of vocal tract shape and size on speech spectrum.

The shape and size of the vocal tract determine formant frequencies, which define vowel quality and affect the spectral envelope of speech sounds.

 

(i) Demonstrate the Viterbi algorithm.

The Viterbi algorithm finds the most probable sequence of hidden states by dynamic programming, storing maximum probabilities and backtracking to find the best path.

 

(j) Compare LPC and PLP coefficients.

LPC models speech using linear prediction, while PLP incorporates perceptual aspects of human hearing, making PLP more robust to noise.

 

SECTION – B (Attempt any THREE) (3 × 10 = 30 Marks)

2(a) Regular expression (ab)*c: Finite State Automaton

The regular expression allows zero or more repetitions of “ab” followed by “c”.

The FSA starts at the initial state, loops on “ab”, and transitions to the final state on “c”. It accepts strings like “c”, “abc”, “abababc”.

 

2(b) Ambiguity in sentence using dependency grammar

Sentence: “The dog saw the man with the telescope.”

Ambiguity arises because “with the telescope” can modify either “saw” or “the man”.
Resolution can be achieved using semantic roles or probabilistic parsing.

 

2(c) Syntax-driven semantic analysis

Syntax-driven semantic analysis attaches meaning during parsing.

For “John gave Mary a book”:

Giver: John

Receiver: Mary

Object: book

This semantic structure is built alongside syntactic parsing.

 

2(d) Filter-bank vs LPC methods

Filter-bank methods analyze speech energy across frequency bands. LPC models the vocal tract using linear prediction. Filter-bank methods are simpler, while LPC provides compact representation.

 

2(e) Likelihood distortions in speech recognition

Likelihood distortions occur due to noise, channel mismatch, or speaker variation.
These distortions reduce recognition accuracy and affect perceived speech quality.

 

SECTION – C (Attempt any ONE) (1 × 10 = 10 Marks)

3(a) Minimum Edit Distance between “intention” and “execution”

Operations used: insertion, deletion, substitution.

Alignment steps show multiple substitutions and insertions.
The minimum edit distance = 5.

 

3(b) Interpolation vs Backoff smoothing

Interpolation combines probabilities from different n-gram models using weights.
Backoff uses lower-order models only when higher-order counts are zero.

 

SECTION – D (Attempt any ONE) (1 × 10 = 10 Marks)

4(a) Treebanks in NLP

Treebanks are annotated corpora with syntactic trees. They help train and evaluate parsers by providing supervised learning data.

Example: Penn Treebank.

 

4(b) CYK parsing algorithm

CYK is a bottom-up parsing algorithm for CFGs in Chomsky Normal Form.
It uses a dynamic programming table to determine whether a sentence belongs to a grammar.

 

SECTION – E (Attempt any ONE) (1 × 10 = 10 Marks)

5(a) Supervised WSD using example “bank”

Supervised WSD uses labeled training data where each sense is predefined. A classifier learns contextual features to predict correct word sense.

 

5(b) Bootstrapping method for WSD

Bootstrapping starts with seed words and iteratively expands sense-labeled data by learning from high-confidence predictions.

 

SECTION – F (Attempt any ONE) (1 × 10 = 10 Marks)

6(a) Log-spectral distance measure

It measures the difference between two spectra using logarithmic power values.
It reflects perceptual differences in speech signals.

 

6(b) LPC coefficient derivation

LPC coefficients are derived by minimizing prediction error using autocorrelation and Levinson-Durbin algorithm.

 

SECTION – G (Attempt any ONE) (1 × 10 = 10 Marks)

7(a) Spectral distortion measures

Measures like cepstral distance quantify differences between speech spectra and are used to evaluate speech coding quality.

 

7(b) Role of HMMs in speech recognition

HMMs model temporal variations in speech.
The forward algorithm computes observation probability, while the backward algorithm computes future likelihoods.

File Size
146.99 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

Yoga Classes Near Sector 136 Greater Noida – Improve Your Health, Flexibility and Mental Wellness Noida
Prenatal Yoga Training Near By Uttam Nagar – Safe & Guided Pregnancy Wellness Uttam Nagar, Delhi
Prenatal Yoga Training Near Uppal Southend, Gurugram – A Calm & Healthy Pregnancy Journey Uppal Southend, Gurugram
Spoken English Classes Near By Okhla Improve Fluency, Build Confidence & Advance Your Career in 2026 Okhla, Delhi
Drum Lessons (Electronic Drums Preferred at Home) Near Sector 146 Noida – Learn Drumming with Professional Trainers Sector 146, Noida
Foreign Language Classes Near By Kirti Nagar Learn Global Languages & Unlock International Opportunities Kirti Nagar, Delhi
Spoken English Classes Near By Defence Colony Improve Communication Skills, Confidence & Career Opportunities in 2026 Defence Colony, Delhi
Spoken English Classes Near By Hari Nagar Improve Fluency, Build Confidence & Unlock Career Opportunities in 2026 Hari Nagar, Delhi
Soap Making Classes Near By Dwarka Mor – Learn Handmade & Herbal Soap Crafting Dwarka Mor, Delhi
Data Analytics Classes Near Kirti Nagar – Build a Future-Ready Career in Data Kirti Nagar, Delhi
Public Speaking Training Near Sector 109 Noida – Improve Confidence and Communication Skills Noida
Fashion Designing Course Near Sector 81 Gurugram – Turn Your Creativity into a Successful Career Sector 81, Gurugram
Spoken English Classes Near By Mehrauli Build Fluency, Improve Confidence & Unlock Better Opportunities in 2026 Mehrauli, Delhi
Guitar Classes Near Vasant Kunj – Learn Guitar with Expert Trainers in South Delhi Vasant Kunj, Delhi
Spoken English Classes Near By Hauz Khas Build Fluency, Confidence & Professional Communication Skills in 2026 Hauz Khas, Delhi
Music Production (Laptop-Based) Near DLF Golf Course Road – Create, Mix & Release Your Own Music DLF Road, Gurugram
App Development Classes Near Uttam Nagar – Build Android & iOS Apps Uttam Nagar, Delhi
App Development Course Near Sector 60 Gurugram – Build Android & iOS Apps with Industry Experts Gurugram
Zumba Classes Near Sector 130 Greater Noida – Enjoy Dance Fitness and Stay Active Sector 130, Noida
Academic & Tuition Skills Near Sector 87 Gurugram – Build Strong Foundations for Lifelong Success 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