microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 3.63 kB
Source Map (JSON)
{"version":3,"sources":["src/common.speech/ServiceMessages/PhraseOutput/PhraseOutput.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;GAEG;AACH,oBAAY,YAAY;IACpB,WAAW,gBAAgB;IAC3B,GAAG,QAAQ;IACX,aAAa,kBAAkB;IAC/B,iBAAiB,sBAAsB;IACvC,cAAc,mBAAmB;IACjC,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,uBAAuB,4BAA4B;IACnD,iBAAiB,sBAAsB;IACvC,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,YAAY,iBAAiB;IAC7B,kBAAkB,uBAAuB;IACzC,kBAAkB,uBAAuB;IACzC,YAAY,iBAAiB;CAChC;AAED;;GAEG;AACH,oBAAY,eAAe;IACvB,KAAK,UAAU;IACf,WAAW,gBAAgB;IAC3B,SAAS,cAAc;CAC1B;AAED;;GAEG;AACH,oBAAY,YAAY;IACpB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACxB;AAED;;GAEG;AACH,oBAAY,4BAA4B;IACpC,IAAI,SAAS;IACb,MAAM,WAAW;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;IAE3B;;OAEG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IAEvB;;OAEG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAE9B;;OAEG;IACH,sBAAsB,CAAC,EAAE,4BAA4B,CAAC;CACzD","file":"PhraseOutput.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\nimport { DetailedOptions } from \"./DetailedOptions\";\r\nimport { SimpleOptions } from \"./SimpleOptions\";\r\nimport { InterimResults } from \"./InterimResults\";\r\nimport { PhraseResults } from \"./PhraseResults\";\r\n\r\n/**\r\n * The detailed output options.\r\n */\r\nexport enum PhraseOption {\r\n WordTimings = \"WordTimings\",\r\n SNR = \"SNR\",\r\n Pronunciation = \"Pronunciation\",\r\n WordPronunciation = \"WordPronunciation\",\r\n WordConfidence = \"WordConfidence\",\r\n Words = \"Words\",\r\n Sentiment = \"Sentiment\",\r\n PronunciationAssessment = \"PronunciationAssessment\",\r\n ContentAssessment = \"ContentAssessment\",\r\n PhraseAMScore = \"PhraseAMScore\",\r\n PhraseLMScore = \"PhraseLMScore\",\r\n WordAMScore = \"WordAMScore\",\r\n WordLMScore = \"WordLMScore\",\r\n RuleTree = \"RuleTree\",\r\n NBestTimings = \"NBestTimings\",\r\n DecoderDiagnostics = \"DecoderDiagnostics\",\r\n DisplayWordTimings = \"DisplayWordTimings\",\r\n DisplayWords = \"DisplayWords\"\r\n}\r\n\r\n/**\r\n * The detailed output extensions.\r\n */\r\nexport enum PhraseExtension {\r\n Graph = \"Graph\",\r\n Corrections = \"Corrections\",\r\n Sentiment = \"Sentiment\"\r\n}\r\n\r\n/**\r\n * The Recognition modes\r\n */\r\nexport enum OutputFormat {\r\n Simple = \"Simple\",\r\n Detailed = \"Detailed\"\r\n}\r\n\r\n/**\r\n * The Tentative Phrase Results option\r\n */\r\nexport enum TentativePhraseResultsOption {\r\n None = \"None\",\r\n Always = \"Always\"\r\n}\r\n\r\n/**\r\n * Defines the phrase output in the speech Context message\r\n */\r\nexport interface PhraseOutput {\r\n /**\r\n * The output format.\r\n */\r\n format?: OutputFormat;\r\n\r\n /**\r\n * The detailed options.\r\n */\r\n detailed?: DetailedOptions;\r\n\r\n /**\r\n * The simple options.\r\n */\r\n simple?: SimpleOptions;\r\n\r\n /**\r\n * The interim results.\r\n */\r\n interimResults?: InterimResults;\r\n\r\n /**\r\n * The phrase results.\r\n */\r\n phraseResults?: PhraseResults;\r\n\r\n /**\r\n * The tentative phrase results option\r\n */\r\n tentativePhraseResults?: TentativePhraseResultsOption;\r\n}\r\n"]}