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

B.Tech Engineering 0 downloads
₹29.00

KCS072 – NATURAL LANGUAGE PROCESSING

B.Tech (SEM VII) – Exam-Oriented Answers

 

SECTION A

(2 Marks × 10 = 20)

 

a) Evolution of NLP

NLP has evolved from rule-based systems in the 1950s to statistical methods in the 1990s and modern deep learning models today. Early systems relied on grammar rules, while current NLP uses machine learning and transformer-based models like BERT and GPT.

 

b) Challenges in language modeling

Challenges include data sparsity, handling unseen words, ambiguity, long-range dependencies, and selecting appropriate context size for accurate predictions.

 

c) Handling ambiguity in parsing

Ambiguity is handled using probabilistic parsing, semantic constraints, context-based rules, and statistical models that choose the most likely interpretation.

 

d) Role of Dynamic Programming in parsing

Dynamic Programming avoids repeated computations by storing intermediate results. Algorithms like CYK and Earley parsing use DP to efficiently parse sentences.

 

e) Limitations of supervised approaches in WSD

Supervised WSD requires large labeled datasets, is costly to build, domain-dependent, and performs poorly on unseen words or new domains.

 

f) Role of semantic attachments in WSD

Semantic attachments use contextual meaning and relationships to associate correct word senses, reducing ambiguity by linking words to semantic roles.

 

g) Applications of filter bank methods

Filter banks are used in speech recognition, speaker identification, audio compression, and feature extraction like MFCCs.

 

h) Contribution of filter banks in speech analysis

They decompose speech signals into frequency bands, helping analyze spectral properties relevant to human hearing.

 

i) Perceptual Linear Prediction (PLP)

PLP models human auditory perception by emphasizing perceptually important frequencies, improving speech recognition accuracy.

 

j) Role of feature extraction in speech understanding

Feature extraction converts raw speech into meaningful representations such as MFCCs, capturing patterns essential for recognition and classification.

 

SECTION B

(10 Marks × Any 3 = 30)

 

a) HMM and Maximum Entropy models in word-level analysis

Hidden Markov Models (HMMs) are probabilistic models representing sequences with hidden states. They are widely used in POS tagging and speech recognition.
Strengths: Efficient, interpretable
Weaknesses: Independence assumptions

Maximum Entropy Models use feature-based probability estimation.
Strengths: Flexible, fewer assumptions
Weaknesses: Computationally expensive

Both models improve sequence prediction and classification tasks.

 

b) Probabilistic CYK parsing and Lexicalized PCFGs

Probabilistic CYK parsing assigns probabilities to parse trees using PCFGs, selecting the most likely structure.
Lexicalized PCFGs include word-level dependencies, improving parsing accuracy. These methods handle ambiguity better than traditional CFG parsing.

 

c) First-order logic vs propositional logic

Propositional logic deals with simple true/false statements, while first-order logic includes variables, predicates, and quantifiers.
FOL is more expressive and suitable for representing complex relationships in NLP.

 

d) Challenges in speech sound representation

Speech sounds vary due to accents, noise, speaking rate, and coarticulation. These variations make classification difficult and impact speech recognition accuracy.

 

e) Likelihood distortions and feature extraction

Likelihood distortions measure mismatch between speech models and observed data. Feature extraction captures relevant speech patterns, improving model reliability and evaluation.

 

SECTION C

(10 Marks × Any 1 = 10)

 

3(a) Minimum Edit Distance (MED)

Minimum Edit Distance measures similarity between two strings using operations like insertion, deletion, and substitution.
 

Example:
“kitten” → “sitting” requires 3 edits.
MED is used in spell checking, OCR correction, and word similarity analysis.

3(b) N-grams and smoothing

N-grams are sequences of N words used in language modeling.
Unsmoothened N-grams assign zero probability to unseen sequences.
Smoothing techniques like Laplace and Good-Turing handle data sparsity and improve evaluation.

 

SECTION D

(10 Marks × Any 1 = 10)

 

Dependency Grammar vs Phrase Structure Grammar

