From 55831261b3c63c4a6e2e0163e1f5a5c7ff3e2673 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 16 May 2011 19:19:02 +0800 Subject: add missing n_1 in export k mixture model --- utils/training/export_k_mixture_model.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/training/export_k_mixture_model.cpp b/utils/training/export_k_mixture_model.cpp index 8645586..358f087 100644 --- a/utils/training/export_k_mixture_model.cpp +++ b/utils/training/export_k_mixture_model.cpp @@ -80,9 +80,10 @@ bool print_k_mixture_model_array_items(FILE * output, char * word2 = taglib_token_to_string(phrase_index, item->m_token); if (word1 && word2) - fprintf(output, "\\item %s %s count %d T %d N_n_0 %d Mr %d\n", + fprintf(output, "\\item %s %s count %d T %d N_n_0 %d n_1 %d Mr %d\n", word1, word2, item->m_item.m_WC, item->m_item.m_WC, - item->m_item.m_N_n_0, item->m_item.m_Mr); + item->m_item.m_N_n_0, item->m_item.m_n_1, + item->m_item.m_Mr); g_free(word1); g_free(word2); } -- cgit