The last leg of Microsoft Cognitive Services is Search API. Lets check what we can find in this part of the API that could extend our application with intelligence. Read More
Continuing on Microsoft Cognitive API. Today lets find out about Knowledge API. In this category we can find services like: Academic Knowledge, Entity Linking, Knowledge Exploration, QnA maker and Recommendation API. Lets have a closer look at each of them.
Academic Knowledge
This API allows you to search through academic papers and retrieve information from Microsoft Academic Graph. MAG is bing based knowledge database. More can be found at: http://aka.ms/academicgraph.
Entity Linking
With this API we can identify entities in our text and match them with different one that has the same meaning based on context.
Knowledge Exploration
Allows interactive search experience. In this category we can find services like: natural language understanding, query auto-completion, evaluation of structured query and attribute histogram.
QnA maker
With this service you can easily convert existing FAQs into knowledge based that allows your users to query with a natural language.
Recommendation API
This API we can use to provide our users with services like product recommendations and frequently bought together option. This might be used as an excellent addition to online shopping experience.
Have you already used Microsoft Cognitive Services in your application? If so I would like to know what are you using it for – share your ideas.
Tomorrow is the launch day for Visual Studio 2017. This year marks also a 20th anniversary.
Visual Studio 2017
If you are interested or a fan just go to https://launch.visualstudio.com where you can watch the live streaming of the whole event. There might be also a local event in your town so have a check at https://launch.visualstudio.com/local-events/ whether someone is hosting the event near you and go there. You will not only find out about Visual Studio but also meet great people there.
If you happen to live in Wrocław, we do also have a local event here that you can visit. Check the meetup page for more details. If you can’t attend, or there it’s already fully booked – don’t worry, it should be recorded.
My contribution to this event will be to present how Visual Studio was before it entered the .NET phase. I’ve started with the tools with the 6.0 version and to be honest, I had the mixed feelings about it.
We came from this…
…to this
A lot has change along the way. Happy birthday Visual Studio!
We’ve already covered Vision and Speech API – now’s the turn for Language API.
This part consists the most features that we could try. We can spell check with Bing, use Language Understanding Intelligence Service (LUIS) for understanding the commands from the users, or analyse the text with Linguistic Analytics API. What is also available is Text Analysis (i.e. sentiment) or just simple a translator API. The last available service is Web Language Model based on data from the web.
Skipping the translator, as this is probably not very interesting service, let’s check what is…
LUIS
LUIS or Language Understanding Intelligence Service offers the ability to add text understanding to our application without coding a bunch of if-statements. The actual page for the LUIS service is luis.ai and there we need to create an account in order to start using the service. There we can provide examples of the phrases that LUIS should learn from and extract relevant information of the things we want to talk to it. If we just want to play with it, there’s a nice example on MS Cognitive Services website.
Text Analysis API
Another interesting services that located under the Language part of Microsoft Cognitive Services. It allows to extract useful information from the text.
It can detect the language, extract key phrases from the text and also provide information about sentiment. Currently works with language like English and Spanish. For Polish, it can only detect that the text is written in it.
The last described service is..
Web Language Model
Services that we can use there are ranging from detecting the spaces in a long string. So we can get “some long text without spaces and anything” from “somelongtextwithoutspacesandanything”.
It allows also to calculate probabilities of words/phrases being put in a sentence together as well as to get the percentage of two words/phrases are combined with each other. Finally we can use it to predict what is the best match for group of words that is commonly present.
If you are dealing with text – Microsoft Cognitive Services Language API might be handy to add additional layer of intelligence to your app. Have you used it already?
Apart from Vision API another interesting part of Cognitive Services is Speech API. Here we can use Bing Speech API to convert text to speech, custom speech API or Speaker Recognition API. Let’s look at the last one. Read More
Vision API allows us to get insights from images and videos. In this category we have services like: Computer Vision, Content Moderator as well as Emotion, Face and Video API.
Computer Vision
The most broad is Computer Vision. It allows to extract a set of features from images. We can get a general description of the image, tags with the information that image contains, general information about faces present in the image. It can also recognises celebrities. To enable that we need to put that into details parameter.
To control what API returns, we can use VisualFeatures query string parameter.
Interesting values is Adult, which analyses and image whether it might be NSFW. If you get a lot of links of images which you don’t know whether should be displayed on work computer you might want to run it by Vision API and check adult section
There are parameters that values close to 1 might indicated that the content might not be suited for work. Quite a nice feature of Microsoft Vision API.
Faces
Faces API focus only on one element of the images – mainly recognising people’s faces that are present on images. If you remember a Nikon advertisements that presents it’s new Face priority focus – this is what you get from this feature.
But that’s not all. We get additional information about ears, nose, eyebrows are mouth.
Emotions
That’s one is simple – we get the person’s emotions on that picture. Pretty awesome.
Video
This one allows us to get insights into the video providing features like face or motion detection, image stabilisation. It is also possible to use before mentioned features on the provided video. Navigate to https://www.microsoft.com/cognitive-services/en-us/video-api and check the example located in the “Analyze in Near Real-Time” section. It. Is. Amazing.
To start using Cognitive Services for real what you only need is an account. I write “for real” as if you want to just test what is available you can do it via web page. If you navigate to http://microsoft.com/cognitive-services/en-us/ you will find few examples to can be testes directly from the web site. Read More
Do you know what was the rant, a couple of months ago, about this picture?
Or do you wonder how How-Old.net that calculates (correctly or not) your age works? If you are interested in – the read on. Read More