WordTimestamp

public struct WordTimestamp : Codable, Equatable

The timestamp of a word in a Speech to Text transcription.

  • A particular word from the transcription.

    Declaration

    Swift

    public let word: String
  • The start time, in seconds, of the given word in the audio input.

    Declaration

    Swift

    public let startTime: Double
  • The end time, in seconds, of the given word in the audio input.

    Declaration

    Swift

    public let endTime: Double
  • Used internally to initialize a WordTimestamp model from JSON.

    Declaration

    Swift

    public init(from decoder: Decoder) throws