Hmmm, You can set what language to use. Can you create a locale with a dictionary of only the words you want? That would be the most efficient way to do this. The other way is to look for yes or no in the list if extra words. It might be a performance hit but it will give you less falls negatives.
On Nov 1, 2:36 pm, moa <mich...@jixel.com> wrote: > I want to use the SR api to handle commands in my application. I know > at any given point in my application what the valid commands would be > at that point so would like to limit the results that the SR is > matched against. > > For example, if the only valid commands were "Yes" or "No" I would > like to be able to restrict the SR to only try and match against those > two words. Otherwise on full vocabulary I get "Snow" and other false > words. Limiting the vocabulary should make matching 90%+ accurate on > limited words. > > Is this possible? > > Also, can I limit the SR to only match numerics for number input only? > > The internal dialer seems to be able to do this sort of this, so can > I? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en