---
title: "init(languageModel:)"
framework: speech
role: symbol
role_heading: Initializer
path: "speech/sfspeechlanguagemodel/configuration/init(languagemodel:)"
---

# init(languageModel:)

Creates a configuration with the location of a language model file.

## Declaration

```swift
init(languageModel: URL)
```

## See Also

### Creating a language model configuration

- [init(languageModel:vocabulary:)](speech/sfspeechlanguagemodel/configuration/init(languagemodel:vocabulary:).md)
- [init(languageModel:vocabulary:weight:)](speech/sfspeechlanguagemodel/configuration/init(languagemodel:vocabulary:weight:).md)
