<!--
{
  "availability" : [
    "macOS: 10.5.0 - 14.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSpeechSynthesizer/addSpeechDictionary(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSSpeechSynthesizer(im)addSpeechDictionary:"
  },
  "title" : "addSpeechDictionary(_:)"
}
-->

# addSpeechDictionary(_:)

Registers the given speech dictionary with the receiver.

```
func addSpeechDictionary(_ speechDictionary: [NSSpeechSynthesizer.DictionaryKey : Any])
```

## Parameters

`speechDictionary`

Speech dictionary to add to the receiver’s dictionaries. The key-value pairs are listed in `Speech Dictionary Properties Keys`.

## Discussion

See the discussion of <doc://com.apple.documentation/documentation/applicationservices/1463688-usespeechdictionary> in <doc://com.apple.documentation/documentation/applicationservices/speech_synthesis_manager> for more information.

---

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)