htk_io
This python package allows reading and writing of files in some of the formats
used by Hidden Markov Model Toolkit (HTK) <http://htk.eng.cam.ac.uk/>
_ andHMM-based Speech Synthesis System (HTS) <http://hts.sp.nitech.ac.jp/>
_.
The following HTK / HTS file formats are currently supported:
- alignment files (also known as “label” files)
- decision tree question set files
- decision tree files
- raw vector sequence files, used by HTS for storing speech parameter sequences
Alignments, trees, etc are represented in memory using simple python data
structures.
Files in the above formats may be read into, or written from, these python
representations.
Installation
For most purposes the simplest way to install htk_io is to use pip.
For example in Debian and Ubuntu::
sudo apt-get install python-numpy
sudo pip install htk_io
Usage
Examples of usage of various functions and classes are included in their
docstrings.
A few examples of files in the formats this package can read and write are
provided in the example
directory.
Bugs
Please use the issue tracker <https://github.com/MattShannon/htk_io/issues>
_
to submit bug reports.
Contact
The author of htk_io is Matt Shannon <mailto:matt.shannon@cantab.net>
_.