---
title: "init(vocabularyIdentifier:spokenPhrase:pronunciationHint:)"
framework: intents
role: symbol
role_heading: Initializer
path: "intents/inspeakablestring/init(vocabularyidentifier:spokenphrase:pronunciationhint:)"
---

# init(vocabularyIdentifier:spokenPhrase:pronunciationHint:)

Initializes the string with a phrase from your app’s vocabulary.

## Declaration

```swift
init(vocabularyIdentifier: String, spokenPhrase: String, pronunciationHint: String?)
```

## Parameters

- `vocabularyIdentifier`: The identifier of a phrase that your app registered as part of its vocabulary.
- `spokenPhrase`: The spoken phrase associated with that vocabulary.
- `pronunciationHint`: A hint at how the spoken phrase is pronounced. This string is not a phonetic spelling of the original phrase, but is a string that has an equivalent sound when spoken. For example, the phrase “iTunes” could have “eye toons” as its pronunciation string.

## Return Value

Return Value An initialized speakable string object.

## See Also

### Initializing a Speakable String

- [init(spokenPhrase:)](intents/inspeakablestring/init(spokenphrase:).md)
- [init(identifier:spokenPhrase:pronunciationHint:)](intents/inspeakablestring/init(identifier:spokenphrase:pronunciationhint:).md)
