Daniel Jurafsky 2026-11-05
Daniel Jurafsky coauthored Speech and Language Processing by Daniel Jurafsky and James H. Martin. The text presents mathematical models and computational procedures for natural language processing, including sequence models that connect linguistic observations to latent states.[ref]
In a Hidden Markov model, the current hidden state determines the emission distribution and the next-state probabilities. This separation permits the forward algorithm to compute an observation sequence's likelihood by summing locally over preceding states. The assumptions make inference tractable, while their suitability for a particular language task remains a modelling question. A tractable calculation does not by itself establish that the model captures every dependency in real language.
James H. Martin 2026-11-05
James H. Martin coauthored Speech and Language Processing by Daniel Jurafsky and James H. Martin with Daniel Jurafsky. Its treatment connects natural language processing to explicit probabilistic models and algorithms. The hidden-state appendix gives the initial, transition and emission distributions of a Hidden Markov model and derives the forward algorithm.[ref]
Speech and Language Processing by Daniel Jurafsky and James H. Martin. AppendixA.2–A.3, August2026 draft
For a sequence of observations, the forward calculation sums over possible hidden-state histories instead of selecting only one best history. Sharing partial calculations avoids enumerating every full state sequence. The resulting efficiency comes from the model's conditional-independence assumptions, not from treating arbitrary sequences as independent.
By Daniel Jurafsky and James H. Martin. Author-hosted third-edition draft, appendix A, Hidden Markov Models, dated 19 August 2026.
Official PDF: web.stanford.edu/~jurafsky/slp3/A.pdf