UNPKG

@hahnpro/ms-speech-sdk

Version:
1 lines 3.44 kB
{"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":["//\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\nimport { DetailedOptions } from \"./DetailedOptions\";\nimport { SimpleOptions } from \"./SimpleOptions\";\nimport { InterimResults } from \"./InterimResults\";\nimport { PhraseResults } from \"./PhraseResults\";\n\n/**\n * The detailed output options.\n */\nexport enum PhraseOption {\n WordTimings = \"WordTimings\",\n SNR = \"SNR\",\n Pronunciation = \"Pronunciation\",\n WordPronunciation = \"WordPronunciation\",\n WordConfidence = \"WordConfidence\",\n Words = \"Words\",\n Sentiment = \"Sentiment\",\n PronunciationAssessment = \"PronunciationAssessment\",\n ContentAssessment = \"ContentAssessment\",\n PhraseAMScore = \"PhraseAMScore\",\n PhraseLMScore = \"PhraseLMScore\",\n WordAMScore = \"WordAMScore\",\n WordLMScore = \"WordLMScore\",\n RuleTree = \"RuleTree\",\n NBestTimings = \"NBestTimings\",\n DecoderDiagnostics = \"DecoderDiagnostics\",\n DisplayWordTimings = \"DisplayWordTimings\",\n DisplayWords = \"DisplayWords\"\n}\n\n/**\n * The detailed output extensions.\n */\nexport enum PhraseExtension {\n Graph = \"Graph\",\n Corrections = \"Corrections\",\n Sentiment = \"Sentiment\"\n}\n\n/**\n * The Recognition modes\n */\nexport enum OutputFormat {\n Simple = \"Simple\",\n Detailed = \"Detailed\"\n}\n\n/**\n * The Tentative Phrase Results option\n */\nexport enum TentativePhraseResultsOption {\n None = \"None\",\n Always = \"Always\"\n}\n\n/**\n * Defines the phrase output in the speech Context message\n */\nexport interface PhraseOutput {\n /**\n * The output format.\n */\n format?: OutputFormat;\n\n /**\n * The detailed options.\n */\n detailed?: DetailedOptions;\n\n /**\n * The simple options.\n */\n simple?: SimpleOptions;\n\n /**\n * The interim results.\n */\n interimResults?: InterimResults;\n\n /**\n * The phrase results.\n */\n phraseResults?: PhraseResults;\n\n /**\n * The tentative phrase results option\n */\n tentativePhraseResults?: TentativePhraseResultsOption;\n}\n"]}