Interface TextSyncOptions

interface TextSyncOptions {
    hyphenateWord: ((word) => string[]);
    language: string;
    newSentenceDelay: number;
    sentenceTokenizer: tokenize.SentenceTokenizer;
    speed: number;
    splitWords: ((words) => [string, number, number][]);
}

Properties

hyphenateWord: ((word) => string[])

Type declaration

    • (word): string[]
    • Parameters

      • word: string

      Returns string[]

language: string
newSentenceDelay: number
sentenceTokenizer: tokenize.SentenceTokenizer
speed: number
splitWords: ((words) => [string, number, number][])

Type declaration

    • (words): [string, number, number][]
    • Parameters

      • words: string

      Returns [string, number, number][]