sequence alignment
Lining up two sequences, such as a script and a transcript, to find the matching runs and the gaps between them.
In more detail
Python's difflib.SequenceMatcher finds the longest matching blocks; the gaps show words a voice skipped or a transcriber misheard. Flag each gap rather than averaging a similarity score, which hides short omissions.
Related terms
- speech to text — Converting spoken audio into text, often with a timestamp for each word.
- diff — A listing of the differences between two versions of something, such as two files, two commits or two screenshots.
Taught in
- Designing Tools A Model Can Use — AI Engineering: LLM Apps, RAG & Agents
- Images, Audio And Speech — AI Engineering: LLM Apps, RAG & Agents
- Working With AI Coding Assistants — AI Engineering: LLM Apps, RAG & Agents