Speech and Language Processing
An Introduction to Natural Language Processing,
Computational Linguistics, and Speech Recognition
Third Edition draft
Daniel Jurafsky
Stanford University
James H. Martin
University of Colorado at Boulder
Copyright c©2018
Draft of September 23, 2018. Comments and typos welcome!
Summary of Contents
1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2 Regular Expressions, Text Normalization, Edit Distance . . . . . . . . . 10
3 N-gram Language Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4 Naive Bayes and Sentiment Classification . . . . . . . . . . . . . . . . . . . . . . . 63
5 Logistic Regression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
6 Vector Semantics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
7 Neural Networks and Neural Languag
Language/University/Languag/NLP/N-gram/103/Distance/Classification/Sentiment/635/
Language/University/Languag/NLP/N-gram/103/Distance/Classification/Sentiment/635/
-->