Tasks for the exercise session on June 30, 2005: -- part 1: modularization -- make use of subroutines (see the English Diamant tutorial Ivana sent last week) to re-structure your dialogs so that blocks of the same procedures (clarification sub-dialogs and confidence scores input) are parametrically invoked -- part 2: connect speech recognizer L&H is now installed with permissions to create users (-: - start the L&H Lextool (you'll find it in windows->Start-> Programs->L&H...) - register a user (User->Create) - select languages for the user - build your BNF grammar (see instructions for a small grammar in the Diamant manual) - make a context by importing the grammar (Context->Import) a/ specify path to recognition grammar that is to be used by the user you created, b/ give the new "context" a name - (optional) to test the grammar, run the L&H Demonstrator and see if L&H will recognize words (phrases) from your grammar - once you have a user and context, in Diamant you add a speech device (L&H ASR1600 on Randezvous connector) - Diamant will find the user(s) + context(s) created in L&H - in the graph input nodes, in the Input tab for the speech-in device, you type "start" to start the recognizer -- btw, see also Help of the Diamant ASRClient for other commands it accepts... you may (-; want to try to experiment with setting the threshold (see L&H client help) and returning alternatives: { numAlternatives = _SOME_NUMBER_ } { sendAlternatives = true } { sendAlternativesAsList = true } { treshold = 0.70 } start (each of these is typed on a separate input value line in the Input tab) - remember about the simulated recognition confidence scores that are to be still inserted from the keyboard... -- part 3: test, test, test -- make sure your dialogs work: imagine product release!