init(locale:contentHints:transcriptionOptions:reportingOptions:attributeOptions:)
Creates a transcriber.
Declaration
convenience init(locale: Locale, contentHints: Set<DictationTranscriber.ContentHint>, transcriptionOptions: Set<DictationTranscriber.TranscriptionOption>, reportingOptions: Set<DictationTranscriber.ReportingOption>, attributeOptions: Set<DictationTranscriber.ResultAttributeOption>)Parameters
- locale:
A locale indicating a spoken and written language or script.
- contentHints:
A selection of expected characteristics of the spoken audio.
- transcriptionOptions:
A selection of options relating to the text of the transcription.
- reportingOptions:
A selection of options relating to the transcriber’s result delivery.
- attributeOptions:
A selection of options relating to the attributes of the transcription.