---
title: "init(locale:preset:)"
framework: speech
role: symbol
role_heading: Initializer
path: "speech/speechtranscriber/init(locale:preset:)"
---

# init(locale:preset:)

Creates a general-purpose transcriber according to a preset.

## Declaration

```swift
convenience init(locale: Locale, preset: SpeechTranscriber.Preset)
```

## Parameters

- `locale`: A locale indicating a spoken and written language or script.
- `preset`: A structure that contains some transcriber options.

## See Also

### Creating a transcriber

- [init(locale:transcriptionOptions:reportingOptions:attributeOptions:)](speech/speechtranscriber/init(locale:transcriptionoptions:reportingoptions:attributeoptions:).md)
- [SpeechTranscriber.Preset](speech/speechtranscriber/preset.md)
