microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 908 B
Source Map (JSON)
{"version":3,"sources":["src/common.speech/ServiceMessages/LanguageId/OnUnknown.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,oBAAY,eAAe;IACvB,4BAA4B,iCAAiC;IAC7D,IAAI,SAAS;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;CAC5B","file":"OnUnknown.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\n/**\r\n * An enum that defines actions that can be taken on unknown language detection\r\n */\r\nexport enum OnUnknownAction {\r\n RecognizeWithDefaultLanguage = \"RecognizeWithDefaultLanguage\",\r\n None = \"None\"\r\n}\r\n\r\n/**\r\n * The on unknown configuration\r\n */\r\nexport interface OnUnknown {\r\n /**\r\n * The action to take when language is unknown\r\n */\r\n action?: OnUnknownAction;\r\n}\r\n"]}