One Logo Pool Ball
Speech · IOS API REFERENCE

SFCustomLanguageModelData.PhraseCountGenerator

class · iOS 17.0+ · SDK 27.1

class PhraseCountGenerator

Abstract base class defining the interface for classes that generate `PhraseCount` via an iterator.

Members (3)

method · iOS 17.0+

makeAsyncIterator

TypeScript
makeAsyncIterator(): SFCustomLanguageModelData_PhraseCountGenerator_Iterator
Swift declaration
func makeAsyncIterator() -> SFCustomLanguageModelData.PhraseCountGenerator.Iterator

Creates the asynchronous iterator that produces elements of this asynchronous sequence. - Returns: An instance of the `AsyncIterator` type used to produce elements of the asynchronous sequence.

method · iOS 17.0+

insert

TypeScript
insert(data: SFCustomLanguageModelData): void
Swift declaration
func insert(data: SFCustomLanguageModelData)
init · iOS 17.0+

init

TypeScript
static init(): SFCustomLanguageModelData_PhraseCountGenerator
Swift declaration
init()

Skipped declarations

No declarations were skipped in this snapshot.

All Speech types →