THE PROBLEM
Existing speech-to-text tools transcribe what someone says and analyse audio, but don't necessarily capture how fluently they say it or suggest alternative words where stuttering occurs. I wanted to explore whether machine learning could identify stuttering-related speech patterns and provide constructive, accessible feedback for people who stammer.
THE HARD PARTS
Built a multi-stage audio-processing pipeline combining speech recognition, voice activity detection and acoustic feature extraction. Engineered MFCC, zero-crossing rate, RMS energy and spectral-centroid features to train a speech-disfluency classifier, while handling the challenge of distinguishing natural pauses from potentially disfluent speech.
WHAT I BUILT
Developed a full-stack speech analysis application using FastAPI and Streamlit, integrating Whisper AI for word-level transcription, WebRTC VAD for speech segmentation and a Random Forest classifier trained on 1,383 SEP-28k audio clips. The application generates fluency scores, disfluency predictions, annotated transcripts and WordNet-based synonym suggestions, with inference running locally.