microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 2.28 kB
Source Map (JSON)
{"version":3,"sources":["src/common.speech/ServiceMessages/PronunciationScore/PronunciationScoreContext.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,oBAAY,iBAAiB;IACzB;;OAEG;IACH,SAAS,cAAc;CAC1B;AAED;;GAEG;AACH,oBAAY,eAAe;IACvB;;OAEG;IACH,OAAO,YAAY;CACtB;AAED;;GAEG;AACH,oBAAY,aAAa;IACrB;;OAEG;IACH,KAAK,UAAU;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,aAAa,EAAE,iBAAiB,CAAC;IAEjC;;OAEG;IACH,WAAW,EAAE,eAAe,CAAC;IAE7B;;OAEG;IACH,SAAS,EAAE,aAAa,CAAC;IAEzB;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB","file":"PronunciationScoreContext.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 grading system for the score\r\n */\r\nexport enum GradingSystemKind {\r\n /**\r\n * Five-point grading system\r\n */\r\n FivePoint = \"FivePoint\"\r\n}\r\n\r\n/**\r\n * The granularity for score coverage\r\n */\r\nexport enum GranularityKind {\r\n /**\r\n * Phoneme granularity\r\n */\r\n Phoneme = \"Phoneme\"\r\n}\r\n\r\n/**\r\n * The dimension of the score\r\n */\r\nexport enum DimensionKind {\r\n /**\r\n * Basic dimension\r\n */\r\n Basic = \"Basic\"\r\n}\r\n\r\n/**\r\n * The json payload for pronunciation score context in speech.context\r\n */\r\nexport interface PronunciationScoreContext {\r\n /**\r\n * Whether pronunciation score is enabled or not\r\n */\r\n enablePronScore: boolean;\r\n\r\n /**\r\n * The text that the input speech is following. This can help the scoring when provided.\r\n */\r\n referenceText?: string;\r\n\r\n /**\r\n * The grading system for the score\r\n */\r\n gradingSystem: GradingSystemKind;\r\n\r\n /**\r\n * The granularity for score coverage\r\n */\r\n granularity: GranularityKind;\r\n\r\n /**\r\n * The dimension of the score\r\n */\r\n dimension: DimensionKind;\r\n\r\n /**\r\n * Whether miscue is enabled or not\r\n */\r\n enableMiscue: boolean;\r\n\r\n /**\r\n * The scenario ID\r\n */\r\n scenarioId: string;\r\n}\r\n"]}