gpointer key, value;/* train the document, and convert it to k mixture model. */g_hash_table_iter_init(&iter, hash_of_document);while(g_hash_table_iter_next(&iter, &key, &value)) {phrase_token_ttoken1 =GPOINTER_TO_UINT(key); train_second_word(hash_of_unigram, &bigram, hash_of...