I’ve been reading through the Android docs and Google searches on Speech Recognition looking for something that tracks how many times or instances a specific word has been said. I understand that it returns an array list of possible matches with how confident of a match it believes it to be. What I want to know is there a way to pull how many times it believes “cat” (for example) is said during its “recording”? IE it believes “cat” is said 3 times, so it returns 3 instances of “cat” and for each instance reacts to it. Kinda like saying Beetlejuice 3 times and he appears. Is there a direct way of doing this?
I’ve been reading through the Android docs and Google searches on Speech Recognition looking
Share
Assuming you are returning the data as a ArrayList