<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Speech",
  "identifier" : "/documentation/Speech/SpeechAnalyzer/Options/init(priority:modelRetention:ignoresResourceLimits:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Speech"
    ],
    "preciseIdentifier" : "s:6Speech0A8AnalyzerC7OptionsV8priority14modelRetention21ignoresResourceLimitsAEScP_AE05ModelF0OSbtcfc"
  },
  "title" : "init(priority:modelRetention:ignoresResourceLimits:)"
}
-->

# init(priority:modelRetention:ignoresResourceLimits:)

Creates a structure containing analysis processing options.

```
init(priority: TaskPriority, modelRetention: SpeechAnalyzer.Options.ModelRetention, ignoresResourceLimits: Bool)
```

## Parameters

`priority`

A priority to apply to processing work.

`modelRetention`

A model caching strategy.

`ignoresResourceLimits`

If `true`, the analyzer and its modules’ resources will not be counted against the predefined system resource limits.

## Discussion> Warning: When setting `ignoresResourceLimits` to `true`, test your app on a variety of devices under a variety of scenarios to experimentally determine how many analyzers you can reliably create and expect to function. Consider how to recover in the event one or more analyzers fail.

---

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)