Download zip Select Archive Format
Name Last Update history
File empty ..
File txt README Loading commit data...
File txt convert_htk.sh Loading commit data...
File txt convert_states.pl Loading commit data...
File txt get_ci_phone_trees.pl Loading commit data...
File txt get_hmm_states.pl Loading commit data...
File txt integerize.pl Loading commit data...
File txt make_linear.pl Loading commit data...
File txt mmf2trans.pl Loading commit data...
File txt parse_trees.pl Loading commit data...
File txt trans2topo.pl Loading commit data...
File txt tree_convert.pl Loading commit data...

README

This is an example of a HTK conversion script that converts HTK models
to Kaldi format models.  It's not being actively maintained.  This
script is not very general-- since HTK's MMF format can contain almost
anything, it's hard to create a general solution.

# HTK conversion script:

# This example for the conversion was kindly provided Yanqing Sun.  However, we
# are not sure that it has been correctly converted.  We are providing it as an
# example anyway-- perhaps someone can debug it.  It has been our experience
# when converting HTK models that whenever we get the conversion script working,
# some other HTK model comes along and breaks the script.  In general this
# conversion is something that we don't aim to put a lot of effort into
# supporting-- our attitude is, if you like HTK, then use HTK.

wget --no-check-certificate https://sourceforge.net/projects/kaldi/files/wsj_ascii.tar.gz
tar -xvzf wsj_ascii.tar.gz
./convert_htk.sh --no-cleanup ../.. ascii/hmmdefs trees kaldi

# on BUT system:
#./convert_htk.sh ../.. /mnt/matylda5/jhu09/setup/CH1/English/exp/xwrd.R0_800_TB500/hmm84/MMF /mnt/matylda5/jhu09/setup/CH1/English/exp/xwrd.R0_800_TB500/hmm10_800_500/cluster.trees convert_dir



# can add optional args --no-cleanup and --linear-topology