WordConfidence

public struct WordConfidence : Codable, Equatable

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

  • A particular word from the transcription.

    Declaration

    Swift

    public let word: String
  • The confidence of the given word, between 0 and 1.

    Declaration

    Swift

    public let confidence: Double
  • Used internally to initialize a WordConfidence model from JSON.

    Declaration

    Swift

    public init(from decoder: Decoder) throws