






























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!































































Dr. Ali Al-Hajj Hassan
๏ Introduction to Speech Recognition ๏ Problem Formulation ๏ Speech Units ๏ Entropy of Speech ๏ Feature Analysis ๏ Discrete Cosine Transform Function ๏ Cepstral Coefficients ๏ Statistical Acoustic Models ๏ Hidden Markov Models (HMMS) ๏ Dynamic Time Warping (DTW) ๏ Voice-Activated Name Dialing ๏ Resolutions of Speech Features and Models ๏ Spectral-Temporal Feature Resolution ๏ Statistical Model Resolution ๏ Model Context Resolution
Outline
๏ In general the sources of speech variability are as follows: ๏ Duration variability: No two spoken realizations of a word, even by the same person, have the same duration. ๏ Spectral variability: No two spoken realizations of a word, even by the same person, have the same spectral-temporal trajectory. ๏ Speaker variability: Speech is affected by the anatomical characteristics, gender, health, and emotional state of the speaker. ๏ Accent: Speaker accent can have a major effect on speech characteristics and on speech recognition performance. ๏ Contextual variability: The characteristic of a speech unit is affected by the acoustic and phonetic context of the units preceding or succeeding it. ๏ Noise: Speech recognition is affected by noise, echo, channel distortion and adverse environment.
Introduction to Speech Recognition
๏ In terms of the continuity of the input speech that a speech recognition system can handle, there are broadly two types of speech recognition systems: ๏ Isolated-word recognition systems , with short pauses between spoken words, are primarily used in small vocabulary command control applications. ๏ Continuous speech recognition is the recognition and transcription of naturally spoken speech. Continuous speech recognition systems are usually based on word model networks constructed from compilation of phoneme models using a phonetic transcription dictionary.
Introduction to Speech Recognition
๏ Formally, the problem of recognition of words from a sequence of acoustic speech features can be expressed in terms of maximization of a probability function as:
๏ where f (ยท) is the conditional probability of a sequence of words W given a sequence of speech features X.
๏ In practice speech is processed sequentially and the occurrence of a word, a phoneme or a speech frame is conditioned on the previous words, phonemes and speech frames.
Problem Formulation
๏ Block diagram of the overall speech recognition system.
๏ The input speech signal, s[n] , is converted to the sequence of feature vectors, X = {x 1 ,x 2 ,... ,xT } , by the feature analysis block (also denoted spectral analysis).
Problem Formulation
๏ A language model (N-gram) is used to compute a language model score for each proposed word string.
๏ The final block in the process is a confidence scoring process (also denoted as an utterance verification block), which is used to provide a confidence score for each individual word in the recognized string.
Problem Formulation
๏ Every communication system has a set of elementary symbols (or alphabet) from which larger units such as words and sentences are constructed.
๏ For example in digital communication the basic alphabet are โ1โ and โ0โ, and in written English the basic units are A to Z.
๏ The elementary linguistic unit of spoken speech is called a phoneme and its acoustic realization is called a phone.
๏ There are between 60 to 80 phonemes in spoken English ; the exact number of phonemes depends on the dialect.
๏ In automatic speech processing the number of phonemes can be reduced to between 40 to 60 phonemes depending on the dialect.
Speech Unit
๏ Entropy of an information source gives the theoretical lower bound for the number of binary bits required to encode the source.
๏ The entropy of a set of communication symbols is obtained as the probabilistic average of log 2 of the probabilities of the symbols.
๏ The entropy of a random variable X with M states or symbols X=[x 1 , ..., xM] and the state or symbol probabilities [p 1 , ..., pM] , where PX(xi)= pi, is given by
๐ฏ ๐ฟ = โ ๐ท๐ฟ
๐ด
๐=๐
Entropy of Speech
๏ We can consider the entropy of speech at several levels; ๏ such as the entropy of words contained in a sequence of speech or the entropy of intonation or the entropy of the speech signal features.
๏ The calculation of the entropy of speech is complicated as speech signals simultaneously carry various forms of information such as phonemes, topic, intonation signals, accent, speaker voice, etc.
Entropy of Speech
๏ The temporal dynamics of speech parameters , i.e. the direction and the rate of change of time-variation of speech features , play an important role in improving the accuracy of speech recognition.
๏ Temporal dynamics are often modeled by the first and the second order differences of cepstral coefficients.
Feature Analysis
๏ There are several tools that can be used to transform a given sequence into different representation.
๏ A Discrete Cosine Transform (DCT) expresses a finite sequence of data points in terms of a sum of cosine functions oscillating at different frequencies.
๏ The most commonly used form is given by
๐ฟ ๐ = ๐
๐ตโ๐
๐=๐
Discrete Cosine Transform Function
๏ If we want also to use the Global SNR of the reconstructed speech using DCT and DFT versus the Global SNR of the noisy speech.
๏ For that DCT is typically used to extract the cepstral vector from the speech signal.
DCT vs DFT
๏ The most commonly used features are cepstral coefficients that are derived from an Inverse Discrete Fourier Transform ( IDFT ) of logarithm of short-term power spectrum of a speech segment (with a typical segment length of 20-25ms) as:
๐ ๐ = ๐๐
๐ตโ๐
๐=๐
๐๐ ๐๐ ๐ต
๏ where X ( k ) is the FFT-spectrum of speech x ( n ).
Cepstral Coefficients