Google Assistant is built based on natural language processing, a procedure of converting speech into sounds, words, and ideas.
1.Google first records your speech. Because interpreting sounds takes up a lot of computational power, the recording of your speech is sent to Google’s servers to be analyzed more efficiently.
2.Google breaks down what you said into individual sounds. It then consults a database containing various words' pronunciations to find which words most closely correspond to the combination of individual sounds.
3.It then identifies key words to make sense of the tasks and carry out corresponding functions. For example, if Google Assistant notices words like "weather" or "temperature", it would open the weather app.
4.Google’s servers send the information back to your device and Google Assistant may speak. If Google Assistant needs to say anything back to us, it would go through the same process described above, but in reverse order.