Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

Β© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

aizazayubi/Low-Resource-Speech-Dataset-Builder-Full-Pipeline-

Domain:

natural language processing

Record type:

software
Creator:
aiz
Host:
# **Low Resource Speech Dataset Builder (Wav2Vec Friendly)** Tools for downloading speech from YouTube, converting it to WAV, and slicing it into 3–8 second chunks suitable for **Wav2Vec2** and other self-supervised speech models. Designed for **low-resource languages** where building datasets is difficult. --- ## **✨ Features** * Download audio from YouTube using safe filenames * Convert audio to **mono 16kHz WAV** (Wav2Vec2 preferred format) * Split audio into chunks based on silence * Normalize chunk duration to **3–8 seconds** for robust model training * Export ready-to-use WAV files for ASR, SSL training, or dataset creation --- ## **πŸ“¦ Requirements** Install all dependencies: ```bash pip install -r requirements.txt ``` Dependencies: * `yt-dlp` * `pydub` * `pandas` * `tqdm` * `ffmpeg` (must be installed on your system) --- ## **πŸ“‚ Project Structure** ``` Kow Resource Soeech Dataset Builder/ β”œβ”€β”€ utils.py β”œβ”€β”€ main.py β”œβ”€β”€ urls.csv β”œβ”€β”€ requirements.txt └── README.md ``` --- ## **πŸš€ Usage** ### **1. Download audio** ```python from utils import download_audio m4a_path = download_audio(url, "tmp") ``` ### **2. Convert to WAV** ```python from utils import convert_to_wav wav_path = convert_to_wav(m4a_path, m4a_path.replace(".m4a", ".wav")) ``` ### **3. Chunk the audio (3–8 seconds)** ```python from utils import split_by_silence_and_chunk chunks = split_by_silence_and_chunk(wav_path, "wav_chunks") ``` --- ## **🎯 Goal** This tool is built to help researchers, linguists, and developers automatically generate **Wav2Vec2-friendly datasets for low-resource languages**, such as Khowar, Dakhni, Wakhi, Burushaski, Pashto, or any language with limited audio resources. Wav2Vec2 and other SSL models perform best when given: * **Clean** * **Short-duration** * **Mono, 16kHz** * **Natural speech chunks** This script automates that entire pipeline. --- ## **πŸ“œ Example CSV** Provide YouTube links in a file like: ```csv url youtube.com …

Visit

github.com

Tasks

automatic speech recognitionspeech processing

Similar

A Low-Resource Speech-Driven NLP Pipeline for Sinhala Dyslexia AssistanceAfrican Voices: Multilingual Speech Dataset for Low-Resource African LanguagesSOA: Reducing Domain Mismatch in SSL Pipeline by Speech Only Adaptation for Low Resource ASRIlyasFardaouix/darija-dataset-builderAbdoIR/Darija-Dataset-Builderyigagilbert/luganda-english-speech-builder

A Low-Resource Speech-Driven NLP Pipeline for Sinhala Dyslexia Assistance

Dyslexia in adults remains an under-researched and under-served area, particularly in non-English-sp

African Voices: Multilingual Speech Dataset for Low-Resource African Languages

A large-scale multilingual speech dataset developed by Data Science Nigeria. Contains more than 3,000 hours of transcribed audio across four Nigerian languages: Hausa, Igbo, Nigerian Pidgin, and YorΓΉbΓ‘. The dataset supports Automatic Speech Recognition (ASR) and sp

SOA: Reducing Domain Mismatch in SSL Pipeline by Speech Only Adaptation for Low Resource ASR

Recently, speech foundation models have gained popularity due to their superiority in finetuning dow

IlyasFardaouix/darija-dataset-builder

Scalable pipeline for building Moroccan Darija NLP datasets for LLM training. ο»Ώ# darija-dataset-bui

AbdoIR/Darija-Dataset-Builder

A modern web application for creating labeled Darija audio datasets. # Darija Dataset Labeling Tool

yigagilbert/luganda-english-speech-builder

Builds a clean Luganda–English paired speech dataset with translation, TTS synthesis, validation, an