Skip to content

A modification on the Sharif Emotional Speech Database

Notifications You must be signed in to change notification settings

aliyzd95/modified_shemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Source Love

This repository contains a modification on the ShEMO dataset with help of an Automatic Speech Recognition (ASR) system.

For more information, please read our paper.

Data Samples

The file modified_shemo.json contains the modified dataset samples with the following attributes.

"Name of the audio file": {
    "path": Path to the .wav file,
    "gender": The gender of the speaker,
    "speech_name": Name of the .wav file in the original dataset,
    "text_name": Name of the .ort file in the original dataset,
    "emotion": Emotional label based on text files,
    "transcript": Ground-Truth orthographic transcription of the utterance,
    "ipa": Phonetic transcription of the utterance according to the IPA standard
}

Here is a sample of the modified dataset:

"F21N05.wav": {
    "path": "shemo/F21N05.wav",
    "gender": "female",
    "speech_name": "F21N05",
    "text_name": "F21N37",
    "emotion": "neutral",
    "transcript": "مگه من به تو نگفته بودم که باید راجع به دورانت سکوت کنی؟",
    "ipa": "mӕge mæn be to nægofte budӕm ke bɑyæd rɑdʒeʔ be dorɑnt sokut koni"
}

Sharif Emotional Speech Database (ShEMO)

the ShEMO dataset contains 3000 audio files along with 3000 text files for each sentence as a ground-truth transcription. The text file of the sentence related to the corresponding audio file can be found through the names of the files. In fact, the audio and the text file of an utterance have the same name. But out of 3000 files, only 2838 have the same name. With further investigations, we found that some of these text files have the wrong names and referred to the wrong audio file. In the picture below, examples of errors in referencing audio and text files can be seen. We fixed the errors and inconsistencies in ShEMO dataset by using an Automatic Speech Recognition (ASR) system.

ShEMO errors

Contradictions Correction

To recognize the correct names of these files, a 4-gram language model on Web2Corpus was used. Thus, the ASR system, with the help of the language model, will recognize sentences more accurately. Then the sentences whose WER and CER metrics are more than 0.5 are compared with each other to find the correct text file. There are 347 files out of a total of 3000 files in the dataset that meet the mentioned conditions. The result of modifying the dataset is much fewer errors in sentence recognition. As shown in the table below, the WER in this dataset has been greatly reduced after correcting the text files related to each audio file.

ShEMO Modification Word Error Rate
Before 51.97
After 30.79

Labels Correction

After modifying the dataset, it was found that there are 163 files whose audio file labels are different from their text file labels. the table below, shows the result of testing a convolutional neural network model on the new dataset. In this experiment, these 163 files have been used as the test set and the rest of the files have been used to train the model. The better performance of the model by choosing the text file label as the final label of these 163 files shows that the text file label is the correct label for these files.

Select Labels Weighted Accuracy Unweighted Accuracy
.wav files 33.55 22.55
.ort files 72.25 43.92

Citation

If you use this dataset in your reserch, please cite the following paper

@misc{https://doi.org/10.48550/arxiv.2211.09956,
  doi = {10.48550/ARXIV.2211.09956},
  url = {https://arxiv.org/abs/2211.09956},
  author = {Yazdani, Ali and Shekofteh, Yasser},
  keywords = {Audio and Speech Processing (eess.AS), Artificial Intelligence (cs.AI), Sound (cs.SD), FOS: Electrical engineering, electronic engineering, information engineering, FOS: Electrical engineering, electronic engineering, information engineering, FOS: Computer and information sciences, FOS: Computer and information sciences, I.2, 68T10 (Primary) 68T50, 68T07 (Secondary)},
  title = {A Persian ASR-based SER: Modification of Sharif Emotional Speech Database and Investigation of Persian Text Corpora},
  publisher = {arXiv},
  year = {2022},
  copyright = {arXiv.org perpetual, non-exclusive license}
}

You can use this or this link to access the original ShEMO dataset.

contact

ali.yazdani@mail.sbu.ac.ir