WhisperCpp.Word (whisper_cpp v0.2.0)

Copy Markdown View Source

One word produced by :word_timestamps.

Times are absolute seconds within the input audio. probability is the minimum per-token acoustic probability across the tokens that make up this word (matching faster-whisper's per-word confidence reduction); filter at e.g. probability < 0.3 to flag low-confidence words.

Summary

Types

t()

@type t() :: %WhisperCpp.Word{
  end: float(),
  probability: float(),
  start: float(),
  text: String.t()
}