1
$\begingroup$

I want to build a Voice Assistance using Tensorflow, Like Google Assistance, So that I can give commands like:

Open Camera
Send Message
Play Music
ETC

I know I can use pre-trained model for Voice Recognition but this is not my problem. If I know correctly, What Neural Network does it learn from your input and output and creates a best algorithms.

So I want to know Is it possible to somehow train my network for my commands so that I don't have to HARD-CODED them because it is hard to remember so many command?

Is Google also Hard-Coded the commands for Google Voice Assistance?

Sorry, If I'm unable to explain this to you :P

$\endgroup$
1
$\begingroup$

What Neural Network does it learn from your input and output and creates a best algorithms.

This is inaccurate. A neural network is a function approximator, so it approximates an unknown function. However, it does so in many cases by learning from your input and output(as in the case of supervised learning). The function your approximating would here for example be the function that maps a certain soundwave input to "open camera", etc.

The problem with supervised learning is that you need massive datasets to accurately approximate the target function - luckily for Google they have such datasets and resources available.

Is Google also Hard-Coded the commands for Google Voice Assistance?

No, because that would not generalize well over multiple languages/accents/background noise, etc. It is therefor that neural networks as function approximators have had such a large impact over the last years - they generalize well. If you remember when the first "voice assistance" products came out, they rarely functioned - this was often due to them being "hard coded", with only static measures for noise-suppression.

$\endgroup$
  • 1
    $\begingroup$ Thanks Krrl, I know they uses ML for supports multiple languages / accents etc, but I want to know about their functionality not Speech Recognition. Like If I said "Open WhatsApp" then obliviously ML convert that in Text which google uses that specific word like Open & WhatsApp then hey Call some function to open whatsApp. I want to know is That Function for opening whatsApp is Hard-Coded or just their ML automatically learn how to open a specific App. Sorry if you think this is wired question :P $\endgroup$ – Sunny Nov 1 at 15:29
  • $\begingroup$ I dont think it is a weird question, but I also am not sure if I understand what you are asking correctly. I would think that their ML algorithm would have to use the app's specific API for the action of opening the app. I also think that they have different methods for the two different tasks - perhaps one method to extract the words, and one method to "understand" the extracted words(semantically analyze them), but I am not sure of their specific architecture here, sorry. $\endgroup$ – Krrrl Nov 1 at 16:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.