Contents

Speech

Perform speech recognition on live or prerecorded audio, and receive transcriptions, alternative interpretations, and confidence levels of the results.

Overview

Use the Speech framework to recognize spoken words in recorded or live audio. The keyboard’s dictation support uses speech recognition to translate audio content into text. This framework provides a similar behavior, except that you can use it without the presence of the keyboard. For example, you might use speech recognition to recognize verbal commands or to handle text dictation in other parts of your app.

The SpeechTranscriber class and other module classes provide specific services. The AssetInventory class ensures that the system has the assets necessary to support those classes. The SpeechAnalyzer class manages an analysis session that uses those classes. The AssetInputSequenceProvider and CaptureInputSequenceProvider classes provide audio from files or microphone devices.

For a general understanding of how you use these classes together, see SpeechAnalyzer.

Topics

Essentials

Modules

Input and output

Audio sources

Custom vocabulary

Asset and resource management

Legacy API