This repository was archived by the owner on Apr 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Generating Lattices
iondel edited this page Aug 24, 2016
·
4 revisions
The phone-loop model can be used to create lattices by running:
utils/create_lattices_db.sh setup.sh parallel_opts keys_file model_dir output_dir
The lattices are created by first generating the posteriors of the GMMs of the phone-loop model and then by using this posteriors to HVite. Note that since we do not give any language model to HVite the best path from HTK lattices may differs from the best path computed with AMDTK (which uses either a unigram or a bigram language model over the units). Lattice generation parameters should be define in the setup.sh file:
beam_thresh=0.0
penalty=-1
gscale=1
conf_latt_dir="${root}/${model_type}/conf_lattices"
where:
-
beam-threshis the pruning threshold -
penaltyis the inter model transition penalty (in the log domain) -
gscaleis the grammar scale factor -
conf_latt_diris the directory where should be store the HTK lattice configuration file