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

# NSSpeechSynthesizer.SpeechPropertyKey.Mode

Keys for the speaking mode.

```
struct Mode
```

## Discussion

Use these keys in the [`inputMode`](/documentation/AppKit/NSSpeechSynthesizer/SpeechPropertyKey/inputMode), [`characterMode`](/documentation/AppKit/NSSpeechSynthesizer/SpeechPropertyKey/characterMode), and [`numberMode`](/documentation/AppKit/NSSpeechSynthesizer/SpeechPropertyKey/numberMode) dictionaries.

## Topics

### Type Properties

[`static let literal: NSSpeechSynthesizer.SpeechPropertyKey.Mode`](/documentation/AppKit/NSSpeechSynthesizer/SpeechPropertyKey/Mode/literal)

Indicates that each digit or character is spoken literally (so that 12 is spoken as “one, two”, or the word “cat” is spoken as “C A T”).

[`static let normal: NSSpeechSynthesizer.SpeechPropertyKey.Mode`](/documentation/AppKit/NSSpeechSynthesizer/SpeechPropertyKey/Mode/normal)

Indicates that the synthesizer assembles digits into numbers (so that 12 is spoken as “twelve”) and text into words.

[`static let phoneme: NSSpeechSynthesizer.SpeechPropertyKey.Mode`](/documentation/AppKit/NSSpeechSynthesizer/SpeechPropertyKey/Mode/phoneme)

Indicates that the synthesizer is in phoneme-processing mode. When in phoneme-processing mode, a text buffer is interpreted to be a series of characters representing various phonemes and prosodic controls.

[`static let text: NSSpeechSynthesizer.SpeechPropertyKey.Mode`](/documentation/AppKit/NSSpeechSynthesizer/SpeechPropertyKey/Mode/text)

Indicates that the synthesizer is in text-processing mode.

### Initializers

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

## Relationships

### Conforms To

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

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

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

[`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)