Urgent.News

What's breaking now, across thousands of outlets.

Tech

How to find strong excerpts in a transcription with a sliding window in Python

As soon as a transcription has word timestamps, finding short excerpts in a long recording requires no modeling. A fixed-length window, launched at each word and noted according to the number of words that fit in it, finds the passages where the most things are said. The video editor of the osFoundry desktop application offers exactly that with its Suggest clips button, written…

Translated from French Read in French

A Python version of osFoundry's "Suggest clips" feature, written in Rust, has been recreated. The feature identifies short clips in a long recording by launching a fixed-length window at each word and rating it based on the number of words it contains. The algorithm was tested on a 5:07 NASA interview with astronaut Christina Koch, which had a transcription of 1007 words.

The results showed that the choice of window length affects the selected clips, with shorter windows rewarding rapid bursts of speech and longer windows averaging out pauses and questions.

Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

The Chainalysis Breach: From "No Credentials Accessed" to "All Users Exposed" in Five Days

On October 30, 2026, Chainalysis told its customers it had been the target of a cybersecurity incident - and that it had "found no evidence of unauthorized access to investigation content…

  • Chainalysis notified customers of potential cybersecurity incident on October 30, 2026
  • No evidence of unauthorized access to credentials or tokens found initially
  • All user data, including names, usernames, password hashes, and live tokens, exposed on November 4

The hardest websites to scrape in 2026: what the benchmarks show

Disclosure: I'm a co-founder of ScrapeUnblocker, one of the APIs measured below. Every number here has a public source you can check. A lot of websites are still simple to scrape.

  • Shein, G2, and Hyatt identified as hardest websites to scrape in 2026
  • Success rates of 21.88%, 36.63%, and 43.75% for these sites
  • Established scraping API providers face challenges with protected targets

RAG Pipeline Utils v3.8: Testing RAG Answers in TypeScript

v3.8.0 is about testing RAG in TypeScript. The answer matchers now compile with types, and a new guide walks through the whole setup with Vitest, from a unit test to a test set that fails CI when…

  • RAG Pipeline Utils 3.8 introduces TypeScript support for testing RAG answers.
  • New matchers toBeGroundedIn, toCite, and toContainNoPII enable early error detection.
  • Guide provides step-by-step setup using Vitest for unit, answer, and evaluation tests.

More from Friday 6 November →