@hahnpro/ms-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 2.3 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":["//\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 { AddressEntry } from \"./AddressEntry\";\nimport { PhoneNumberEntry } from \"./PhoneNumberEntry\";\n\n/**\n * Internal class representing an Item in the DGI v1 grammar.\n */\nexport interface Item {\n /**\n * Represents the Text in an IntentText in the grammar.\n * Required when Type = IntentText or IntentEntity\n * No spaces and punctuation allowed.\n * References IntentEntity within \"{\"\"}\"\n */\n text?: string;\n\n /**\n * Gets the Name in an People/Place in the grammar.\n */\n name?: string;\n\n /**\n * Gets the FirstName in an People in the grammar.\n */\n first?: string;\n\n /**\n * Gets the MiddleName in an People in the grammar.\n * This field is not supported for now.\n */\n middle?: string;\n\n /**\n * Gets the LastName in an People in the grammar.\n */\n last?: string;\n\n /**\n * Gets Addresses in the grammar.\n */\n addresses?: AddressEntry[];\n\n /**\n * Gets Phone numbers in the grammar.\n */\n phoneNumbers?: PhoneNumberEntry[];\n\n /**\n * Gets the Synonyms of IntentText in the grammar.\n * Optional only when when Type=IntextText or People.\n */\n synonyms?: string[];\n\n /**\n * Gets the Weight\n * This is an optional weight to associate with this item and its synonyms.\n * Optional only when when Type=IntextText or Person. Value between 0 and 1.\n */\n weight?: number;\n}\n"]}