I trying to add speech recognition into my app. But unfortunately I don't find a way to add generic placeholders. For example I want to say "I am looking for stackoverflow" then I use this grammar:
<grammar root="start" {...}>
<rule id="start" scope="public">
I am
<one-of>
<item> looking for</item>
<item> listening to</item>
</one-of>
</rule>
<!-- here could be any word -->
</grammar>
My problem is, how to implement the search for "stackoverflow". If I use this grammar the recognizer always finds "I am looking for". Great, but the important word is missing. If I am not using any grammar then I get something like "I and looking four steak overflow". Here I got the important word, but cannot use rules to constrain to "I am" and "looking for".
My need is of course "I am looking for steak overflow".
How could I achieve this? Thanks in advance!