Speech recognition reduces possible search results

I started with speech recognition using android, sl4a and python, and so far it has worked fine. My user must enter numbers from 0 to 9 with his voice. Is there a way to tell the android only to search in these numbers and, therefore, shorten the recognition time (and probably errors)?

+1
python android sl4a
source share
1 answer

Not. You cannot change what Google returns. You can process the results.

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

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

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

+6
source share

All Articles