KeywordResult

public struct KeywordResult : Codable, Equatable

Information about a match for a keyword from speech recognition results.

  • A specified keyword normalized to the spoken phrase that matched in the audio input.

    Declaration

    Swift

    public var normalizedText: String
  • The start time in seconds of the keyword match.

    Declaration

    Swift

    public var startTime: Double
  • The end time in seconds of the keyword match.

    Declaration

    Swift

    public var endTime: Double
  • A confidence score for the keyword match in the range of 0.0 to 1.0.

    Declaration

    Swift

    public var confidence: Double