microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 2.43 kB
Source Map (JSON)
{"version":3,"sources":["src/common.speech/ServiceMessages/Dgi/Item.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,IAAI;IACjB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3B;;OAEG;IACH,YAAY,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAElC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAEpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB","file":"Item.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 { AddressEntry } from \"./AddressEntry\";\r\nimport { PhoneNumberEntry } from \"./PhoneNumberEntry\";\r\n\r\n/**\r\n * Internal class representing an Item in the DGI v1 grammar.\r\n */\r\nexport interface Item {\r\n /**\r\n * Represents the Text in an IntentText in the grammar.\r\n * Required when Type = IntentText or IntentEntity\r\n * No spaces and punctuation allowed.\r\n * References IntentEntity within \"{\"\"}\"\r\n */\r\n text?: string;\r\n\r\n /**\r\n * Gets the Name in an People/Place in the grammar.\r\n */\r\n name?: string;\r\n\r\n /**\r\n * Gets the FirstName in an People in the grammar.\r\n */\r\n first?: string;\r\n\r\n /**\r\n * Gets the MiddleName in an People in the grammar.\r\n * This field is not supported for now.\r\n */\r\n middle?: string;\r\n\r\n /**\r\n * Gets the LastName in an People in the grammar.\r\n */\r\n last?: string;\r\n\r\n /**\r\n * Gets Addresses in the grammar.\r\n */\r\n addresses?: AddressEntry[];\r\n\r\n /**\r\n * Gets Phone numbers in the grammar.\r\n */\r\n phoneNumbers?: PhoneNumberEntry[];\r\n\r\n /**\r\n * Gets the Synonyms of IntentText in the grammar.\r\n * Optional only when when Type=IntextText or People.\r\n */\r\n synonyms?: string[];\r\n\r\n /**\r\n * Gets the Weight\r\n * This is an optional weight to associate with this item and its synonyms.\r\n * Optional only when when Type=IntextText or Person. Value between 0 and 1.\r\n */\r\n weight?: number;\r\n}\r\n"]}