SpeechRecognitionResultsAccumulator

public struct SpeechRecognitionResultsAccumulator

SpeechRecognitionResultsAccumulator.

  • All accumulated recognition results.

    Declaration

    Swift

    public var results: [SpeechRecognitionResult]
  • All accumulated speaker labels.

    Declaration

    Swift

    public var speakerLabels: [SpeakerLabelsResult]
  • A concatenation of transcripts with the greatest confidence.

    Declaration

    Swift

    public var bestTranscript: String { get }
  • Initialize a SpeechRecognitionResultsAccumulator to accumulate recognition results.

    Declaration

    Swift

    public init()
  • Add recognition results to be accumulated.

    Declaration

    Swift

    public mutating func add(results: SpeechRecognitionResults)