UNPKG

microsoft-cognitiveservices-speech-sdk

Version:
28 lines (27 loc) 679 B
/** * The segmentation mode. */ export declare enum SegmentationMode { Normal = "Normal", Disabled = "Disabled", Custom = "Custom", Semantic = "Semantic" } /** * Defines the segmentation configuration in the speech Context message */ export interface Segmentation { /** * The segmentation mode. */ mode?: SegmentationMode; /** * The segmentation silence timeout in milliseconds. */ segmentationSilenceTimeoutMs?: number; /** * The segmentation timeout after which a segmentation is forced, * even if speaker is still talking without pause, in milliseconds. */ segmentationForcedTimeoutMs?: number; }