[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OpenVXI: Confused about OpenVXI and active grammars
That is what my system does too. It queues up both
prompts and then plays them when the recognizer is
called. The problem is that the field grammar should
NOT be active while playing the Block's prompts. Am I
wrong here? I want to know a way to tell that:
Oh, I am about to queue up a prompt that has a
different grammar active. I should play the prompts I
already have first, and them start a new queue.
This also makes me wonder if the <nomatch> and related
prompts should have the field grammar active when
playing, but I guess that is a different question.
--- David Goddeau <dgoddeau@speechworks.com> wrote:
> It is true there is no way to tell (by listening)
> where the prompts are
> comming from.
>
> The page below should play 'block prompt' then
> 'field prompt', then
> invoke the
> recognizer on the field grammar. Is that not what
> you see or expect?
>
> The playing is asynchronous and somewhat platform
> dependent. What we
> would see
> on our platform is both prompts queued but not start
> actually playing
> until the recognizer call
> (which blocks).
>
> I am a little confused as to what you are trying to
> do.
>
> -dg
>
>
> John Kerwin wrote:
>
> > When I have a block and a field inside of form, I
> seem
> > to get wierld results
> >
> > <form>
> > <block>
> > <prompt>block prompt</prompt>
> > </block>
> > <field>
> > <grammar> word | another_word</grammar>
> > <prompt>field prompt</prompt>
> > </field>
> > </form>
> >
> > In OpenVXI there never seems to be a way for me to
> > tell where the prompts are coming from. I only
> want
> > the field grammar to be active for the field
> element,
> > but when queueing up the prompts I cannot tell
> where
> > the prompts came from. I guess I would want to
> call a
> > VXIpromptWait(channel) between the <block> and the
> > <field>, but I cannot seem to find a good place to
> put
> > it. Can someone give me a hint on where to start
> looking?
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Auctions - buy the things you want at great
> prices
> > http://auctions.yahoo.com/
> >
> >
> >
>
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/