microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 1.38 kB
Source Map (JSON)
{"version":3,"sources":["src/common.speech/ServiceMessages/PhraseDetection/Segmentation.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,oBAAY,gBAAgB;IACxB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAExB;;OAEG;IACH,4BAA4B,CAAC,EAAE,MAAM,CAAC;IAEtC;;;OAGG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;CACxC","file":"Segmentation.d.ts","sourcesContent":["//\r\n// Copyright (c) Microsoft. All rights reserved.\r\n// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.\r\n//\r\n\r\n/**\r\n * The segmentation mode.\r\n */\r\nexport enum SegmentationMode {\r\n Normal = \"Normal\",\r\n Disabled = \"Disabled\",\r\n Custom = \"Custom\",\r\n Semantic = \"Semantic\"\r\n}\r\n\r\n/**\r\n * Defines the segmentation configuration in the speech Context message\r\n */\r\nexport interface Segmentation {\r\n /**\r\n * The segmentation mode.\r\n */\r\n mode?: SegmentationMode;\r\n\r\n /**\r\n * The segmentation silence timeout in milliseconds.\r\n */\r\n segmentationSilenceTimeoutMs?: number;\r\n\r\n /**\r\n * The segmentation timeout after which a segmentation is forced,\r\n * even if speaker is still talking without pause, in milliseconds.\r\n */\r\n segmentationForcedTimeoutMs?: number;\r\n}\r\n"]}