Contents

SFCustomLanguageModelData.DataInsertableBuilder

A custom parameter attribute that constructs custom language model data from closures.

Declaration

@resultBuilder struct DataInsertableBuilder

Overview

The SFCustomLanguageModelData class provides two methods for accumulating data: manually constructing PhraseCount and CustomPronunciation objects and providing them using the insert methods defined below, or by using the result builder DSL upon initialization. This type supports the latter.

Topics

Result builder methods

See Also

Creating a model data container