NAME

buildsearch.tcl - Create a search object file for hmmsearch.tcl


AVAILABILITY

script/hmm_1.0


SYNOPSIS

buildsearch.tcl model dictionary grammar searchfile


PARAMETERS

model
Input HMM model needed when build the search object.
dictionary
Input list of word pronunciations.
grammar
Input finite state grammar.
searchfile
Output object file in which to save the search file.

DESCRIPTION

The buildsearch.tcl script is used to build a finite state grammar search file used by the generic search script hmmsearch.tcl. To create the search object file the user must specify the input model, the pronunciation dictionary and the finite state grammar file.

The word pronunciations are listed in a simple text file with the following format

 word pronun
 word pronun
  .
  .

The format of the word pronunciations are explained in more detail in the CSLUsh document as well in the word create help page. The following text file shows an example of the dictionary file for the word pronunciations used by the digit tutorial.

 one   w ah n [ah3]
 two   t uw
 three th r iy
 four  f aor
 five  f ay v
 six   s ih ks
 seven s eh v ah2 n [ah3]
 eight ey td
 nine  n ay n [ah3]
 zero  z ih r ow
 oh    ow
 sil   sil

Similarly the finite state grammar is read from a text file. The format of the finite state grammar is described in the CSLUsh document as well as in the grammar create help page. The following text file shows an example of the finite state grammar used for the digit tutorial.

 $digit = one | two | three | four | five | six | 
           seven | eight | nine | zero | oh;
 [sil] <$digit [sil]>;

The resulting search object is then save to disk in object file format.


SEE ALSO

hmmsearch.tcl, word create, grammar create


AUTHOR

Johan Schalkwyk
Center for Spoken Language Understanding
Oregon Graduate Institute of Science & Technology


Last modified on Wed Mar 11 11:10:49 PST 1998.