WordFlow - a sample word recognition program for JuliusLib
Rev.0.5 on 2007/12/19
----------------------------------------------------------

Required packages: libsdl libsdl-ttf

Synopsis:

  Windows: 
    wordflow.exe -C jconffile dictfile [Options]

  Linux: 
    wordflow.bin -C jconffile dictfile [Options]

Required argument:
  dictfile	Word dictionary file to use for recognition (required)
  -C jconffile	jconf file (required).  No LM option should be included.

Options:
  -w pixel	Window width.  (default: 800)
  -h pixel	Window height.  (default: 480)
  -f ttffile	TTF font for output.  (default: data/ipagp.ttf)
  -s pixel	Font size (default: 100)
  -i frame	word trail update interval (default: 300, override
		"-proginterval" in jconf)
  -c charcode	character set of dictionary file  (default: utf-8)

======================================================================
Testrun

The testrun script is "run-station.bat" for Windows, or "run-station.sh" 
for Linux.  The task is a Japanese 9k-word recognition of station names 
in Japan.

======================================================================
How to compile from source: (for Linux, cygwin, mingw)

  (0) Prepare development files for "libsdl" and "libsdl-ttf".

  (1) Prepare JuliusLib installed in your system, or you have a
      binary package of Julius-4.0 extracted at somewhere.

  (2) Change directory to src:

	% cd src

  (3) If you have bainary package extracted at somewhere, do

	% ./configure --prefix=/path/to/somewhere/julius-4.0-*bin

      where the path should point to the extracted binary package content.
      Else, if you have installed JuliusLib in the host as system
      file,  you can do more simply:

	% ./configure

      To make static executable at mingw, add "--enable-static" to it.

  (4) Compile.

	% make

  (5) Use the generated binary.

