General Instruction
- Submit your work in the Dropbox folder via BeachBoard. (Not email or in class)
- Submit the separate files as they are. (no zip file)
- Evaluate the performance of Google Web Speech API.
- Read How Speech Recognition Works.txt which includes 24 sentences, and record your speech as separate WAV(PCM) files using the nomenclature Group ID-Native
Language-gender-Sent#.wav. For instance, 01-English-female-Sent01.wav. I recommend you to use Audacity to record and edit your speech.
- (10 points) Upload all audio files to BeachBoard Discussions Lab How SpeechRecognition Works by clicking Start a New Thread. Write your Group ID at the subject line and attach the audio files.
- (5 points) Complete the read original method that imports a text file into a list of strings, original, in the order of the sentence number.
- (20 points) Refer this site, and complete the conv audio method that converts audio files into a list of strings, recognized. The method should convert all audio files (.wav) in the folder, inDir, in the order of Sent#.
- (10 points) Complete the comp string method that compares two lists of strings, original and self.recognized, and calculates the similarities of two strings by using Levenshtein Distance. (You need to convert the strings into the lists of words. For instance, I love AI to [I, love, AI]. Please refer this site.) This method should store the separate similarity scores in self.similarity in the order of Sent#.
- Visit BeachBoard Discussions Lab How Speech Recognition Works again, andselect two other threads than yours which include;
- the same native language but distinct gender of yours
- distinct native language but same gender of yours
- (15 points) Write a report which includes comparison results using box-and-whisker plots by native languages and genders as shown in Figure 1 and Figure 2. You may use Seaborn, Pandas, or Matplotlib to draw the plots.
- Submit py and your report.
CECS 451 Assignment 8 Page 2 of 2
Figure 1: An example of the comparison by native languages
Figure 2: An example of the comparison by genders
Reviews
There are no reviews yet.