<!--
{
  "availability" : [
    "macOS: 10.3.0 - 14.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSpeechSynthesizer/DictionaryKey",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@T@NSSpeechDictionaryKey"
  },
  "title" : "NSSpeechSynthesizer.DictionaryKey"
}
-->

# NSSpeechSynthesizer.DictionaryKey

These constants identify key-value pairs used to add vocabulary to the dictionary using [`addSpeechDictionary(_:)`](/documentation/AppKit/NSSpeechSynthesizer/addSpeechDictionary(_:)).

```
struct DictionaryKey
```

## Topics

### Type Properties

[`static let abbreviations: NSSpeechSynthesizer.DictionaryKey`](/documentation/AppKit/NSSpeechSynthesizer/DictionaryKey/abbreviations)

An array of dictionary objects containing the keys `NSSpeechDictionaryEntrySpelling` and `NSSpeechDictionaryEntryPhonemes`.

[`static let entryPhonemes: NSSpeechSynthesizer.DictionaryKey`](/documentation/AppKit/NSSpeechSynthesizer/DictionaryKey/entryPhonemes)

The phonemic representation of an entry. An `NSString`.

[`static let entrySpelling: NSSpeechSynthesizer.DictionaryKey`](/documentation/AppKit/NSSpeechSynthesizer/DictionaryKey/entrySpelling)

The spelling of an entry. An `NSString`.

[`static let localeIdentifier: NSSpeechSynthesizer.DictionaryKey`](/documentation/AppKit/NSSpeechSynthesizer/DictionaryKey/localeIdentifier)

The canonical locale identifier string describing the dictionary’s locale.

[`static let modificationDate: NSSpeechSynthesizer.DictionaryKey`](/documentation/AppKit/NSSpeechSynthesizer/DictionaryKey/modificationDate)

A string representation of the dictionary’s last modification date in the international format (YYYY-MM-DD HH:MM:SS ±HHMM). If the same word appears across multiple dictionaries, the one from the dictionary with the most recent date will be used.

[`static let pronunciations: NSSpeechSynthesizer.DictionaryKey`](/documentation/AppKit/NSSpeechSynthesizer/DictionaryKey/pronunciations)

An array of dictionary objects containing the keys `NSSpeechDictionaryEntrySpelling` and `NSSpeechDictionaryEntryPhonemes`.

### Initializers

[`init(rawValue: String)`](/documentation/AppKit/NSSpeechSynthesizer/DictionaryKey/init(rawValue:))

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)