Building a Speech Corpus based on Arabic Podcasts for Language and Dialect Identification
Paper · 2019 · Khaled Lounnas, Mourad Abbas and Mohamed Lichouri
Summary
Spoken language and dialect identification for Arabic is held back by a shortage of suitable speech data. The authors address this by assembling ArPod (Arpod-1.0), a corpus of a little over 8 hours of conversational audio taken from an Arabic podcast website. It covers MSA, English, and Saudi, Egyptian, Lebanese and Syrian dialects. Some of the recordings mix dialect with English. They split the material into a clean subset and a code-switched subset, then cut the test material into 6-, 30- and 60-second pieces. On this data they compared several classifiers: SVM, MLP, kNN and Extratrees on two hand-crafted acoustic/spectral feature sets, and a CNN that treats spectrograms as images. SVM with the larger Librosa-based feature set did best on both subsets, reaching F1 of about 96% on clean data and 98% on code-switched data with the shortest pieces. The spectrogram CNN lagged far behind. The resource is useful because it gives Arabic dialect research a freely shared, multi-speaker audio benchmark.
Key points
- Corpus contents: Arpod-1.0 totals 8:10 hours, recorded at 44.1 kHz with 16-bit encoding. Each language or dialect has between about 50 minutes and 1.5 hours, with two or more male and female speakers. The long files were cut into roughly 5-minute chunks with MKVToolNix, and the corpus is published on Kaggle.
- Two subsets:
- Clean (3:40 h): MSA, ENG, KSA and SYR.
- Code-switched (4:30 h): EGY, LEB and KSA-E, where speakers alternate between their dialect and English.
- Feature schemes:
- Scheme 1 has 34 features, including 13 MFCCs, energy, zero crossing rate, spectral centroid, spread, entropy, rolloff and flux, and a 12-dimensional chroma vector.
- Scheme 2 has 193 Librosa features: 40 MFCCs, a 128-band mel spectrogram, chroma, spectral contrast and tonnetz.
- Best results: SVM with scheme 2 scored F1 ≈ 96% on clean 6-second segments and ≈ 98% on code-switched 6-second segments. The spectrogram CNN reached only about 56% F1 on 1-minute clean segments.
- Effect of segment length:
- On clean data, the feature-based models (kNN, SVM, Extratrees) got worse as segments grew longer. MLP was the exception and improved slightly.
- On code-switched data, segment length had no visible effect on performance.
Interesting ideas
- I1. Sweeping one controlled variable (utterance length) across every model exposes trends that a single headline score hides, such as some models degrading on longer inputs.
- I2. Keeping "clean" and "mixed" (code-switched) data as separate test conditions, rather than pooling them, shows whether a model is robust to mixing or only to the easy case.
- I3. Running cheap classical classifiers alongside a deep model on the same data showed the simple SVM winning by a wide margin, which argues for always keeping strong lightweight baselines.
- I4. Comparing a compact feature set with a richer one on the same learner isolates how much the representation matters, independently of the model.
- I5. Splitting long raw recordings into uniform chunks before training makes uneven sources comparable and easier to balance.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (learn): Report parser and reader scores broken down by sentence-length buckets, so length-dependent failures are visible instead of averaged away.
- I2 (tree): Evaluate gparse and the perceptron parser separately on standard text and on informal or dialect-converted UD text, to see where conversion or register shifts hurt.
- I3 (learn): Keep the perceptron parser as a standing baseline next to gparse in every evaluation, so the transformer's gains must be demonstrated rather than assumed.
- I4 (tokens): Run ablations on the tagger and morphology with small and large explainable feature templates, to measure which features earn their cost.
- I5 (world): Cut long stories into fixed-size passages when building world-of-text test sets, so entity and event tracking can be compared across texts of very different lengths.
Fields, topics and concepts
📚 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 16,667 worksArtificial Intelligence · 16,194 worksArts and Humanities · 16,039 worksLanguage and Linguistics · 15,891 works
🧭 Topics 2Research subjects and languages the work is about.Semitic languages · 2,908 worksSpeech & spoken language · 480 works
Cite
Cite as Khaled Lounnas, Mourad Abbas and Mohamed Lichouri. 2019. Building a Speech Corpus based on Arabic Podcasts for Language and Dialect Identification. Proceedings of the 3rd International Conference on Natural Language and Speech Processing.
@inproceedings{lounnas2019building,
title = {{Building a Speech Corpus based on Arabic Podcasts for Language and Dialect Identification}},
author = {Khaled Lounnas, Mourad Abbas and Mohamed Lichouri},
booktitle = {Proceedings of the 3rd International Conference on Natural Language and Speech Processing},
year = {2019},
url = {https://aclanthology.org/W19-7408/}
}References
- Ahmed Ali, Najim Dehak, Patrick Cardinal, Sameer Khurana, Sree Harsha Yella, James Glass, Peter Bell, and Steve Renals. 2015. Automatic dialect detection in arabic broadcast speech. arXiv preprint arXiv:1509.06928. ↗
- Areej Alshutayri and Hassanin Albarhamtoshy. 2011. Arabic spoken language identification system (aslis): A proposed system to identifying modern standard arabic (msa) and egyptian dialect. In International Conference on Informatics Engineering and Information Science, pages 375– 385. Springer. find
- Fadi Biadsy and Julia Hirschberg. 2009. Using prosody and phonotactics in arabic dialect identification. In Tenth Annual Conference of the International Speech Communication Association. find
- Fadi Biadsy, Julia Hirschberg, and Nizar Habash. 2009. Spoken arabic dialect identification using phonotactic modeling.
- In Proceedings of the eacl 2009 workshop on computational approaches to semitic languages, pages 53–61. Association for Computational Linguistics. find
- Hadda Cherroun Soumia Bougrine and Ahmed Abdelali. 2018. Spoken arabic algerian dialect identification. In 2018 2nd International Conference on Natural Language and Speech Processing (ICNLSP), pages 1–6. IEEE. find
- Luciana Ferrer, Yun Lei, Mitchell McLaren, and Nicolas Scheffer. 2015. Study of senone-based deep neural network approaches for spoken language recognition. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 24(1):105–116. ↗
- Theodoros Giannakopoulos. 2015. pyaudioanalysis: An open-source python library for audio signal analysis. PloS one, 10(12):e0144610. find
- Bing Jiang, Yan Song, Si Wei, Jun-Hua Liu, Ian Vince McLoughlin, and Li-Rong Dai. 2014. Deep bottleneck features for spoken language identification. PloS one, 9(7):e100795. ↗
- Shashidhar G Koolagudi, Deepika Rastogi, and K Sreenivasa Rao. 2012. Identification of language using mel-frequency cepstral coefficients (mfcc). Procedia Engineering, 38:3391–3398. find
- Kong Aik Lee, Haizhou Li, Li Deng, Ville Hautamäki, Wei Rao, Xiong Xiao, Anthony Larcher, Hanwu Sun, Trung Hieu Nguyen, Guangsen Wang, et al. 2016. The 2015 nist language recognition evaluation: the shared view of i2r, fantastic4 and singams. find
- Khaled Lounnas, Mourad Abbas, Hocine Teffahi, and Mohamed Lichouri. 2019. A language identification system based on voxforge speech corpus. In International Conference on Advanced Machine Learning Technologies and Applications, pages 529–534. Springer. find
- Brian McFee, Colin Raffel, Dawen Liang, Daniel PW Ellis, Matt McVicar, Eric Battenberg, and Oriol Nieto. 2015. librosa: Audio and music signal analysis in python. In Proceedings of the 14th python in science conference, volume 8. ↗
- Mohsen Moftah, Mohammed Waleed Fakhr, and Salwa El Ramly. 2018. Arabic dialect identification based on motif discovery using gmm-ubm with different motif lengths. In 2018 2nd International Conference on Natural Language and Speech Processing (ICNLSP), pages 1–6. IEEE. find
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/lounnas-2019-building-speech-corpus-based-arabic/