<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Speech",
  "identifier" : "/documentation/Speech/SFCustomLanguageModelData/TemplatePhraseCountGenerator/Template",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Speech"
    ],
    "preciseIdentifier" : "s:6Speech25SFCustomLanguageModelDataC28TemplatePhraseCountGeneratorC0F0V"
  },
  "title" : "SFCustomLanguageModelData.TemplatePhraseCountGenerator.Template"
}
-->

# SFCustomLanguageModelData.TemplatePhraseCountGenerator.Template

```
struct Template
```

## Topics

### Creating a template

[`init(String, count: Int)`](/documentation/Speech/SFCustomLanguageModelData/TemplatePhraseCountGenerator/Template/init(_:count:))

### Inspecting the template

[`let body: String`](/documentation/Speech/SFCustomLanguageModelData/TemplatePhraseCountGenerator/Template/body)

[`let count: Int`](/documentation/Speech/SFCustomLanguageModelData/TemplatePhraseCountGenerator/Template/count)

## Relationships

### Conforms To

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

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

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

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

[`TemplateInsertable`](/documentation/Speech/TemplateInsertable)

---

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)