Dependency Grammar focuses on word-to-word relationships, while Phrase Structure Grammar represents sentences as hierarchical phrases. Dependency grammar is compact; PSG is more structured.

 

Shallow Parsing

Shallow parsing identifies chunks like noun phrases without full syntax trees.
 

Advantages: Fast, efficient
Limitations: Limited syntactic depth
Deep parsing provides complete grammatical structure but is computationally expensive.

 

SECTION E

 

Thesaurus-based vs Distributional word similarity

 

Thesaurus-based methods use lexical resources like WordNet, offering precise meanings but limited coverage.
 

Distributional methods use word co-occurrence, scalable but context-sensitive.

Dictionary vs Thesaurus-based WSD

 

Dictionaries give definitions, while thesauri provide semantic relationships. Choice depends on domain, coverage, and application needs.

 

SECTION F

 

Acoustic phonetics

Speech acoustics involve frequency, amplitude, and duration. These properties affect how sounds are perceived and distinguished by listeners.

Linear Predictive Coding (LPC)

LPC models speech by predicting samples using past values.
 

Advantages: Efficient, low bit-rate
Used in speech synthesis and compression.

 

SECTION G

 

Dynamic Time Warping (DTW)

DTW aligns speech sequences with different speaking rates. It finds the optimal alignment path and is widely used in speech recognition.

Evaluating HMMs and Viterbi Search

The Viterbi algorithm finds the most probable state sequence (optimal state sequence) in HMMs, crucial for decoding speech and text sequences.

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

Spoken English Classes Near By Moti Nagar Improve Fluency, Build Confidence & Unlock Better Career Opportunities in 2026 Motinagar, Delhi
Keyboard / Piano Classes Near DLF Phase 3 Gurugram – Professional Music Training for Kids, Beginners & Advanced Learners DLF Phase 3, Gurugram
No Office Rent Business Setup Near Kirti Nagar Start & Grow Your Business Without Paying High Office Rent Kirti Nagar, Delhi
Harmonium Classes Near Sector 140 Noida – Learn Indian Classical Music with Expert Guidance Sector 140, Noida
Home Tuition (All Subjects) Near Sector 88 Gurugram – Personalized Learning for Academic Excellence Sector 88, Gurugram
Guitar Classes Near By Green Park Learn Guitar with Expert Trainers & Turn Your Passion into a Lifelong Skill Green Park, Delhi
Public Speaking Training Near Uttam Nagar – Speak with Confidence & Impact Uttam Nagar, Delhi
🇯🇵 Japanese Language Classes Near Golf Course Extension Road – Complete Guide to Learning Japanese Golf Course Ext Road, Gurugram
Web Development Classes Near Noida Sector 101 – Learn Coding and Build Your Tech Career Noida
Personal Fitness Training Near Sector 132 Greater Noida – Achieve Your Health and Fitness Goals with Expert Trainers Noida
Piano Classes Near Tilak Nagar – Learn, Play & Master Music with Confidenc Tilak Nagar, Delhi
Guitar Classes Near Jangpura – Professional Guitar Training in South Delhi Jangpura, Delhi
Drum Lessons Near DLF Phase 4 – Learn Drumming with Electronic Drum Training at Home DLF Phase IV, Gurugram
Spoken English Classes Near Sector 117 Noida – Improve Fluency, Confidence and Communication Skills Noida
Drawing & Sketching Classes Near Sector 67 Gurugram – Nurture Creativity & Artistic Skills Sector 67, Gurugram
Spanish Language Classes Near Sector 113 Noida – Learn Spanish with Professional Training Noida
Spoken English Classes Near By Tagore Garden Improve Fluency, Build Confidence & Unlock Better Career Opportunities in 2026 Tagore Garden, Delhi
Computer Classes Near Sector 90 Gurugram – Build Digital Skills for a Smarter Future Sector 90 Road, Gurugram
Personal Fitness Training Near Malviya Nagar – Transform Your Health with Expert Guidance Malviya Nagar, Delhi
Web Development Classes Near Uttam Nagar – Learn to Build Modern Websites Uttam Nagar, Delhi
⭐ 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