org.llm4s.speech.stt.WordTimestamp
See theWordTimestamp companion object
final case class WordTimestamp(word: String, startSec: Double, endSec: Double, speakerId: Option[Int], confidence: Option[Double])
Word-level timestamp information from transcription with optional speaker identification.
Value parameters
- confidence
-
Optional confidence score (0.0-1.0)
- endSec
-
End time in seconds
- speakerId
-
Optional speaker identifier for diarized content (int-based for efficiency)
- startSec
-
Start time in seconds (relative to audio start)
- word
-
The word text
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article