task_categories:automatic-speech-recognition annotations_creators:machine-generated language_creators:machine-generated multilinguality:monolingual size_categories:10K<n<100K source_datasets:original language:is license:cc-by-4.0 icelandic synthetic speech synthesized speech tts region:us
Samrómur Synthetic consists of 72 hours of synthetized speech in Icelandic.
@misc{menasamsynt2023,
      title={Samrómur Synthetic}, 
      author={Hernández Mena, Carlos Daniel and Örnólfsson, Gunnar Thor and Guðnason, Jón},
      publisher={Reykjavík University}
      year={2023},
}
---
annotations_creators:
- machine-generated
language:
- is
language_creators:
- machine-generated
license:
- cc-by-4.0
multilinguality:
- monolingual
pretty_name: "Samr\xF3mur Synthetic"
size_categories:
- 10K<n<100K
source_datasets:
- original
tags:
- icelandic
- synthetic speech
- synthesized speech
- tts
task_categories:
- automatic-speech-recognition
task_ids: []
---

# Dataset Card for samromur_synthetic
## Table of Contents
- [Dataset Description](#dataset-description)
  - [Dataset Summary](#dataset-summary)
  - [Supported Tasks](#supported-tasks-and-leaderboards)
  - [Languages](#languages)
- [Dataset Structure](#dataset-structure)
  - [Data Instances](#data-instances)
  - [Data Fields](#data-fields)
  - [Data Splits](#data-splits)
- [Dataset Creation](#dataset-creation)
  - [Curation Rationale](#curation-rationale)
  - [Source Data](#source-data)
  - [Annotations](#annotations)
  - [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
  - [Social Impact of Dataset](#social-impact-of-dataset)
  - [Discussion of Biases](#discussion-of-biases)
  - [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
  - [Dataset Curators](#dataset-curators)
  - [Licensing Information](#licensing-information)
  - [Citation Information](#citation-information)
  - [Contributions](#contributions)
  
## Dataset Description
- **Homepage:** Samrómur Synthetic
- **Repository:** [samromur_synthetic](https://huggingface.co/datasets/language-and-voice-lab/samromur_synthetic)
- **Point of Contact:** [Carlos Mena](mailto:carlos.mena@ciempiess.org), [Jón Guðnason](mailto:jg@ru.is)

### Dataset Summary

The Samrómur Synthetic is a corpus made out of synthesized speech in Icelandic. The text-to-speech (TTS) system utilized to produce the utterances was developed by the [Language and Voice Laboratory](https://lvl.ru.is/) at [Reykjavík University](https://en.ru.is/).

### Example Usage
Samrómur Synthetic counts with the train split only. To load the training split pass its name as a config name:
```python
from datasets import load_dataset
samromur_synthetic = load_dataset("language-and-voice-lab/samromur_synthetic")
```
To load the specific "train" split do:
```python
from datasets import load_dataset
samromur_synthetic = load_dataset("language-and-voice-lab/samromur_synthetic",split="train")
```

### Supported Tasks
automatic-speech-recognition: The dataset can be used to train 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 audio is in Icelandic.

## Dataset Structure

### Data Instances
```python
{
  'audio_id': 'SRMS_M_0010_V002S14_0140', 
  'audio': {
    'path': '/home/carlos/.cache/HuggingFace/datasets/downloads/extracted/797d34078b74cb1e2b9f0c824daef88ebfed04ec1c94d4461ba1065bd3d5dcb7/male/M_0010_V002S14/SRMS_M_0010_V002S14_0140.flac', 
    'array': array([-0.00249143, -0.00294211, -0.00127717, ...,  0.00669983,
        0.00358317,  0.        ], dtype=float32), 
    'sampling_rate': 22050
  }, 
  'speaker_id': 'M_0010', 
  'voice_id': 'V002', 
  'gender': 'male', 
  'speed_rate': 1.399999976158142, 
  'duration': 5.398600101470947, 
  'normalized_text': 'hann hélt hendinni þannig að hann var alveg greinilega að tala í síma'
}
```

### 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 the speaker
* `voice_id` (string) - id of the synthetic voice
* `gender` (string) - gender of the speaker (male or female)
* `speed_rate` (float32) - speed rate assigned to the current speaker
* `duration` (float32) - duration of the audio file in seconds
* `normalized_text` (string) - normalized audio segment transcription

### Data Splits
The corpus is split into train only. The length of the train portion is 72h52m26s in 62700 utterances.

## Dataset Creation

### Curation Rationale

The corpus was created following the steps below:

* Sentences from [Samrómur](samromur.is) are added in a single plain text file. Samrómur includes normalized text versions of each sentence. Normalized text sentences are taken for the next steps.

* Only sentences with a minimum of 8 words and a maximum of 24 were selected to be synthezied. The average number of words per line is 12.785.
   
* The text sentences are spread to cover a total of 22 male voices and 22 female voices at 5 different speed rates. Each combination of voice with a particular speed rate is considered as a individual speaker; so there are 220 (22x5x2) different speakers in the corpus (110 men plus 110 women). It is then assigned a total of 285 sentences to each speaker; so the total number of sentences to be synthesized are 62,700 (22x5x2x285).

* At the end, the selected sentences were converted into utterances using a TTS system. The amount of speech per speaker is around 21 minutes.

### Source Data

#### Initial Data Collection and Normalization

The sentences used to create the corpus were extracted from the [Samrómur](samromur.is) platform which is a web platform where any speaker of Icelandic (native or as a second language) can donate their voice to an open source data bank.

The utterances were created using the sentences described above and a Text-to-Speech (TTS) system developed by the Language and Voice Laboratory at Reykjavík University.

### Annotations

#### Annotation process

Text sentences from the platform [Samrómur](samromur.is) were selected to create synthetic utterances with them. The Samrómur Synthetic is comprised of synthetic utterances only.

#### Who are the annotators?

The authors selected the sentences to be synthesized.

### Personal and Sensitive Information
The corpus is comprised of synthetic speech utterances from a TTS system developed by the authors. No personal or sensitive information is shared.

## Considerations for Using the Data

### Social Impact of Dataset
The Samrómur Synthetic is the only Icelandic corpus at the moment, that counts with synthetic speech and it is publicly available under a CC-BY-4.0 license.

### Discussion of Biases

* The corpus has utterances from 44 different voices: 22 male and 22 female voices.

* Speakers were produced when varying between 5 speed rate values: 0.6, 0.8, 1.0, 1.2 and 1.4.

* Data is classified by speaker. It means that all the utterances belonging to one single speaker are stored in one single directory.

* Each speaker has been assigned 285 utterances with a minimum of 8 words and a maximum of 24. The average number of words per utterance is 12.785.

* Utterances have a length between 1 and 12 seconds each. The average length is 4.184 seconds.

* The amount of speech per speaker is around 21 minutes.

* Utterances are also classified according to the gender (male/female) of the speaker.

### Other Known Limitations
"Samrómur Synthetic" by Carlos Daniel Hernández Mena, Gunnar Thor Örnólfsson and Jón Guðnason is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) License with the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

## Additional Information

### Dataset Curators

The utterances of the corpus were synthesized by [Gunnar Thor Örnólfsson](https://huggingface.co/GunnarThor). The corpus was curated by [Carlos Daniel Hernández Mena](https://huggingface.co/carlosdanielhernandezmena) during June 2023 in the [Language and Voice Laboratory](https://huggingface.co/language-and-voice-lab) headed by [Jón Guðnason](http://www.ru.is/faculty/jg/).

### Licensing Information
[CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/)

### Citation Information
```
@misc{menasamsynt2023,
      title={Samrómur Synthetic}, 
      author={Hernández Mena, Carlos Daniel and Örnólfsson, Gunnar Thor and Guðnason, Jón},
      publisher={Reykjavík University}
      year={2023},
}
```

### Contributions

This project was funded by the Language Technology Programme for Icelandic 2019-2023. The programme, which is managed and coordinated by Almannarómur, is funded by the Icelandic Ministry of Education, Science and Culture.

