UNPKG

microsoft-cognitiveservices-speech-sdk

Version:
1 lines 1.63 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":["//\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 { DisfluencyMode } from \"./DisfluencyMode\";\r\n\r\n/**\r\n * The dictation punctuation mode.\r\n */\r\nexport enum DictationPunctuationMode {\r\n None = \"None\",\r\n Intelligent = \"Intelligent\",\r\n Implicit = \"Implicit\",\r\n Explicit = \"Explicit\"\r\n}\r\n\r\n/**\r\n * Defines the phrase enrichment options for dictation scenario.\r\n */\r\nexport interface DictationEnrichmentOptions {\r\n /**\r\n * The punctuation mode.\r\n */\r\n punctuationMode?: DictationPunctuationMode;\r\n\r\n /**\r\n * The disfluency mode.\r\n */\r\n disfluencyMode?: DisfluencyMode;\r\n\r\n /**\r\n * The punctuation mode for intermediate results.\r\n */\r\n intermediatePunctuationMode?: DictationPunctuationMode;\r\n\r\n /**\r\n * The disfluency mode for intermediate results.\r\n */\r\n intermediateDisfluencyMode?: DisfluencyMode;\r\n}\r\n"]}