Dataset Viewer (First 5GB)
Auto-converted to Parquet
aya_name
stringlengths
6
11
reciter_name
stringclasses
1 value
recitation_id
int64
0
0
url
stringclasses
1 value
audio
dict
duration
float64
2.01
20
speech_intervals
listlengths
0
4
is_interval_complete
bool
2 classes
speed
float64
0.8
1.5
is_augmented
bool
2 classes
aya_id
stringlengths
8
13
input_features
listlengths
999
999
attention_mask
listlengths
999
999
labels
listlengths
999
999
005106
محمود خليل الحصري
0
https://everyayah.com/data/Husary_128kbps/000_versebyverse.zip
{"array":[-0.02386610209941864,-0.020916450768709183,-0.018130488693714142,-0.015548698604106903,-0.(...TRUNCATED)
20
[ [ 0, 1.504375 ], [ 3.850625, 20 ] ]
true
1.111565
true
005106_1
[[0.3295886814594269,0.858288586139679,0.864719033241272,0.557662308216095,0.44980669021606445,0.271(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
005062
محمود خليل الحصري
0
https://everyayah.com/data/Husary_128kbps/000_versebyverse.zip
{"array":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.(...TRUNCATED)
20
[ [ 0.4399375, 14.248 ], [ 16.3759375, 20 ] ]
true
1
false
005062_0
[[-8.509730339050293,-9.093510627746582,-8.586950302124023,-8.064091682434082,-8.151321411132812,-8.(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
005064
محمود خليل الحصري
0
https://everyayah.com/data/Husary_128kbps/000_versebyverse.zip
{"array":[0.09885185956954956,0.05641035735607147,-0.011140205897390842,-0.043002188205718994,-0.037(...TRUNCATED)
20
[ [ 0, 2.9378125 ], [ 4.3659375, 18.4365 ] ]
true
1.288368
true
005064_1
[[-0.3261646330356598,-0.3611786365509033,0.5135208964347839,0.7358115315437317,0.7909845113754272,0(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
005077
محمود خليل الحصري
0
https://everyayah.com/data/Husary_128kbps/000_versebyverse.zip
{"array":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.(...TRUNCATED)
20
[ [ 0.344, 20 ] ]
true
1
false
005077_0
[[-12.193896293640137,-12.215497016906738,-11.063480377197266,-9.436902046203613,-12.272115707397461(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
003123
محمود خليل الحصري
0
https://everyayah.com/data/Husary_128kbps/000_versebyverse.zip
{"array":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.(...TRUNCATED)
20
[ [ 0.536, 10.6 ], [ 11.7679375, 19.336 ] ]
true
1
false
003123_0
[[-12.71035385131836,-12.910515785217285,-10.645137786865234,-10.381088256835938,-10.809219360351562(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
005072
محمود خليل الحصري
0
https://everyayah.com/data/Husary_128kbps/000_versebyverse.zip
{"array":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.(...TRUNCATED)
20
[ [ 1.016, 14.4399375 ], [ 17.624, 20 ] ]
true
1
true
005072_0
[[-5.253934383392334,-5.255151748657227,-6.022771835327148,-5.970846176147461,-5.685781002044678,-5.(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0(...TRUNCATED)
002159
محمود خليل الحصري
0
https://everyayah.com/data/Husary_128kbps/000_versebyverse.zip
{"array":[0.12479865550994873,0.08034464716911316,0.03088231571018696,-0.02168472670018673,-0.076319(...TRUNCATED)
2.307
[ [ 0, 1.304 ] ]
true
1
true
002159_2
[[1.0902206897735596,0.6398130655288696,0.8344855904579163,0.8750959038734436,0.9070518016815186,0.9(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
002255
محمود خليل الحصري
0
https://everyayah.com/data/Husary_128kbps/000_versebyverse.zip
{"array":[0.17947179079055786,0.1788107305765152,0.2119530737400055,0.21863305568695068,0.1742758601(...TRUNCATED)
20
[ [ 0, 1.488 ], [ 3.52, 10.7999375 ], [ 12.0639375, 20 ] ]
true
1
true
002255_1
[[0.7841374278068542,0.9757276177406311,0.4303414821624756,0.21101948618888855,0.08835621923208237,0(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
005108
محمود خليل الحصري
0
https://everyayah.com/data/Husary_128kbps/000_versebyverse.zip
{"array":[-0.0296630859375,-0.0277099609375,-0.02386474609375,-0.0186767578125,-0.01446533203125,-0.(...TRUNCATED)
20
[ [ 0, 3.6959375 ], [ 6.784, 10.8959375 ], [ 12.3519375, 20 ] ]
true
1
false
005108_1
[[0.3133763372898102,0.5326544642448425,0.5990616083145142,0.39931827783584595,0.183903306722641,0.3(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
005041
محمود خليل الحصري
0
https://everyayah.com/data/Husary_128kbps/000_versebyverse.zip
{"array":[-0.0052274614572525024,0.006751726847141981,0.015113113448023796,0.027341462671756744,0.04(...TRUNCATED)
20
[ [ 0, 4.1426875 ], [ 6.2310625, 17.398125 ] ]
true
0.927012
false
005041_3
[[0.31292447447776794,0.2651120722293854,0.5040552616119385,0.7982938289642334,0.8527464270591736,0.(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED)
End of preview. Expand in Data Studio

Automatic Pronunciation Error Detection and Correction of the Holy Quran's Learners Using Deep Learning

Paper | Project Page | Code

Introduction

This dataset is developed as part of the research presented in the paper "Automatic Pronunciation Error Detection and Correction of the Holy Quran's Learners Using Deep Learning". The work introduces a 98% automated pipeline to produce high-quality Quranic datasets, comprising over 850 hours of audio (~300K annotated utterances). This dataset supports a novel ASR-based approach for pronunciation error detection, utilizing a custom Quran Phonetic Script (QPS) designed to encode Tajweed rules.

Recitation Segmentations Dataset

This is a modified version of this dataset with these modifications:

  • adding augmentation to the speed of the recitations utterance with column speed reflects the speed from 0.8 to 1.5 on 40% of the dataset using audumentations.
  • adding data augmentation with audiomentations on 40% of the dataset to prepare it for training the recitations spliter.

The codes for building this dataset is available at github

Results

The model trained with this dataset achieved the following results on an unseen test set:

Metric Value
Accuracy 0.9958
F1 0.9964
Loss 0.0132
Precision 0.9976
Recall 0.9951

Sample Usage

Below is a Python example demonstrating how to use the recitations-segmenter library (developed alongside this dataset) to segment Holy Quran recitations.

First, ensure you have the necessary Python packages and ffmpeg/libsndfile installed:

Linux

sudo apt-get update
sudo apt-get install -y ffmpeg libsndfile1 portaudio19-dev

Winodws & Mac

You can create an anaconda environment and then download these two libraries:

conda create -n segment python=3.12
conda activate segment
conda install -c conda-forge ffmpeg libsndfile

Install the library using pip:

pip install recitations-segmenter

Then, you can run the following Python script:

from pathlib import Path

from recitations_segmenter import segment_recitations, read_audio, clean_speech_intervals
from transformers import AutoFeatureExtractor, AutoModelForAudioFrameClassification
import torch

if __name__ == '__main__':
    device = torch.device('cuda')
    dtype = torch.bfloat16

    processor = AutoFeatureExtractor.from_pretrained(
        "obadx/recitation-segmenter-v2")
    model = AutoModelForAudioFrameClassification.from_pretrained(
        "obadx/recitation-segmenter-v2",
    )

    model.to(device, dtype=dtype)

    # Change this to the file pathes of Holy Quran recitations
    # File pathes with the Holy Quran Recitations
    file_pathes = [
        './assets/dussary_002282.mp3',
        './assets/hussary_053001.mp3',
    ]
    waves = [read_audio(p) for p in file_pathes]

    # Extracting speech inervals in samples according to 16000 Sample rate
    sampled_outputs = segment_recitations(
        waves,
        model,
        processor,
        device=device,
        dtype=dtype,
        batch_size=8,
    )

    for out, path in zip(sampled_outputs, file_pathes):
        # Clean The speech intervals by:
        # * merging small silence durations
        # * remove small speech durations
        # * add padding to each speech duration
        # Raises:
        # * NoSpeechIntervals: if the wav is complete silence
        # * TooHighMinSpeechDruation: if `min_speech_duration` is too high which
        # resuls for deleting all speech intervals
        clean_out = clean_speech_intervals(
            out.speech_intervals,
            out.is_complete,
            min_silence_duration_ms=30,
            min_speech_duration_ms=30,
            pad_duration_ms=30,
            return_seconds=True,
        )

        print(f'Speech Intervals of: {Path(path).name}: ')
        print(clean_out.clean_speech_intervals)
        print(f'Is Recitation Complete: {clean_out.is_complete}')
        print('-' * 40)

License

This dataset is licensed under the MIT

Downloads last month
134