ASR Training Data Chunker

Breaks up texts by approximate reading duration

About This Project

ASR-Training-Data-Chunker is a Python tool that divides large text files into smaller segments according to how long they would take to read aloud. The user supplies a speaking speed in words per minute and a desired chunk duration in minutes, and the script produces chunked output files in a designated directory. Chunks are intended to break at sentence boundaries so that each segment retains local context.

The tool is designed for preparing voice recording material for automatic speech recognition (ASR) training. Rather than requiring installation, it runs directly from a cloned repository and reads a source file named source.txt. The README includes reference speaking speeds of roughly 120, 150, and 180 words per minute for slow, average, and fast speakers, and provides a worked example in which a 9000-word text at 150 WPM yields about 30 chunks of roughly 300 words each.

This project may be useful to researchers or developers who need scripted reading material for collecting speech samples, and to anyone who wants to split long documents into segments of consistent spoken length. The project is released under the MIT License.

Project Details

Explore More Projects