microsoft-cognitive

Cannot use the Knowledge academic API

北战南征 提交于 2020-01-14 18:59:30
问题 I have a problem when I try to use the function similarity proposed in the academic knowledge API. I tested the following commad to compute the similarity between two string: curl -v -X GET "https://api.labs.cognitive.microsoft.com/academic/v1.0/similarity?s1={string}&s2={string}" -H "Ocp-Apim-Subscription-Key: {subscription key}" The error that I get is : {"error":{"code":"Unspecified","message":"Access denied due to invalid subscript ion key. Make sure you are subscribed to an API you are

Cannot use the Knowledge academic API

微笑、不失礼 提交于 2020-01-14 18:58:53
问题 I have a problem when I try to use the function similarity proposed in the academic knowledge API. I tested the following commad to compute the similarity between two string: curl -v -X GET "https://api.labs.cognitive.microsoft.com/academic/v1.0/similarity?s1={string}&s2={string}" -H "Ocp-Apim-Subscription-Key: {subscription key}" The error that I get is : {"error":{"code":"Unspecified","message":"Access denied due to invalid subscript ion key. Make sure you are subscribed to an API you are

Disable token breaks on punctuation LUIS.ai

爱⌒轻易说出口 提交于 2020-01-14 14:03:29
问题 I am working with Microsoft Cognitive Service's Language Understanding Service API, LUIS.ai. Whenever text is parsed by LUIS, whitespace tokens are always inserted around punctuation. This behavior is intentional, according to the documentation. "English, French, Italian, Spanish: token breaks are inserted at any whitespace, and around any punctuation." For my project, I need to preserve the original query string, without these tokens, as some entities trained for my model will include

Can we build Skype bots for “Skype for Business”?

左心房为你撑大大i 提交于 2020-01-12 14:01:28
问题 I've seen examples of bot programming that work with "Skype". Is it possible to develop enterprise bots that run on "Skype for Business" using Microsoft's Bot/Cognitive service tools/framework? 回答1: Skype for Business is not yet supported by Bot Framework. To find all the messaging channels that are supported visit the Bot Framework's documentation site. 回答2: The Microsoft Bot Framework now officially supports Skype for Business as a channel: Skype for Business Bot Framework (Preview) (As of

Category IDs for Microsoft Translator

♀尐吖头ヾ 提交于 2020-01-07 06:24:19
问题 Are there other category IDs for Microsoft Translator besides tech, speech and generalnn? Where can I find them? 回答1: Valid category values are <blank> or "general", "tech", "speech", "generalnn" or a custom category identifier you copied from the Hub overview page. The result is not necessarily different for every language pair. 来源: https://stackoverflow.com/questions/44630374/category-ids-for-microsoft-translator

Convert Microsoft Project Oxford Speech Recognition from Objective-C to SWIFT

橙三吉。 提交于 2020-01-06 02:53:09
问题 Microsoft Project Oxford has a nice Speech Recognition API and instructions for Objective-C on IOS. I build it easily following the getting started instructions. However, I am having hard time to convert it to Swift language. I created a swift project first. I created the bridge header file (ProjectName-Bridging-Header.h) and inserted following code to this file: #import "SpeechRecognitionService.h" I want to convert Objective-C both header and implementation files into ViewController.swift.

Microsoft Academic Graph Search - retrieving all papers from a journal within a time-frame?

烈酒焚心 提交于 2020-01-05 06:06:23
问题 I'm currently trying to learn how to use Microsoft Knowledge API, specifically the Graph Search method. I want to try and retrieve all the publications made by a specified journal initially, and then try and provide a time-frame for results returned. Current request: { "path": "/author/PaperIDs/paper/JournalID/journal", "author": { "type": "Author", "select": [ "DisplayAuthorName" ], "match": { "Name": "jim miles" } }, "paper": { "type": "Paper", "select": [ "OriginalTitle", "CitationCount",

Microsoft Academic Graph Search - retrieving all papers from a journal within a time-frame?

放肆的年华 提交于 2020-01-05 06:05:25
问题 I'm currently trying to learn how to use Microsoft Knowledge API, specifically the Graph Search method. I want to try and retrieve all the publications made by a specified journal initially, and then try and provide a time-frame for results returned. Current request: { "path": "/author/PaperIDs/paper/JournalID/journal", "author": { "type": "Author", "select": [ "DisplayAuthorName" ], "match": { "Name": "jim miles" } }, "paper": { "type": "Paper", "select": [ "OriginalTitle", "CitationCount",

Microsoft Academic Graph Search - retrieving all papers from a journal within a time-frame?

断了今生、忘了曾经 提交于 2020-01-05 06:04:29
问题 I'm currently trying to learn how to use Microsoft Knowledge API, specifically the Graph Search method. I want to try and retrieve all the publications made by a specified journal initially, and then try and provide a time-frame for results returned. Current request: { "path": "/author/PaperIDs/paper/JournalID/journal", "author": { "type": "Author", "select": [ "DisplayAuthorName" ], "match": { "Name": "jim miles" } }, "paper": { "type": "Paper", "select": [ "OriginalTitle", "CitationCount",

Microsoft.Bot.Builder.CognitiveServices.QnAMaker.QnAMakerDialog How to override not found?

六眼飞鱼酱① 提交于 2020-01-04 05:50:10
问题 I'm working with QnAMakerDialog and cannot figure out how to override the "not found". I am able to override RespondFromQnAMakerResultAsync but that is not called when no answer is found. I tried setting the default message to null or empty string but then QnAMakerDialog automatically response "No match found!" when it doesn't find a match! I don't want a message when no match is found because I'm just forwarding the message to a LuisDialog . How do I stop this message!!! Side note: I