HELLLOOOOO GUYS, THIS IS MY FIRST TIME POSTING ON ANY COMMUNITY, SO I DEF DONT KNOW THE GUIDELINES, but i sure do know to code… i do realize a lot of people here would probably want to use this extension to make a project that somehow imitates voice assistants such as siri. by this i mean, they want to use a keyword that will activate and only listen to the text once hearing the keyword and not in other cases and also to be handsfree for initiating , so this is how you could possibly implement it
here i have used the text hey to be my keyword so i used it in piece, but u could do speechrecognizer.keyword aswell and it would work fine, i did it like this bcz i felt to do so