420 likes | 608 Views
Speaker Independent Arabic Speech Recognition Using Support Vector Machine. By. Eng. Shady Yehia El-Mashad . Supervised By. Dr. Mohamed Ibrahim Sharawy. Ass. Prof. Dr. Hala Helmy Zayed. Agenda. Introduction Characteristics of Speech Signal History of Speech & Previous Research
E N D
Speaker Independent Arabic Speech Recognition Using Support Vector Machine By Eng. Shady Yehia El-Mashad Supervised By Dr. Mohamed Ibrahim Sharawy Ass. Prof. Dr. Hala Helmy Zayed
Agenda Introduction Characteristics of Speech Signal History of Speech & Previous Research The Proposed System Results and Conclusions
Introduction • Characteristics of Speech Signal • History of Speech & Previous Research • The Proposed System • Results and Conclusions
Recognition Is one of the basic memory tasks. It involves identifying objects or events that have been encountered before. It is the easiest of the memory tasks. It is easier to recognize something, than to come up with it on your own
Speech Recognition System • Also Known as Automatic Speech Recognition or Computer Speech • Automatic Speech Recognition (ASR)is the process of converting captured speech signals into the corresponding sequence of words in text. • ASR systems accomplish three basic tasks: • 1- Pre-processing • 2- Recognition • 3-Communication
How do humans do it? • Articulation produces sound waves which the ear conveys to the brain for processing
How might computers do it? Acoustic Signal Acoustic Waveform Speech Recognition
Introduction • Characteristics of Speech Signal • History of Speech & Previous Research • The Proposed System • Results and Conclusions
Types of Speech Recognition There are two main types of speaker models: Speaker independent Speaker independent models recognize the speech patterns of a large group of people. (2) Speaker dependent Speaker dependent models recognize speech patterns from only one person.
Speech Recognition Usually Concern Three Types of Speech (1) Isolated Word Recognition Is the simplest speech type because it requires the user to pause between each word. (2) Connected Word Recognition Is capable of analyzing a string of words spoken together, but not at normal speech rate. (3) Connected Speech Recognition (Continuous Speech Recognition) Allows for normal conversational speech.
Factors that affect the speech signal - Speaker gender - Speaker identity - Speaker language - Psychological conditions - Speaking style - Environmental conditions
Some of the difficulties related to speech recognition • - Digitization: • Converting analogue signal into digital representation • - Signal processing: • Separating speech from background noise • - Phonetics: • Variability in human speech • - Continuity: • Natural speech is continuous.
The Three-State Representation Three-state representation is one way to classify events in speech. The events of interest for the three-state representation are: • Silence (S)- No speech is produced. •Unvoiced (U)- Vocal cords are not vibrating, resulting in an aperiodic or random speech waveform. • Voiced (V)- Vocal cords are vibrating periodically, resulting in a speech waveform that is quasi-periodic.
Applications of Speech Recognition • Security • (2) Education • (3) Control • (4) Diagnosis • (5) Dictation
Introduction • Characteristics of Speech Signal • History of Speech & Previous Research • The Proposed System • Results and Conclusions
Introduction • Characteristics of Speech Signal • History of Speech & Previous Research • The Proposed System • Results and Conclusions
The Proposed System 1.Recording System
The Proposed System 2. Data Set Creating of a speech database is important for the development researcher. For English language: we don't need to create a database because there is already more than one have been created to help the researcher on their research like sphinx1,2,3&4 and Australian English For Arabic language, we should try to create a database that help us.
The Proposed System 2. Data Set
The Proposed System 3. The Segmentation System Segmentation process is implemented by two techniques; semi-automatic and fully-automatic. Semi-automatic technique: We adopt the segmentation parameters which are window size, minimum amplitude, minimum frequency, maximum frequency, minimum silence, minimum speech, and minimum word manually by trial and error. In this technique, we achieve only 70 percent performance, which is not very high and with this technique we can’t continue in our system because we still have two stages after that which is the feature extraction and the recognition
X The Proposed System 3. The Segmentation System 0 1 6 5 3 2 0 4 0 3 0 1 6 5 3 2 0 4 0 3 -
The Proposed System 3. The Segmentation System Fully-automatic techniques These parameters are set automatically to get better performance by using the K-Mean clustering. By this technique we achieve nearly 100 percent in the segmentation of the digits. • The K-Means Algorithm process is as follows: • The dataset is partitioned into K clusters and the data points are randomly assigned to the clusters. • For each data point: • Calculate the distance from the data point to each cluster. • If the data point is closest to its own cluster, we leave it, and if not move it into the closest cluster. • Repeating the above step until a complete pass through all the data points resulting in no data point moving from one cluster to another.
The Proposed System 4. Feature Extraction When the input data to an algorithm is too large to be processed and it is suspected to be notoriously redundant (much data, but not much information) then the input data will be transformed into a reduced representation set of features (also named features vector). Transforming the input data into the set of features is called Feature extraction. • The feature vector must contain information that is • - useful to identify and differentiate speech sounds • - identify and differentiate between speakers There are some methods such as FFT, LPC, Real Cepstrum and MFCC.
The Proposed System • Take the Fourier transform of a signal. • Map the powers of the spectrum obtained above onto the mel scale, using triangular overlapping windows. • Take the logs of the powers at each of the mel frequencies. • Take the discrete cosine transform of the list of mel log powers, as if it were a signal. • The MFCCs are the amplitudes of the resulting spectrum. Mel Frequency Cepstrum Coefficients (MFCC):
The Proposed System • 5. Neural Network Classifier • There are many Neural Models, Each model has advantages and disadvantages depending on the application. According to our application we choose • Support Vector Machine (SVM)
The Proposed System Support Vector Machine (SVM): A Support Vector Machine (SVM) is implemented using the kernel Adatron algorithm which constructs a hyperplane or set of hyperplanes in a high dimensional space, which can be used for classification, regression or other tasks. Intuitively, a good separation is achieved by the hyperplane that has the largest distance to the nearest training data points of any class (so-called functional margin), since in general the larger the margin the lower the generalization error of the classifier.
The Proposed System Support Vector Machine (SVM): H3 (green) doesn’t separate the two classes; H1 (blue) separates the two classes but with a small margin and H2 (red) separates the two classes with the maximum margin.
Introduction • Characteristics of Speech Signal • History of Speech & Previous Research • The Proposed System • Results and Conclusions
Results and Conclusions • Training and Testing • Support Vector Machine (SVM) • We use the SVM network and adapting its parameter as follows: • no hidden layers. • The output layer has 10 neurons. • And we train with maximum epochs of 1000. • We have 10000 samples, we divide them into: • Training: 70% • Cross Validation: 15% • Testing: 15%
Results and Conclusions Results Cross Validation Confusion Matrix of the SVM
Results and Conclusions Results TheTesting Confusion Matrix of the SVM
Results and Conclusions Results Performance = (255+313+122+105+135+90+83+119+95+95) / 1500 = 1412 / 1500 = 94.13 %
Results and Conclusions • Conclusion • Aspoken Arabic digits recognizer is designed to investigate the process of automatic digits recognition. • The Segmentation process is implemented by two techniques; semi-automatic and fully-automatic. • The feature extracted by using MFCC technique. • This system is based on NN and by using Colloquial Egyptian dialect within a noisy environment and carried out by neuro solution tools. • The performance of the system is nearly 94% when we use (SVM).