Create an STT engine instance for batch/offline transcription. This is ideal for transcribing complete audio files or recorded audio samples. For real-time streaming recognition, use createStreamingSTT() instead.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/XDcobra/react-native-sherpa-onnx/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
Initialization options or a model path configuration.
Returns
A promise that resolves to an STT engine instance.
Examples
Basic Usage
With Auto-Detection
With Downloaded Model
With Hotwords (Keyword Boosting)
With Whisper Model Options
Transcribe PCM Samples
With Hardware Acceleration
Related Functions
detectSttModel()
Detect STT model type without initializing the recognizer.Example
See Also
- SttEngine Interface - Full interface documentation
- createStreamingSTT() - For real-time streaming recognition
- STT Types - Complete type definitions
- Model Path Utilities - Working with model paths