---
title: "define(className:values:)"
framework: speech
role: symbol
role_heading: Instance Method
path: "speech/sfcustomlanguagemodeldata/templatephrasecountgenerator/define(classname:values:)"
---

# define(className:values:)

Define a class of tokens to be used in template strings.

## Declaration

```swift
func define(className: String, values: [String])
```

## Parameters

- `className`: A string which will appear in template strings inside of angle brackets.
- `values`: The set of values which may be substituted into the template strings.
