Phonetics and Speech Feature Extraction
Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15
246 cards
Introduction
- What is a logographic writing system? Name three early examples.One symbol represents a whole word. The earliest known writing systems (Sumerian, Chinese, Mayan) were mainly logographic.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Introduction
- How did early logographic systems also represent sounds? Give the Sumerian example.Some symbols were used purely for their sound. The cuneiform sign pronounced ba meaning “ration” could also function simply as the sound /ba/. Early Chinese oracle-bone characters also contain phonetic elements.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Introduction
- What are the three types of purely sound-based writing systems, with an example of each?Syllabic (Japanese hiragana), alphabetic (Roman alphabet), consonantal (Semitic writing systems).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Introduction
- From what script do the Arabic, Aramaic, Hebrew, Greek and Roman alphabets derive?A West Semitic script, presumed to have been modified by Western Semitic mercenaries from a cursive form of Egyptian hieroglyphs.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Introduction
- Where did the Japanese syllabaries come from?From a cursive form of Chinese phonetic characters, which were used in Chinese to phonetically represent Sanskrit in Buddhist scriptures that came to China in the Tang dynasty.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Introduction
- Define speech recognition and text-to-speech.Speech recognition: transcribing waveforms into text.
Text-to-speech (TTS): converting text into waveforms.- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Introduction
- Define phonetics.The study of the speech sounds used in the world's languages: how they are produced in the vocal tract, how they are realized acoustically, and how they can be digitized and processed.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Introduction
15.1 Phonetic transcription
- What is a phone?A speech sound, represented with a symbol adapted from the Roman alphabet. A word's pronunciation is represented as a string of phones.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- What is the IPA and when was it first developed?The International Phonetic Alphabet: the evolving standard for transcribing the world's languages, first developed in 1888.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- What is the ARPAbet?A simple phonetic alphabet (Shoup, 1980) using ASCII symbols to represent an American-English subset of the IPA.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- Is English orthography transparent or opaque with respect to phones? Give an example.Relatively opaque: one letter can represent very different sounds. c is [k] in cougar but [s] in cell. Spanish is much more transparent.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- List spellings (besides k) that can represent the phone [k] in English.c (cougar), x (fox [f aa k s]), ck (jackal), cc (raccoon).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- CELEX dictionary: size and contents?English pronunciations for 160,595 wordforms, with syllabification, stress, and morphological and part-of-speech information.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- CMU Pronouncing Dictionary: size and license?Open-source; about 134,000 wordforms.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- UNISYN dictionary: size and special feature?About 110,000 words, fine-grained; gives syllabifications, stress, and pronunciations for dozens of English dialects. Free for research.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- Which languages does the LDC distribute pronunciation lexicons for?Egyptian Arabic, Dutch, English, German, Japanese, Korean, Mandarin, Spanish.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- What is a phonetically annotated corpus?A collection of waveforms hand-labeled with the corresponding string of phones.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- TIMIT corpus: who built it and what does it contain?Texas Instruments, MIT and SRI. 6300 read sentences: 10 sentences each from 630 speakers, drawn from a set of 2342 sentences (some chosen for dialect shibboleths, others to maximize diphone coverage).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- How was TIMIT phonetically labeled?Hand-labeled phone sequences were automatically aligned with the wavefile, and the automatic phone boundaries were then manually hand-corrected.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- What is a time-aligned transcription?A transcription in which each phone is associated with a start and end time in the waveform.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- Which narrow-transcription phenomena does TIMIT mark (e.g. in she had your dark suit in greasy wash water)?Palatalization of [d] in had, unreleased final stop in dark, glottalization of final [t] in suit to [q], and the flap of [t] in water.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- Switchboard Transcription Project: size and alignment level?3.5 hours of sentences from the Switchboard corpus, time-aligned at the syllable level.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- What phenomena appear in the Switchboard transcription of they're kind of in between right now?Vowel reduction (they're, of), coda deletion (kind, right), and resyllabification (the [v] of of becomes the onset of in).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- Buckeye corpus: what is it?A phonetically transcribed corpus of spontaneous American speech: about 300,000 words from 40 talkers.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- Name phonetically transcribed corpora for German and Mandarin.The Kiel corpus (German); Mandarin corpora from the Chinese Academy of Social Sciences.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
15.1 ARPAbet symbols
- ARPAbet [ng]: IPA symbol and example word?IPA [ŋ] — as in baking [b ey k ix ng]
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [th]: IPA symbol and example word?IPA [θ] — as in thick
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [dh]: IPA symbol and example word?IPA [ð] — as in those
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [sh]: IPA symbol and example word?IPA [ʃ] — as in squash
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [zh]: IPA symbol and example word?IPA [ʒ] — as in ambrosia
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [ch]: IPA symbol and example word?IPA [tʃ] — as in cherry
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [jh]: IPA symbol and example word?IPA [dʒ] — as in jar
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [y]: IPA symbol and example word?IPA [j] — as in yellow
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [iy]: IPA symbol and example word?IPA [i] — as in lily (2nd vowel) [l ih l iy]
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [ih]: IPA symbol and example word?IPA [ɪ] — as in lily (1st vowel)
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [ey]: IPA symbol and example word?IPA [eɪ] — as in daisy
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [eh]: IPA symbol and example word?IPA [ɛ] — as in pen
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [ae]: IPA symbol and example word?IPA [æ] — as in aster
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [aa]: IPA symbol and example word?IPA [ɑ] — as in poppy
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [ao]: IPA symbol and example word?IPA [ɔ] — as in orchid
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [uh]: IPA symbol and example word?IPA [ʊ] — as in wood
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [ow]: IPA symbol and example word?IPA [oʊ] — as in lotus
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [uw]: IPA symbol and example word?IPA [u] — as in tulip
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [ah]: IPA symbol and example word?IPA [ʌ] — as in butter
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [er]: IPA symbol and example word?IPA [ɝ] — as in bird
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [ay]: IPA symbol and example word?IPA [aɪ] — as in iris
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [aw]: IPA symbol and example word?IPA [aʊ] — as in flower
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [oy]: IPA symbol and example word?IPA [ɔɪ] — as in soil
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [ax]: IPA symbol and example word?IPA [ə (schwa)] — as in pita (2nd vowel)
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [dx]: IPA symbol and example word?IPA [ɾ (tap/flap)] — as in lotus [l ow dx ax s], water
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
- ARPAbet [q]: IPA symbol and example word?IPA [ʔ (glottal stop)] — as in glottalized final [t] of suit
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.1
15.2 Articulatory phonetics
- Define articulatory phonetics.The study of how phones are produced as the organs in the mouth, throat and nose modify the airflow from the lungs.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- Trace the path of air in producing most speech sounds.Expelled from the lungs through the trachea (windpipe), through the larynx, then out the mouth or nose.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What is the larynx?The “Adam's apple” or voice box; it contains the vocal folds.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What are the vocal folds and the glottis?Vocal folds (non-technically “vocal cords”): two small folds of muscle in the larynx that can move together or apart. The glottis is the space between them.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- When do the vocal folds vibrate?When they are close together (but not tightly closed) as air passes through. If far apart, they don't vibrate.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- Define voiced vs unvoiced sounds, with examples.Voiced: made with vocal folds together and vibrating — [b], [d], [g], [v], [z], all English vowels.
Unvoiced (voiceless): no vocal fold vibration — [p], [t], [k], [f], [s].- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What is the vocal tract?The area above the trachea; it consists of the oral tract and the nasal tract.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What are nasal sounds? Examples?Sounds made by air passing through the nose; they use both the oral and nasal tracts as resonating cavities. English [m], [n], [ng].
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- Contrast consonants and vowels.Consonants: made by restricting or blocking airflow; can be voiced or unvoiced.
Vowels: less obstruction, usually voiced, generally louder and longer-lasting.- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What are semivowels? Examples?Sounds like [y] and [w] with properties of both: voiced like vowels, but short and less syllabic like consonants.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- Define place of articulation.A consonant's point of maximum restriction of airflow.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- Bilabial consonants: definition and English examples?Main restriction formed by the two lips coming together: [p] (possum), [b] (bear), [m] (marmot).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- Labiodental consonants: how made and examples?Bottom lip pressed against the upper teeth, air flowing through the space in the upper teeth: [f], [v].
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- Dental consonants: how made and English examples?Tongue against the teeth (behind the teeth, tip slightly between them): [th] (thing), [dh] (though).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What is the alveolar ridge, and which phones are alveolar?The portion of the roof of the mouth just behind the upper teeth. [s], [z], [t], [d] are made with the tongue tip against it.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What does coronal refer to?Both dental and alveolar places of articulation.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- Palato-alveolar sounds: how made and examples?Blade of the tongue against the rising back of the alveolar ridge: [sh] (shrimp), [ch] (china), [zh] (Asian), [jh] (jar).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- How is the palatal sound [y] made?Front of the tongue placed up close to the palate (roof of the mouth), as in yak.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What is the velum and which sounds are velar?The velum (soft palate) is a movable muscular flap at the very back of the roof of the mouth. Velars [k] (cuckoo), [g] (goose), [ng] (kingfisher) press the back of the tongue against it.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- How is the glottal stop [q] made?By closing the glottis (bringing the vocal folds together).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- Define manner of articulation.How the airflow restriction is made (e.g. complete stoppage vs partial blockage). Place + manner is usually enough to uniquely identify a consonant.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What is a stop? What are its closure and release?A consonant where airflow is completely blocked for a short time, then explosively released. Closure = period of blockage; release = the explosion. Also called plosives.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- English voiced vs unvoiced stops?Voiced: [b], [d], [g]. Unvoiced: [p], [t], [k].
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- How are nasal consonants produced (manner)?By lowering the velum so air passes into the nasal cavity: [n], [m], [ng].
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What is a fricative?Airflow is constricted but not cut off completely; the turbulent airflow produces a characteristic “hissing” sound.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- Name the English fricatives by place.Labiodental [f], [v]; dental [th], [dh]; alveolar [s], [z]; palato-alveolar [sh], [zh].
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- How are palato-alveolar fricatives [sh], [zh] made?Tongue at the back of the alveolar ridge, forcing air through a groove formed in the tongue.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What are sibilants?The higher-pitched fricatives: in English [s], [z], [sh], [zh].
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What are affricates? English examples?Stops followed immediately by fricatives: [ch] (chicken), [jh] (giraffe).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What is an approximant? Examples?The two articulators are close together but not close enough to cause turbulent airflow: [y] (yellow), [w] (wood), [r], [l].
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What are the two ways American [r] can be formed?(1) Tip of the tongue extended and close to the palate, or (2) the whole tongue bunched up near the palate.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- Why is [l] called a lateral?It's made with the tongue tip against the alveolar ridge or teeth, with one or both sides of the tongue lowered so air flows over them.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What is a tap or flap?[dx]: a quick motion of the tongue against the alveolar ridge, e.g. the middle consonant of lotus [l ow dx ax s] in American English. Many U.K. speakers use [t] instead.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What are the three main parameters for describing vowels?Vowel height, frontness/backness (location of the tongue's highest point), and lip rounding.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What does vowel height correlate with?Roughly with the height of the highest part of the tongue — though it's really a more accurate reflection of acoustic facts than of actual tongue position.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- Define front vowels and back vowels, with examples.Front: tongue raised toward the front (e.g. [iy]). Back: tongue raised toward the back (e.g. [uw]).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- [ih] vs [eh]: which has the higher tongue?[ih]. Both are front vowels.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- Define high, mid, and low vowels.Classified by the height of the highest point of the tongue: comparatively high, mid, or low.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What is a diphthong?A vowel in which the tongue position changes markedly during its production. English is particularly rich in diphthongs (e.g. [ey], [ay], [aw], [oy], [ow]).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- On the schematic vowel chart, how do diphthongs differ from other vowels?Diphthongs are represented as a path; monophthongs as a point.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What are rounded vowels? English examples?Vowels pronounced with the lips rounded (as for whistling): [uw], [ao], [ow].
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- Define a syllable.A vowel-like (sonorant) sound together with the surrounding consonants most closely associated with it. E.g. dog = 1 syllable; catnip = [k ae t] + [n ih p].
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- Define nucleus, onset, and coda.Nucleus: the vowel at the core of a syllable. Onset: initial consonants (if any). Coda: optional consonant(s) following the nucleus.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What is a complex onset?An onset with more than one consonant, e.g. strike [s t r ay k].
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What is the rime (rhyme)?The nucleus plus the coda.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- Give the syllable structure of ham, green, eggs.ham: onset [h], nucleus [ae], coda [m].
green: onset [g r], nucleus [iy], coda [n].
eggs: no onset; nucleus [eh], coda [g z].- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What is syllabification?The task of automatically breaking a word into syllables.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
- What is phonotactics? Example?Constraints on which phones can follow each other in a language. E.g. [zdr] cannot be an English syllable onset. Can be modeled with a language model or finite-state model of phone sequences.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.2
15.3 Prosody
- Define prosody.The study of intonational and rhythmic aspects of language, especially the use of F0, energy and duration to convey pragmatic, affective, or conversation-interactional meaning.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- What perceptual qualities correspond to energy and F0?Energy → loudness. F0 → pitch.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- What are the main functions of prosody?Marking discourse structure (e.g. statements vs questions), marking saliency of words/phrases, paralinguistic functions (emotion like happiness, surprise, anger), and managing conversational turn-taking.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- What does prosody mean in poetry?The study of verse metrical structure.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- What is prominence, and how do English speakers make a word more prominent?Perceptual salience to the listener. Made by saying it louder, slower (longer duration), or with higher/more variable F0.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- What is a pitch accent?A linguistic marker representing prominence; prominent words/syllables are said to bear a pitch accent.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- What is lexical stress?A dictionary property of a word: the syllable that will be louder or longer if the word is accented. Pitch accent must be realized on the lexically stressed syllable (e.g. surPRISED, not SURprised).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- How does the CMU dictionary mark stress? Examples?Vowels marked 0 (unstressed) or 1 (stressed): counter [K AW1 N T ER0], table [T EY1 B AH0 L].
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- How does lexical stress distinguish content (noun) from content (adjective)?Noun: [K AA1 N T EH0 N T] (first syllable stressed). Adjective: [K AA0 N T EH1 N T] (second syllable stressed).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- What are reduced vowels and what is schwa?Unstressed vowels weakened further, with an incomplete articulatory gesture. Schwa [ax] is the most common, e.g. 2nd vowel of parakeet [p ae r ax k iy t].
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- Are all unstressed vowels reduced? Example?No. Any vowel (diphthongs especially) can keep full quality unstressed, e.g. [iy] stressed in eat, unstressed in carry [k ae r iy].
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- What levels are commonly used to represent the continuum of prominence?Accented, stressed, full vowel, reduced vowel.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- What is prosodic phrasing?The idea that an utterance has a prosodic phrase structure (words group together, with breaks/disjunctures), analogous to syntactic phrase structure.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- Define intonation phrase and intermediate phrase using I wanted to go to London, but could only get tickets for France.Two main intonation phrases, split at the comma. Within the first, lesser boundaries give intermediate phrases: I wanted | to go | to London.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- How are intonation phrases related to syntax?They are often correlated with syntactic constituents.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- How are prosodic boundaries predicted automatically (e.g. for TTS)?Sequence models taking raw text or text annotated with features (e.g. parse trees) make a break/no-break decision at each word boundary; trained on data like the Boston University Radio News Corpus.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- What is the tune of an utterance?The rise and fall of its F0 over time.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- Question rise vs final fall?Question rise: final F0 rise indicating a yes-no question. Final fall: final F0 drop indicating a declarative.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- What is a continuation rise?A short F0 rise after each noun in a comma-separated list.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- Besides questions and lists, what else do characteristic English tunes express?Contradiction and surprise.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- What is ToBI?Tone and Break Indices: a theory/transcription system of intonation (Silverman et al., 1992). Each word may bear one of 5 pitch accents; each intonational phrase ends in one of 4 boundary tones. Versions exist for many languages.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- List the 5 ToBI pitch accents.H* peak accent; L* low accent; L*+H scooped accent; L+H* rising peak accent; H+!H* step down.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- List the 4 ToBI boundary tones and their meanings.L-L% final fall (declarative); L-H% continuation rise; H-H% question rise (yes-no question); H-L% final level plateau.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
- What is a boundary tone in ToBI?The tone ending each intonational phrase, representing utterance-final aspects of tune.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.3
15.4 Acoustic phonetics
- Write the sine wave equation.\(y = A \sin(2\pi f t)\) — A = amplitude, f = frequency.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is frequency, and what is its unit?The number of times per second a wave repeats (cycles per second), measured in hertz (Hz).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is the amplitude of a sine wave?Its maximum value on the y-axis.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is the period T and how is it computed?The time for one cycle to complete: \(T = 1/f\). A 10 Hz wave has T = 0.1 s.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What does a speech waveform plot?Changes in air pressure over time: compression or rarefaction of air molecules (e.g. at a microphone or eardrum).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What are compression and rarefaction?Compression: higher-than-normal air pressure. Rarefaction: lower-than-normal (uncompressed) air pressure.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What are the two steps of analog-to-digital conversion?Sampling and quantization.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is sampling and the sampling rate?Sampling: measuring the signal's amplitude at particular times. Sampling rate: number of samples per second.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Why need at least two samples per cycle?One for the positive part and one for the negative part; with fewer, the wave's frequency is completely missed.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is the Nyquist frequency?The maximum frequency measurable at a given sampling rate: half the sample rate.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What sampling rate is needed for full accuracy on speech, and why?20,000 Hz, since most speech information is below 10,000 Hz.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Why is 8 kHz sampling sufficient for telephone speech?The telephone network transmits only frequencies below 4,000 Hz (e.g. Switchboard).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Typical sampling rate for microphone speech?16,000 Hz.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is quantization?Representing real-valued amplitudes as integers; the gap between integers is a minimum granularity (quantum size), and values closer than it are represented identically.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Value ranges of 8-bit and 16-bit samples?8-bit: −128 to 127. 16-bit: −32768 to 32767.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Typical storage for telephone vs microphone speech?Telephone: 8 kHz, 8-bit samples. Microphone: 16 kHz, 16-bit samples.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What are channels in audio file formats?Separate signals, e.g. for stereo or two-party conversations; stored in the same file or separate files.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is µ-law and what is its intuition?A log compression format for telephone speech. Human hearing is more sensitive at small intensities, so the log represents small values faithfully at the cost of more error on large values.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Write the µ-law compression equation.\(F(x) = \frac{\mathrm{sgn}(x)\log(1+\mu|x|)}{\log(1+\mu)},\ -1 \le x \le 1\), with µ = 255 for 8 bits.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is linear PCM?Linear (unlogged, uncompressed) sample values. PCM = pulse code modulation.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is the relationship between .wav and RIFF?The .wav format is a subset of Microsoft's RIFF, a general format of nested chunks of data and control info. A simple .wav has a 44-byte header (with format chunk) before the data chunk.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Name some standard waveform file formats.Microsoft .wav, Apple AIFF (both with headers), and headerless “raw” files.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- The [iy] waveform repeats 10 times in 0.03875 s. What is its frequency?10 / 0.03875 ≈ 258 Hz.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What causes the periodicity of a voiced waveform?Vocal fold vibration: each major amplitude peak corresponds to an opening of the vocal folds.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is the fundamental frequency (F0)?The frequency of vocal fold vibration, i.e. the frequency of the complex wave.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is a pitch track, and when does it fail?A plot of F0 over time. Automatic pitch tracking counts pulses in voiced regions, so it fails where there is no voicing or insufficient sound.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What does the y-axis of a waveform measure, and in what unit?Air pressure variation, in Pascals (Pa). Positive = above atmospheric pressure, zero = normal, negative = rarefaction.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Why use RMS amplitude rather than the mean amplitude?Positive and negative values would mostly cancel. RMS squares each value before averaging, then takes the square root.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Write the RMS amplitude formula.\(\text{RMS} = \sqrt{\frac{1}{N}\sum_{i=1}^{N} x_i^2}\)
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Write the formula for the power of a signal.\(\text{Power} = \frac{1}{N}\sum_{i=1}^{N} x_i^2\) — related to the square of the amplitude.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is intensity, and what's its formula?Power normalized to the human auditory threshold, in dB: \(\text{Intensity} = 10\log_{10}\frac{1}{NP_0}\sum_{i=1}^{N} x_i^2\), with \(P_0 = 2\times10^{-5}\) Pa.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Where do intensity peaks occur in speech (e.g. Is it a long movie?)?At each vowel, with an especially high peak on the word long.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is pitch?The perceptual correlate (mental sensation) of fundamental frequency.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- How does pitch relate to frequency across the hearing range?Most accurate and roughly linear between 100 and 1000 Hz; above 1000 Hz, logarithmic (high-frequency differences are compressed).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is a mel?A unit of pitch: pairs of sounds perceptually equidistant in pitch are separated by an equal number of mels (Stevens et al. 1937; Stevens & Volkmann 1940).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Write the mel frequency formula.\(m = 1127 \ln\left(1 + \frac{f}{700}\right)\)
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is loudness, and why is its relation to power nonlinear?The perceptual correlate of power. Nonlinear because (1) the ear has greater resolution at low power, and (2) perceived loudness also depends on frequency.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What are pitch extraction algorithms?Algorithms for automatically extracting F0 (a slight abuse of terminology).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- How does the autocorrelation method of pitch extraction work?Correlates the signal with itself at various offsets; the offset with the highest correlation gives the signal's period.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Name a toolkit with a pitch tracker (and much more) for acoustic analysis.Praat (Boersma & Weenink): augmented autocorrelation pitch tracking, spectral and formant analysis, and a scripting language.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- How can vowels be spotted in a waveform?They are voiced (regular amplitude peaks), relatively long, and relatively loud.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- How do stop consonants look in a waveform?A period of silence or near-silence (closure) followed by a slight burst of amplitude (release).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- How do fricatives like [sh] look in a waveform?A noisy, irregular waveform from turbulent air, unlike the regular voicing of vowels.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is the key insight of Fourier analysis?Every complex wave can be represented as a sum of many sine waves of different frequencies.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is a spectrum?A representation of each of a signal's frequency components and their amplitudes (frequency on x-axis, amplitude on y-axis).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What does the spectrum of a 10 Hz + 100 Hz sum of sines look like?Two spikes, at 10 Hz and 100 Hz.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- In the [ae] of had, what frequencies are visible in the waveform?A complex wave ≈234 Hz (10 cycles in 0.0427 s), a smaller wave ≈936 Hz (4× per cycle), and a tiny wave ≈1872 Hz.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What significant frequency components does the DFT spectrum of [ae] in had show?Around 930 Hz, 1860 Hz, and 3020 Hz.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is a decibel (dB)?A logarithmic measure of amplitude.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Why is a spectrum useful for phone identification?Spectral peaks are characteristic “signatures” of different phones — like spectral lines identifying chemical elements in stars.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What does the cochlea do?The inner ear computes a spectrum of the incoming waveform.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is a spectrogram? Describe its axes.A visualization of how a waveform's frequencies change over time. x = time, y = frequency (Hz), darkness = amplitude.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Spectrum vs spectrogram?A spectrum shows frequency components at one point in time; a spectrogram shows them over time (a collection of spectra placed end to end).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is a formant?A frequency band particularly amplified by the vocal tract; appears as a dark bar (spectral peak) in a spectrogram.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- How do F1 and F2 compare for [ih], [ae], [uh]?F1: low for [ih] (~470 Hz), higher for [ae] and [uh] (~800 Hz).
F2: highest for [ih], middle for [ae], lowest for [uh].- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- F1 and F2 of [iy] in She just had a baby, vs [ae]?[iy]: F1 = 540 Hz (much lower than [ae]), F2 = 2581 Hz (much higher than [ae]).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Which formants determine vowel identity, and what do higher formants reflect?F1 and F2 largely determine vowel identity (though they vary by speaker). Higher formants reflect general characteristics of the speaker's vocal tract.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Besides vowels, which phones can formants help identify?Nasals [n], [m], [ng] and liquids [l], [r].
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Why are formants harder to see in running speech?Reduction and coarticulation processes.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is the source-filter model?Explains a sound's acoustics as pulses from the glottis (the source) shaped by the vocal tract (the filter).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- What is a harmonic? Example?A wave whose frequency is a multiple of the fundamental. A 115 Hz glottal vibration has harmonics at 230, 345, 460 Hz… each generally weaker.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Why does the vocal tract act as a filter?Any cavity (like a tube) resonates at frequencies determined by its shape, amplifying some frequencies and damping others.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- How do different vowels arise in the source-filter model?Moving the tongue and articulators changes the vocal tract's shape, so different harmonics of the same fundamental are amplified. Formants are where the tract amplifies harmonics.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
- Approximate F1/F2 for [iy] (tea), [ae] (cat), [uw] (moo) in Fig. 15.24?[iy]: 268 / 2416 Hz. [ae]: 903 / 1695 Hz. [uw]: 295 / 817 Hz.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.4
15.5 Log mel spectrum
- What is an acoustic feature vector?A vector representing the information in a small time window of the signal; speech processing often first converts the waveform into a sequence of these.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- What are the two common starting points for speech recognition systems?The raw waveform (processed by convolutional networks) or a higher-level representation such as the log mel spectrum.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- Can you mix sampling rates in ASR training and testing?No. E.g. if testing on 8 kHz Switchboard, downsample training data to 8 kHz; if any training corpus is telephone speech, downsample all wideband corpora to 8 kHz.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- Do higher sampling rates help ASR accuracy?Yes, higher sampling rates produce higher ASR accuracy.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- What does x[n] denote?The sample at time index n in the digitized, quantized waveform.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- Stationary vs non-stationary signal?Stationary: statistical properties constant within a region. Speech is non-stationary overall, but roughly stationary within a small window.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- What is a window in speech processing?A function that is non-zero inside a region and zero elsewhere; run across the signal and multiplied by it to produce a windowed waveform.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- What is a frame?The speech extracted from each window.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- What three parameters characterize windowing?Window (frame) size in ms, frame stride (shift/offset) between windows, and window shape.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- Typical window size and stride?25 ms windows with a 10 ms stride.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- Windowing equation?\(y[n] = w[n]\,s[n]\)
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- What is the problem with a rectangular window?It abruptly cuts off the signal at its boundaries, creating discontinuities that cause problems in Fourier analysis.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- What does the Hamming window do?Shrinks signal values toward zero at the window boundaries, avoiding discontinuities.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- Write the rectangular and Hamming window equations (window of length L).Rectangular: \(w[n]=1\) for \(0\le n\le L-1\), else 0.
Hamming: \(w[n]=0.54-0.46\cos\left(\frac{2\pi n}{L}\right)\) for \(0\le n\le L-1\), else 0.- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- What is the DFT? What are its input and output?Discrete Fourier transform: extracts spectral information for discrete frequency bands from a sampled signal. Input: windowed signal x[n]…x[m]. Output: for each of N bands, a complex number X[k] giving magnitude and phase.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- State Euler's formula.\(e^{j\theta} = \cos\theta + j\sin\theta\), with j the imaginary unit.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- Write the DFT definition.\(X[k] = \sum_{n=0}^{N-1} x[n]\, e^{-j\frac{2\pi}{N}kn}\)
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- What is the FFT and its limitation?Fast Fourier transform: a very efficient algorithm for computing the DFT; only works for N that are powers of 2.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- Why collect energies on the mel scale instead of equally across frequency?Human hearing is less sensitive at high frequencies. Low-frequency info (formants) is crucial for vowels/nasals; high-frequency info (stop bursts, fricative noise) is less crucial. Modeling this improves ASR.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- Write the mel formula used for the filter bank.\(\mathrm{mel}(f) = 1127\ln\left(1+\frac{f}{700}\right)\)
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- What is a mel filter bank?A bank of triangular filters spaced logarithmically along the mel scale (fine resolution at low, coarse at high frequencies), multiplied by the spectrum to get a mel spectrum (Davis & Mermelstein, 1980).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- Why take the log of the mel spectrum values? (2 reasons)(1) Human response to signal level is logarithmic: less sensitive to small differences at high amplitudes. (2) Makes features less sensitive to input power variations, e.g. the mouth moving relative to the microphone.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- What is a channel in a filterbank output? Typical number?Each scalar output of one filter: the log energy of one mel-spaced frequency band. A frame gives a vector of, say, 80 or 128 channels.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- How are log mel features commonly normalized before a neural network?Scaled to between −1 and 1 with zero mean across the entire pretraining dataset.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
- Order the log mel spectrum pipeline.Sample & quantize → window (e.g. 25 ms Hamming, 10 ms stride) → DFT/FFT → mel filter bank → log → normalize.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.5
15.6 MFCC
- What does MFCC stand for?Mel frequency cepstral coefficients.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- What are the 39 dimensions of an MFCC vector?12 cepstral coefficients + 1 energy; 12 delta cepstral + 1 delta energy; 12 double-delta cepstral + 1 double-delta energy.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- Why is the cepstrum useful for phone detection?It separates source and filter. Glottal source characteristics (F0, pulse details) don't distinguish phones; the vocal tract filter (articulator positions) does.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- What does it mean to deconvolve source and filter?Separate them so features show only the vocal tract filter.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- What is the cepstrum, informally?The spectrum of the log of the spectrum.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- When the log spectrum is treated as a “pseudo-signal”, what do its high- and low-frequency components represent?High-frequency ripple: the harmonics of F0 (the source). Low-frequency components: the spectral envelope / formant structure (the filter).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- Where does the word cepstrum come from?Reversing the first four letters of spectrum.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- What is the unit of the cepstrum's x-axis, and why?Samples: taking the spectrum of the log spectrum leaves the frequency domain and returns to the time domain.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- In the example cepstrum, what does the large peak around 120 represent? The lower values?The peak corresponds to F0 (glottal pulse). Lower values represent the vocal tract filter.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- Which cepstral values are used for phone detection vs pitch detection?Lower cepstral values for phones; higher cepstral values for pitch.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- How many cepstral values does MFCC extraction keep, and why?The first 12; they represent only the vocal tract filter, cleanly separated from the glottal source.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- What useful statistical property do cepstral coefficients have?Their variances tend to be uncorrelated, unlike spectral coefficients at different frequency bands.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- Formal definition of the cepstrum?The inverse DFT of the log magnitude of the DFT of a signal.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- What is the 13th MFCC feature and how is it computed?Frame energy: \(\text{Energy} = \sum_{t=t_1}^{t_2} x^2[t]\), the sum over time of the samples' power.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- Why is energy a useful feature?It cues phone identity, e.g. vowels and sibilants have more energy than stops.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- What are delta and double delta features?Delta (velocity): change between frames in each of the 13 features. Double delta (acceleration): change between frames in the deltas.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- Why add delta features?Changes over time — like formant slopes at transitions, or stop closure → burst — are useful cues for phone identity.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
- How are delta features computed in practice?Simply by frame differences, but commonly by fitting a polynomial and taking its first and second derivatives.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, §15.6
Historical notes
- Who first developed the major insights of articulatory phonetics, and when?Linguists of India, 800–150 B.C.: place and manner of articulation, the glottal mechanism of voicing, and assimilation. Europe caught up only in the late 19th century.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Historical notes
- What phonetic knowledge did the ancient Greeks have?By Plato's Theaetetus and Cratylus, they distinguished vowels from consonants and stops from continuants. The Stoics developed the syllable and knew of phonotactic constraints.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Historical notes
- What did the 12th-century Icelandic scholar contribute?Used the concept of the phoneme and proposed a phonemic writing system for Icelandic with diacritics for length and nasality (unpublished until 1818).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Historical notes
- Who is said to begin the modern era of phonetics, and what did he do?Henry Sweet, Handbook of Phonetics (1877): essentially proposed the phoneme, devised a transcription alphabet, distinguished broad vs narrow transcription, and made the first scientific recordings for phonetics.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Historical notes
- Which stage character was modeled on Sweet?Henry Higgins (George Bernard Shaw).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Historical notes
- Who first named the phoneme?Polish scholar Baudouin de Courtenay (1894).
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Historical notes
- Match classic acoustic phonetics advances: sound spectrograph; source-filter theory; F1×F2 vowel space; stress cues.Spectrograph: Koenig et al. 1946. Source-filter: Fant 1960 (and Stevens et al.). F1×F2 space: Peterson & Barney 1952. Duration/intensity as stress cues: Fry 1955.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Historical notes
- Who developed the FFT, cepstral processing for speech, and LPC?FFT: Cooley & Tukey 1965. Cepstral processing: Oppenheim et al. 1968. LPC for speech coding: Atal & Hanauer 1971.
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Historical notes
Exercises
- Correct the ARPAbet: “three” [dh r i][th r iy]
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Exercises
- Correct the ARPAbet: “sing” [s ih n g][s ih ng]
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Exercises
- Correct the ARPAbet: “eyes” [ay s][ay z]
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Exercises
- Correct the ARPAbet: “study” [s t uh d i][s t ah d iy]
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Exercises
- Correct the ARPAbet: “though” [th ow][dh ow]
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Exercises
- Correct the ARPAbet: “planning” [p pl aa n ih ng][p l ae n ih ng]
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Exercises
- Correct the ARPAbet: “slight” [s l iy t][s l ay t]
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Exercises
- Transcribe in ARPAbet: dark, suit, greasy, wash, waterdark [d aa r k]; suit [s uw t]; greasy [g r iy s iy]; wash [w aa sh]; water [w aa dx axr] (American)
- Jurafsky & Martin, Speech and Language Processing, 3rd ed. draft, ch. 15, Exercises
Source
- Daniel Jurafsky and James H. Martin. Speech and Language Processing. 3rd edition (draft). https://web.stanford.edu/~jurafsky/slp3/