@hahnpro/ms-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 2.85 kB
Source Map (JSON)
{"version":3,"sources":["src/common.speech/ServiceMessages/PronunciationScore/PronunciationAssessmentOptions.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,oBAAY,iBAAiB;IACzB,SAAS,cAAc;IACvB,WAAW,gBAAgB;CAC9B;AAED;;GAEG;AACH,oBAAY,eAAe;IACvB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,QAAQ,aAAa;CACxB;AAED;;GAEG;AACH,oBAAY,aAAa;IACrB,KAAK,UAAU;IACf,aAAa,kBAAkB;CAClC;AAED;;GAEG;AACH,oBAAY,mBAAmB;IAC3B,IAAI,SAAS;IACb,GAAG,QAAQ;CACd;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAElC;;OAEG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC;IAE9B;;OAEG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC;IAE1B;;OAEG;IACH,eAAe,CAAC,EAAE,mBAAmB,CAAC;IAEtC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;OAEG;IACH,iCAAiC,CAAC,EAAE,OAAO,CAAC;IAE5C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB","file":"PronunciationAssessmentOptions.d.ts","sourcesContent":["//\n// Copyright (c) Microsoft. All rights reserved.\n// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.\n//\n\n/**\n * The enum of grading system for the score\n */\nexport enum GradingSystemKind {\n FivePoint = \"FivePoint\",\n HundredMark = \"HundredMark\"\n}\n\n/**\n * The enum of granularity for score coverage\n */\nexport enum GranularityKind {\n Phoneme = \"Phoneme\",\n Word = \"Word\",\n FullText = \"FullText\"\n}\n\n/**\n * The enum of dimension of the score\n */\nexport enum DimensionKind {\n Basic = \"Basic\",\n Comprehensive = \"Comprehensive\"\n}\n\n/**\n * The kind of phoneme alphabet\n */\nexport enum PhonemeAlphabetKind {\n SAPI = \"SAPI\",\n IPA = \"IPA\"\n}\n\n/**\n * The json payload for pronunciation assessment options\n */\nexport interface PronunciationAssessmentOptions {\n /**\n * The text that the input speech is following. This can help the assessment when provided.\n */\n referenceText?: string;\n\n /**\n * The grading system for the score\n */\n gradingSystem?: GradingSystemKind;\n\n /**\n * The granularity for score coverage\n */\n granularity?: GranularityKind;\n\n /**\n * The dimension of the score\n */\n dimension?: DimensionKind;\n\n /**\n * The phoneme alphabet\n */\n phonemeAlphabet?: PhonemeAlphabetKind;\n\n /**\n * The count of nbest phoneme\n */\n nBestPhonemeCount?: number;\n\n /**\n * Whether enable miscue or not\n */\n enableMiscue?: boolean;\n\n /**\n * Whether enable prosody assessment or not\n */\n enableProsodyAssessment?: boolean;\n\n /**\n * Whether enable two pass unscripted assessment or not\n */\n enableTwoPassUnscriptedAssessment?: boolean;\n\n /**\n * The scenario ID\n */\n scenarioId?: string;\n}\n"]}