In this article, I would like to show you how easy it is to create a Power App to perform language detection, which is a readily available AI Builder prebuilt productivity model in Power Platform.
What is Language Detection?
As per Microsoft docs,
The language detection prebuilt model identifies the predominant language of a text document. The model analyses the text and returns the detected language and a numeric score from 0 through 1. Scores close to 1 indicate higher confidence in the result. The detected language is returned as the "script" of the language.
In short, the prebuilt language detection model identifies the predominant language of a text document. The model analyses the text and returns the detected language and a numeric score between 0 and 1. Scores close to 1 indicate higher confidence in the result.
The language detection model outputs the following information when text is detected:
- ru etc
Value in the range from 0 through 1. Values close to 1 indicate greater confidence that the language detected is correct.
Language Detection Power App
We will build a simple one screen Power App where a user will be allowed to input data in any language. The user will then click on a button and the Power App will display the language detection result of input data.
The following screen show shows the sentiment analysis of a single word in the Hindi language “नमस्ते”.
If data is input in a mixed language, for example, Hindi and English, the confidence score associated with the detected language is affected as shown in screenshot below:
Download the Power App into your environment from Modern Work Store to deploy and test the Language Detection model.
In this article, we saw how to use Language detection, which is a readily available AI Builder prebuilt productivity model in Power Platform.
While the possibilities are endless, I hope this article encouraged you to start exploring AI builder capabilities. This solution can be easily extended using Power Platform and other Office 365 services, and I would like to hear your thoughts on this.
Hope you liked this article! Please share your valuable comments and feedback with me.
Stay well and happy PowerApping…!