---
title: "insert(phraseCount:)"
framework: speech
role: symbol
role_heading: Instance Method
path: "speech/sfcustomlanguagemodeldata/insert(phrasecount:)"
---

# insert(phraseCount:)

Add a sample to the body of training data.

## Declaration

```swift
func insert(phraseCount: SFCustomLanguageModelData.PhraseCount)
```

## Parameters

- `phraseCount`: A sample of text on which to train your custom language model

## Discussion

Discussion This class accumulates text data that will later be used to train a language model, which can be provided to an SFSpeechRecognizer to improve performance on certain phrases.

## See Also

### Adding phrases

- [SFCustomLanguageModelData.PhraseCount](speech/sfcustomlanguagemodeldata/phrasecount.md)
