UNPKG

@hahnpro/ms-speech-sdk

Version:
1 lines 1.55 kB
{"version":3,"sources":["src/common.speech/ServiceMessages/PhraseDetection/DictationEnrichmentOptions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;GAEG;AACH,oBAAY,wBAAwB;IAChC,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,eAAe,CAAC,EAAE,wBAAwB,CAAC;IAE3C;;OAEG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC;;OAEG;IACH,2BAA2B,CAAC,EAAE,wBAAwB,CAAC;IAEvD;;OAEG;IACH,0BAA0B,CAAC,EAAE,cAAc,CAAC;CAC/C","file":"DictationEnrichmentOptions.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 { DisfluencyMode } from \"./DisfluencyMode\";\n\n/**\n * The dictation punctuation mode.\n */\nexport enum DictationPunctuationMode {\n None = \"None\",\n Intelligent = \"Intelligent\",\n Implicit = \"Implicit\",\n Explicit = \"Explicit\"\n}\n\n/**\n * Defines the phrase enrichment options for dictation scenario.\n */\nexport interface DictationEnrichmentOptions {\n /**\n * The punctuation mode.\n */\n punctuationMode?: DictationPunctuationMode;\n\n /**\n * The disfluency mode.\n */\n disfluencyMode?: DisfluencyMode;\n\n /**\n * The punctuation mode for intermediate results.\n */\n intermediatePunctuationMode?: DictationPunctuationMode;\n\n /**\n * The disfluency mode for intermediate results.\n */\n intermediateDisfluencyMode?: DisfluencyMode;\n}\n"]}