← Speech and Language Processing
NLP›Popular Textbooks› SLP · Chapter 17

Chapter 17

Text-to-Speech

Chapter: Text-to-Speech, in Daniel Jurafsky and James H. Martin, Speech and Language Processing, 3rd edition draft, August 19, 2026.

Topics to learn

Page numbers refer to the linked chapter PDF.

FAQ

Why turn audio into discrete tokens before generation?

A language model predicts items from a vocabulary. The codec learns a codebook so a later model can predict audio tokens instead of raw waveform samples.

What does residual vector quantization add?

One codebook is a coarse match. The next codebook quantizes the difference between the input and that match, and the process repeats. One frame can therefore receive several codes.

Is VALL-E only a text-to-audio map?

No. The chapter's setup also conditions on a sample of the target voice. Text is tokenized with BPE. Speech is tokenized by the codec. A language model then generates the audio tokens.

Does a fluent waveform establish that the words were right?

No. TTS evaluation has to separate whether the speech sounds like the intended voice from whether it says the intended words. The chapter treats evaluation as its own step.