[prev in list] [next in list] [prev in thread] [next in thread] 

List:       viavoice
Subject:    [viavoice] SRCL parsing
From:       "Damion K. Wilson" <dkw () rcm ! bm>
Date:       2001-01-05 16:47:48
[Download RAW message or body]

Hello, all

The recognition engine will pass out a phrase matching the user-specified
grammar but doesn't appear to provide information about which non-terminal
elements of the BNF used to obtain it.

For instance, the grammar described by :

<phrase> = <greeting> <name>? .

<greeting> = hi | hello | "buenos dias" .

<name> = frank | harry | mary .

given the text :

"hello mary"

will produce the non-terminal stream :

<phrase><greeting><name>

As the API programmer, I can then decide to take action on the fact that
the message is a generic greeting type rather than attempting to match all
the possibilities of the grammar using positional text items (i.e. parsing
it again).

Does anyone know either how to obtain this information, or, more generally,
how to generate a parse tree for the grammar without having to write a BNF
parser from scratch ?

Damion K. Wilson


---
For information about the IBM ViaVoice SDKs and Run Time Kits for Linux visit \
http://www.ibm.com/software/speech/dev/sdk_linux.html. To view the archive of \
submissions visit http://viavoice.sparklist.com. To view the Frequently Asked \
Questions visit http://www.ibm.com/software/speech/dev/faq_linux.html. To remove your \
subscription to this list, simply send a note to: \
remove-viavoice@laser.sparklist.com. If you are experiencing any problems using the \
list, please send a note to viavoice-owner@laser.sparklist.com.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic