moa 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?

Not that I can tell from the RecognizerIntent options. Your only
constraints are free-form vs. Web search and what natural language to use.

> Also, can I limit the SR to only match numerics for number input only?

Again, not that I can tell from the RecognizerIntent options.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Training: http://commonsware.com/training

-- 
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

Reply via email to