SFCustomLanguageModelData.DataInsertableBuilder
A custom parameter attribute that constructs custom language model data from closures.
Declaration
@resultBuilder struct DataInsertableBuilderOverview
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.