An implementation of the Baum-Welch procedure for HMM training.