[Added more documentation of simpledemo. bringert@cs.chalmers.se**20050621192005] { merger 0.0 ( hunk ./doc/gf-java.html 172 -href="http://www.cs.chalmers.se/~bringert/darcs/simpledemo/src/SimpleDemoText.java">SimpleDemoText.java. +href="http://www.cs.chalmers.se/~bringert/darcs/simpledemo/src/SimpleDemoText.java">SimpleDemoText.java. This examples uses +these grammars. There is a Darcs repo for the complete demo program. hunk ./doc/gf-java.html 171 -SimpleDemoText.java. -

- -

-There is also a slighty larger version of the demo program, SimpleDemo.java, -which uses speech recognition for input and speech synthesis for -output. This version requires the Dialogutil -package, a speech recognizer and a speech synthesizer. +SimpleDemo. ) hunk ./doc/gf-java.html 274 + +

SimpleDemo

+ +

+The smallest example program is +SimpleDemo +(darcs repository). It is a very small dialog system which uses +typed abstract syntax trees. +

+ +

+SimpleDemoText +is the simplest version, it uses text for input and output. +The SimpleDemo +program uses input from a speech frecognizer and sends output to a +speech synthesizer. +The latter program requires the Dialogutil +package, a speech recognizer and a speech synthesizer. + +

+ +

Both programs use the same user +and system grammars. The user and system +packages used by these programs are produced by the +Grammar2API tool included with the Embedded GF Interpreter. +Look at the +SimpleDemo +Makefile +to see how this is done. +

+ hunk ./doc/gf-java.html 319 + + }