# HG changeset patch
# User William Stein <wstein@gmail.com>
# Date 1310958688 25200
# Node ID 251d8749f5bfd053fdb8bfe0e2d6b4f48ed6d8ee
# Parent  e639e7d2f556491f2d3fc6441b421e21f7ea2ba2
trac 11609 -- fix some minor typos in the *documentation* of Hidden Markov Models

diff --git a/sage/stats/hmm/chmm.pyx b/sage/stats/hmm/chmm.pyx
--- a/sage/stats/hmm/chmm.pyx
+++ b/sage/stats/hmm/chmm.pyx
@@ -804,7 +804,7 @@
             - max_iter -- integer (default: 500) maximum number
               of Baum-Welch steps to take
 
-            - log_likehood_cutoff -- positive float (default: 1e-4);
+            - log_likelihood_cutoff -- positive float (default: 1e-4);
               the minimal improvement in likelihood with respect to
               the last iteration required to continue. Relative value
               to log likelihood.
@@ -969,7 +969,9 @@
     
         - ``A``  -- matrix; the N x N transition matrix
 
-        - ``B`` -- list of pairs (mu,sigma) that define the distributions
+        - ``B`` -- list of mixture definitions for each state.  Each
+          state may have a varying number of gaussians with selection
+          probabilities that sum to 1 and encoded as (p,(mu,sigma))
 
         - ``pi`` -- initial state probabilities
 
@@ -1265,7 +1267,7 @@
             - obs -- a time series of emissions
             - max_iter -- integer (default: 1000) maximum number
               of Baum-Welch steps to take
-            - log_likehood_cutoff -- positive float (default: 1e-12);
+            - log_likelihood_cutoff -- positive float (default: 1e-12);
               the minimal improvement in likelihood with respect to
               the last iteration required to continue. Relative value
               to log likelihood.
diff --git a/sage/stats/hmm/hmm.pyx b/sage/stats/hmm/hmm.pyx
--- a/sage/stats/hmm/hmm.pyx
+++ b/sage/stats/hmm/hmm.pyx
@@ -1152,7 +1152,7 @@
             - ``max_iter`` -- integer (default: 100) maximum number
               of Baum-Welch steps to take
 
-            - ``log_likehood_cutoff`` -- positive float (default: 1e-4);
+            - ``log_likelihood_cutoff`` -- positive float (default: 1e-4);
               the minimal improvement in likelihood with respect to
               the last iteration required to continue. Relative value
               to log likelihood.
