@mcut/transcription-local
hasRepetitionLoop
Generated TypeScript API reference for the public mcut SDK.
mcut SDK / transcription-local/src / hasRepetitionLoop
Function: hasRepetitionLoop()
function hasRepetitionLoop(tokens, options?): boolean;Defined in: packages/transcription-local/src/repetition.ts:15
True when the token stream ends up looping the same n-gram.
Parameters
tokens
readonly string[]
options?
RepetitionOptions = {}
Returns
boolean