HMMlib is a C++ library for constructing and analyzing general hidden Markov models. The library consists of a number of template classes and generic functions, parameterized with the precision of floating point types and different types of hardware acceleration.
If you wish to use HMMlib in a Python program, we provide a set of Python bindings to hmmlib - see the examples below.
HMMlib is published under the GNU Lesser General Public License.
Compile and install:
To compile and install HMMlib, download the source code, by clicking one of the links above, and run the following commands in a terminal:
$ tar -xvf HMMlib-1.0.2.tar.gz
$ cd HMMlib-1.0.2
$ cmake .
$ make test
$ sudo make install
To use HMMlib you may now include eg. “HMMlib/hmm.hpp” in your program. See the examples below.
If Boost.Python is found in your Boost installation, python bindings will be generated in the file pyhmmlib.so.
$ make doc
to generate documentation for each class or find it here: