Next: 13.1.3 Tracing
Up: 13.1 HBuild
Previous: 13.1.1 Function
HBUILD is invoked by the command line
HBuild [options] wordList outLatFile
The wordList should contain a list of all the words used
in the input language model. The options specify the type of input
language model as well as the source filename. If none of the flags
specifying input language model type are given a simple word-loop
is generated using the wordList given. After processing the
input language model, the resulting lattice
is saved to file outLatFile.
The operation of HPARSE is controlled by the following
command line options
- -b
- Output the lattice in binary format. This increases
speed of subsequent loading (default ASCII text lattices).
- -m fn
- The matrix format bigram in fn forms the input
language model.
- -n fn
- The ARPA/MIT-LL format back-off bigram in fn
forms the input language model.
- -s st en
- Set the bigram entry and exit words to st
and en. (Default !ENTRY and !EXIT).
Note that no words will follow the exit word, or precede
the entry word. Both the entry and exit word must be included
in the wordList.
- -t st en
- This option is used with word-loops and word-pair
grammars.
An output lattice is produced with an initial word-symbol
st (before the loop) and a final word-symbol en
(after the loop). This allows initial and final silences
to be specified. (Default is that the initial and final nodes
are labelled with !NULL). Note that st and en
shouldn't be included in the wordList unless they occur
elsewhere in the network.
- -u s
- The unknown word is s (default !NULL). This
option only has an effect when bigram input language models
are specified. It can be used in conjunction with the -z
flag to delete the symbol for unknown words from the output
lattice.
- -w fn
- The word-pair grammar in fn
forms the input language model. The file must be in
the format used for the ARPA Resource Management grammar.
- -x fn
- The extended HTK lattice in fn
forms the input language model. This option is
used to expand a multi-level lattice into a single
level lattice that can be processed by other HTK tools.
- -z
- Delete (zap) any references to the unknown word (see -u
option) in the output lattice.
HBUILD also supports the standard options -A,
-C, -D, -S, -T, and -V as described
in section 4.4.
Next: 13.1.3 Tracing
Up: 13.1 HBuild
Previous: 13.1.1 Function
ECRL HTK_V2.1: email [email protected]