Natural Language Processing (NLP) syllabusSPPU TE AI & Data Science · Sem 5 · unit-wise
Natural Language Processing (PCC-303-AID) is a semester 5 subject of Third Year Engineering, AI & Data Science at Savitribai Phule Pune University (SPPU), 2024 pattern.
Its syllabus has 5 units taught over 45 hours: Unit I, Linguistic Foundations and Formal Language Models; Unit II, Text Representation & Feature Engineering; Unit III, Statistical NLP Models and Language Modeling; Unit IV, NLP Tasks; Unit V, Modern Neural NLP and Transformers.
Exam: CCE 30 marks and End-Sem 70 marks.
- Course code
- PCC-303-AID
- Semester
- 5
- Credits
- 3
- Teaching
- Theory 3 h/week
- Exam (marks)
- CCE 30 + End-Sem 70
- Pattern
- 2024
Most repeated NLP questions, with answers
Model answers in the SPPU exam pattern, unit by unit. Read them on MySPPU.
This subject
₹59regular price ₹149
See a free sample page
Prerequisites: Data Structures, Artificial Intelligence, Probability & Statistics
NLP syllabus, unit-wise
Unit ILinguistic Foundations and Formal Language Models(9 hours)
Introduction to Natural Language Processing: History of NLP, Generic NLP System, Levels of NLP, Knowledge in Language Processing, Ambiguity in Natural Language, Stages, Challenges, and Applications of NLP
Formal Language Concepts: Alphabets, strings, languages, regular expressions, finite automata (DFA/NFA), and limitations of regular languages for natural language.
Context-Free Grammars: CFG components, Derivations, parse trees, Ambiguity
Linguistic Levels: Morphology (roots, affixes, morphological parsing), Finite-State Transducers (FSTs) for morphology, Syntax, semantics, pragmatics,
Edit Distance and Spelling Correction: Minimum Edit Distance (MED), Levenshtein distance, Noisy channel model
Approaches to NLP: Rule-based, Data-based, and Knowledge-based Approaches.
Python-based NLP libraries: Natural Language Toolkit (NLTK), spaCy, TextBlob, and use cases.
Unit IIText Representation & Feature Engineering(9 hours)
Corpus: Types of corpora, Annotation and formats, POS and NER annotation schemes, Annotation tools
Text Preprocessing: Tokenization, Sentence segmentation, Normalization, true casing, Stemming and lemmatization, Text Cleaning, stemming (Porter Stemmer algorithm), Stopword Removal, Handling OOV (Out-of-vocabulary) Words: Unknown tokens, subword techniques, and challenges with NLP systems.
Word Representation: One-hot, distributional semantics, co-occurrence matrices, and information extraction. Sparse vs Dense Representations: Limitations of sparse vectors (high dimensionality, sparsity) and advantages of dense embeddings, Lexical Resources: WordNet, synsets, semantic relations.
Feature Engineering: Concept of feature engineering, types of features, and K-gram models: Character-level and word-level k-grams and their applications in text representation, spelling correction, and information retrieval.
Feature Extraction: Bag of Words, Document-Term Matrix, TF-IDF;
Feature selection: Chi-square, Mutual Information
Word embeddings: Word2Vec (CBOW, Skip-gram), GloVe, Embedding intuition
Unit IIIStatistical NLP Models and Language Modeling(9 hours)
Probability Basics: Conditional Probability concept and applications in NLP; Maximum Likelihood Estimation (MLE)—parameter estimation techniques for languages and statistical models.
N-gram Language Models: Unigram, bigram, trigram, Training, perplexity, Backoff and interpolation
Classification Models: Naive Bayes for text, Logistic Regression, Evaluation for text classification Tagging Models: Hidden Markov Models (HMMs), Viterbi algorithm, HMM-based POS tagging Parsing with Probabilities: PCFG, Probabilistic parsing, Top-down and bottom-up parsing
Unit IVNLP Tasks(9 hours)
Sequence Labeling Tasks: POS Tagging (HMM, Brill tagger), Named Entity Recognition (rulebased + statistical view) Parsing: Dependency parsing (transition-based and graph-based concepts), constituency vs. dependency, Parsing errors and evaluation Evaluation Metrics: Confusion matrix, Pre- cision, Recall, F1, evaluation for tagging and parsing, token-level accuracy, entity-level F1 (NER), Parse accuracy, Attachment score (basic idea), BLEU, ROUGE. Core NLP Applications: Sentiment analysis, Text classification pipeline, document similarity, Recommendation System, Information retrieval: Vector Space Model, Information Extraction using sequence labelling, sentiment analysis, Word Sense Disambiguation (WSD): concept, Lesk algorithm, and applications. Speech Processing: Mel-Frequency Cepstral Coefficients (MFCC), Automatic Speech Recognition (ASR) pipeline Model Deployment: API- based NLP Services, Introduction to Model Deployment and Inference, REST APIs, Request–Response Architecture, Overview of Hugging Face Inference APIs, Workflow of NLP Deployment, Introduction to Cloud Platforms, Basic Concepts of Containerization, and Performance Monitoring with Ethical Considerations.
Unit VModern Neural NLP and Transformers(9 hours)
Neural NLP Overview: Motivation, limits of statistical models, Dense vector representations Attention Mechanism: Intuition and motivation, Self-attention, Scaled dot-product attention, Advantages over traditional models Encoder–Decoder Models: Sequence-to-sequence architecture, applications, machine translation methods (rule-based machine translation (RBMT), Statistical Machine Translation (SMT), Neural Machine Translation (NMT)), Text summarization
Transformer Architecture: Multi-head attention, Positional embeddings, Feedforward layers, Advantages over RNN
Contextual Embeddings: BERT architecture, Token embeddings, segment embeddings. Downstream tasks: QA, text classification
Modern Applications: Chatbots, Sentiment analysis, Document classification, Retrieval-Augmented Generation (RAG)
Course objectives
- Introduce students to the fundamental concepts of natural language processing and linguistic structures.
- Enable students to apply text preprocessing techniques, corpus handling methods, and feature extraction approaches.
- Facilitate understanding of statistical models and parsing techniques used in NLP tasks.
- Help students use NLP models to design simple text-processing applications.
- Enable students to understand modern approaches in neural NLP, including deep learning and transformer architectures.
Course outcomes
- CO1: Examine NLP fundamentals, levels of linguistic analysis, and grammatical formalisms.
- CO2: Utilize text preprocessing, corpus handling, and feature extraction techniques.
- CO3: Interpret statistical NLP techniques such as N-grams, smoothing, and probabilistic parsing.
- CO4: Demonstrate NLP tasks such as POS tagging, NER, and sentiment analysis.
- CO5: Analyze modern NLP concepts, including attention mechanisms, encoder–decoder models, and BERT architecture.
Text books and reference books
Text books
- Jurafsky, D., & Martin, J. H., Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition, 3rd ed., Pearson / Online, 2023–Present.
- Manning, C. D., & Schütze, H., Foundations of Statistical Natural Language Processing, MIT Press, 1999.
Reference books
- T V Geetha, “Understanding Natural Language Processing – Machine Learning and Deep Learning Perspectives”, Pearson, 2024.
- Steven Bird,Ewan Klein and Edword Loper,” NLP with Python: Analyzing text with the Natural Language Toolkit”, O’Reilly Media,Inc
- Nitin Indurkhya and Fred J. Damerau, “Handbook of Natural Language Processing”, 2nd ed. CRC press.
Source
From the official SPPU syllabus book for TE AI & Data Science, in force from the academic year 2026-27. Units, topics and marks are as printed. Open the PDF (free, with sign-in).