reading apps

in some apps, they have a really helpful thing which is that they provide you with a text and using your smartphone, you will read the text, just like voice over, but if you read the word incorrectly, the app would tell you. In your opinion, how hard is it to do this and is it possible with unity?

an example of this is the speak recognition in some learnig a new language apps