MedicalTranscriptionSetting
public struct MedicalTranscriptionSetting : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Instructs Amazon Transcribe Medical to process each audio channel separately and then merge the transcription output of each channel into a single transcription. Amazon Transcribe Medical also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of item. The alternative transcriptions also come with confidence scores provided by Amazon Transcribe Medical. You can’t set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException
Declaration
Swift
public let channelIdentification: Bool?
-
The maximum number of alternatives that you tell the service to return. If you specify the MaxAlternatives field, you must set the ShowAlternatives field to true.
Declaration
Swift
public let maxAlternatives: Int?
-
The maximum number of speakers to identify in the input audio. If there are more speakers in the audio than this number, multiple speakers are identified as a single speaker. If you specify the MaxSpeakerLabels field, you must set the ShowSpeakerLabels field to true.
Declaration
Swift
public let maxSpeakerLabels: Int?
-
Determines whether alternative transcripts are generated along with the transcript that has the highest confidence. If you set ShowAlternatives field to true, you must also set the maximum number of alternatives to return in the MaxAlternatives field.
Declaration
Swift
public let showAlternatives: Bool?
-
Determines whether the transcription job uses speaker recognition to identify different speakers in the input audio. Speaker recognition labels individual speakers in the audio file. If you set the ShowSpeakerLabels field to true, you must also set the maximum number of speaker labels in the MaxSpeakerLabels field. You can’t set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException.
Declaration
Swift
public let showSpeakerLabels: Bool?
-
The name of the vocabulary to use when processing a medical transcription job.
Declaration
Swift
public let vocabularyName: String?
-
init(channelIdentification:maxAlternatives:maxSpeakerLabels:showAlternatives:showSpeakerLabels:vocabularyName:)
Undocumented
Declaration
Swift
public init(channelIdentification: Bool? = nil, maxAlternatives: Int? = nil, maxSpeakerLabels: Int? = nil, showAlternatives: Bool? = nil, showSpeakerLabels: Bool? = nil, vocabularyName: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws