War of Words
Multilingual Video Transcription System
A multilingual transcription and search system that turns raw video into diarized, translated, searchable transcripts.
The problem
War of Words works with video in several languages. The system turns raw footage into transcripts that show who is speaking, translates them into English, and makes the audio searchable by similarity, so relevant segments can be found across languages.
What we built
- AzureML transcription pipeline using WhisperX with PyAnnote diarization
- MongoDB vector database for similarity search over audio embeddings
- Automated English translation through the ChatGPT API
How this kind of system works
A general explanation of the technique behind the tools above. What was specific to this project is in the sections before it.
Speech to text, with timestamps
WhisperX transcribes the audio and lines each word up with the moment it was spoken. Those timestamps let later steps match words to speakers and link a search result back to a point in the video.
Who is speaking
PyAnnote finds where the speaker changes and groups the stretches of audio that belong to the same voice. Combined with the timestamps, each part of the transcript gets a speaker label.
Translation that keeps context
Translating line by line loses meaning. Sending passages with the text around them, and prompts that ask the model to keep names and terms consistent, gives better English.
Search by similarity
Audio segments are turned into embeddings and stored in a MongoDB vector database. A segment you already have becomes the query, and the nearest embeddings point to similar segments elsewhere in the archive.
One pipeline, not five scripts
On AzureML each step runs as a stage in a pipeline, so new footage goes through transcription, diarization, translation, and indexing without someone running each step by hand.
Related service: AI Automation Consulting & Implementation.
More work like this: Speech-to-Text Development in Toronto, Semantic Search Development in Toronto.
Delivered by Pavlo Holubchykov, Raw Code's Lead ML/AI Developer.
Outcome metrics for this project haven't been independently verified yet — figures will be added here once confirmed rather than estimated.
More work
- Time Series Forecasting & Automation — Jera
- Ticket Classification NLP — Skanska
- Roof Tile Anomaly Detection — Wienerberger
Want something like this built?
Book free consultation