masri_dev / README.md
carlosdanielhernandezmena's picture
Convert dataset to Parquet (#1)
6f03139 verified
|
raw
history blame
10.5 kB
metadata
annotations_creators:
  - expert-generated
language_creators:
  - other
language:
  - mt
license: cc-by-nc-sa-4.0
multilinguality:
  - monolingual
size_categories:
  - n<1K
source_datasets:
  - original
task_categories:
  - automatic-speech-recognition
task_ids: []
pretty_name: >-
  MASRI-DEV CORPUS: Audio and Transcriptions in Maltese extracted from the
  YouTube channel of the University of Malta.
tags:
  - masri
  - maltese
  - masri-project
  - malta
  - evaluation corpus
  - development corpus
  - dev
dataset_info:
  config_name: masri_dev
  features:
    - name: audio_id
      dtype: string
    - name: audio
      dtype:
        audio:
          sampling_rate: 16000
    - name: speaker_id
      dtype: string
    - name: gender
      dtype: string
    - name: duration
      dtype: float32
    - name: normalized_text
      dtype: string
  splits:
    - name: validation
      num_bytes: 72810026
      num_examples: 669
  download_size: 72798422
  dataset_size: 72810026
configs:
  - config_name: masri_dev
    data_files:
      - split: validation
        path: masri_dev/validation-*
    default: true

Dataset Card for masri_dev

Table of Contents

Dataset Description

Dataset Summary

The MASRI-DEV CORPUS was created out of YouTube videos belonging to the channel of the University of Malta. It has a length of 1 hour and it is gender balanced, as it has the same number of male and female speakers.

Example Usage

The MASRI-DEV contains only the validation split:

from datasets import load_dataset
masri_dev = load_dataset("MLRS/masri_dev")

It is also valid to do:

from datasets import load_dataset
masri_dev = load_dataset("MLRS/masri_dev",split="validation")

Supported Tasks

automatic-speech-recognition: The dataset can be used as a development/validation corpus when training a model for Automatic Speech Recognition (ASR). The model is presented with an audio file and asked to transcribe the audio file to written text. The most common evaluation metric is the word error rate (WER).

Languages

The language of the corpus is Maltese.

Dataset Structure

Data Instances

{
  'audio_id': 'MSRDV_F_08_DV_00005', 
  'audio': {
    'path': '/home/carlos/.cache/HuggingFace/datasets/downloads/extracted/ebfc6f70292385c6e730ccadc575de507963960c28b4faf2d8bbfcd61589d2cc/dev/female/F_08/MSRDV_F_08_DV_00005.flac', 
    'array': array([ 0.00140381,  0.00210571,  0.00189209, ..., -0.00210571,
       -0.00289917, -0.00372314], dtype=float32), 
    'sampling_rate': 16000
  }, 
  'speaker_id': 'F_08', 
  'gender': 'female', 
  'duration': 5.900000095367432, 
  'normalized_text': 'dawn ma kinux żminijiet sbieħ l-inkwiżizzjoni ddeċidiet li teqred lil kull min'
}

Data Fields

  • audio_id (string) - id of audio segment
  • audio (datasets.Audio) - a dictionary containing the path to the audio, the decoded audio array, and the sampling rate. In non-streaming mode (default), the path points to the locally extracted audio. In streaming mode, the path is the relative path of an audio inside its archive (as files are not downloaded and extracted locally).
  • speaker_id (string) - id of speaker
  • gender (string) - gender of speaker (male or female)
  • duration (float32) - duration of the audio file in seconds.
  • normalized_text (string) - normalized audio segment transcription

Data Splits

The corpus counts just with the validation split which has a total of 669 speech files from 9 male speakers and 9 female speakers with a total duration of 1 hour.

Dataset Creation

Curation Rationale

The MASRI-DEV CORPUS (MDVC) has the following characteristics:

  • The MDVC has an exact duration of 1 hours and 0 minutes. It has 669 audio files.
  • The MDVC has recordings from 18 different speakers: 9 men and 9 women.
  • Data in MDVC is classified by speaker. Therefore, all the recordings of each individual speaker are stored in one single directory.
  • Data is also classified according to the gender (male/female) of the speakers.
  • Every audio file in the MDVC has a duration between 3 and 10 seconds approximately.
  • Audio files in the MDVC are distributed in a 16khz@16bit mono format.
  • Transcriptions in MDVC are in lowercase. No punctuation marks are permitted except for dashes (-) and apostrophes (') due to their importance in Maltese orthography.

Source Data

Initial Data Collection and Normalization

The MASRI-DEV CORPUS was possible due to a collaboration of two different Universities. The data selection and audio segmentation was performed by the CIEMPIESS-UNAM Project at the Universidad Nacional Autónoma de México (UNAM) in Mexico City. The audio transcription and corpus edition was performed by the MASRI Team at the University of Malta in the Msida Campus.

Annotations

Annotation process

Proper nouns and other words pronounced in languages other than Maltese (mainly from English, Italian, French and German) were transcribed in their respective orthographic system.

Who are the annotators?

The audio transcription was performed by expert native speakers at the University of Malta in the Msida Campus.

Personal and Sensitive Information

The dataset could contain names revealing the identity of some speakers; on the other side, the recordings come from a publicly repository (YouTube), so, there is not a real intent of the participants to be anonymized. Anyway, you agree to not attempt to determine the identity of speakers in this dataset. Notice: Should you consider that our data contains material that is owned by you and should therefore not be reproduced here?, please:

  • Clearly identify yourself, with detailed contact data such as an address, telephone number or email address at which you can be contacted.
  • Clearly identify the copyrighted work claimed to be infringed.
  • Clearly identify the material that is claimed to be infringing and information reasonably sufficient to allow us to locate the material.
  • Send the request to Carlos Mena Take down: We will comply to legitimate requests by removing the affected sources from the corpus.

Considerations for Using the Data

Social Impact of Dataset

This dataset is challenging because it contains spontaneous speech; so, it will be helpful for the ASR community to validate their acoustic models in Maltese with it.

Discussion of Biases

The dataset intents to be gender balanced. It is comprised of 9 male speakers and 9 female speakers.

Other Known Limitations

Neither the MASRI Team or the CIEMPIESS-UNAM Project guarantee the accuracy of this corpus, nor its suitability for any specific purpose. As a matter of fact, a number of errors, omissions and inconsistencies are expected to be found within the corpus.

Dataset Curators

The audio recordings were collected and segmented by students belonging to the social service program "Desarrollo de Tecnologías del Habla", it was curated by Carlos Daniel Hernández Mena and its transcriptions were manually performed by Ayrton-Didier Brincat during 2020.

Licensing Information

CC-BY-NC-SA-4.0. The copyright remains with the original owners of the video. As the data is taken from YouTube, we invoke the same argument of "fair use" as in the Voxlingua107 dataset, which is: "While YouTube users own the copyright to their own videos, using the audio in the videos for training speech recognition models has very limited and transformative purpose and qualifies thus as "fair use" of copyrighted materials. YouTube’s terms of service forbid downloading, storing and distribution of videos. However, the aim of this rule is clearly to forbid unfair monetization of the content by third-party sites and applications. Our dataset contains the videos in segmented audio-only form that makes the monetization of the actual distributed content extremely difficult."

Citation Information

@misc{carlosmenamasridev2020,
      title={MASRI-DEV CORPUS: Audio and Transcriptions in Maltese extracted from the YouTube channel of the University of Malta.}, 
      author={Hernandez Mena, Carlos Daniel and  Brincat, Ayrton-Didier and Gatt, Albert and DeMarco, Andrea and Borg, Claudia and van der Plas, Lonneke and Meza Ruiz, Iván Vladimir},
      journal={MASRI Project, Malta},
      year={2020},
      url={https://huggingface.co/datasets/MLRS/masri_dev},
}

Contributions

The authors would like to thank to Alberto Templos Carbajal, Elena Vera and Angélica Gutiérrez for their support to the social service program "Desarrollo de Tecnologías del Habla" at the "Facultad de Ingeniería (FI)" of the Universidad Nacional Autónoma de México (UNAM). We also thank to the social service students for all the hard work during the audio segmentation.