kaldi/misc/htk_conversion
Dan Povey 6122c55140 Fixes and updates to HTK conversion script.
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@961 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
2012-05-28 01:23:56 +00:00
..
README Fixes and updates to HTK conversion script. 2012-05-28 01:23:56 +00:00
convert_htk.sh Fixes and updates to HTK conversion script. 2012-05-28 01:23:56 +00:00
convert_states.pl Fixes and updates to HTK conversion script. 2012-05-28 01:23:56 +00:00
get_ci_phone_trees.pl Committing initial version of Kaldi 2011-05-14 21:48:08 +00:00
get_hmm_states.pl Committing initial version of Kaldi 2011-05-14 21:48:08 +00:00
integerize.pl Committing initial version of Kaldi 2011-05-14 21:48:08 +00:00
make_linear.pl Committing initial version of Kaldi 2011-05-14 21:48:08 +00:00
mmf2trans.pl Fixes and updates to HTK conversion script. 2012-05-28 01:23:56 +00:00
parse_trees.pl Committing initial version of Kaldi 2011-05-14 21:48:08 +00:00
trans2topo.pl Fixes to HTK model conversion (and minor script changes). 2011-05-30 12:04:57 +00:00
tree_convert.pl Fixes to HTK model conversion (and minor script changes). 2011-05-30 12:04:57 +00:00

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