speech recognition reduce possible search results
Asked Answered
D

1

4

I have started with Speech recognition using android, sl4a and python and so far, it works fine. My user is just supposed to input numbers between 0 and 9 with his voice. Is there a way to tell android to only search in those number and therefore reduce the time of recognition (and probably errors) ?

Domain answered 8/1, 2012 at 14:42 Comment(0)
M
7

No. You cannot change what google returns. You can only process the results.

Fortunately, you can process the results to increase the chance of a match.

For example, you could use a phonetic matching algorithm like Soundex

Using Soundex or something similar, if the recognizer hears something like "true" your code could still recognize it as the number 2.

Milklivered answered 8/1, 2012 at 17:12 Comment(3)
Interesting idea. I am gonna give it a try.Domain
How helpful are phonetic matching algorithms?Wentz
Phonetic matching algorithms are quite effective. Even SoundEx, which is very very simple and was originally developed for names, helps you to match. The better you tweak it the less false detections you will have.Milklivered

© 2022 - 2024 — McMap. All rights reserved.