Home
last modified time | relevance | path

Searched refs:bigram_item_with_count (Results 1 – 1 of 1) sorted by relevance

/dports/chinese/libpinyin/libpinyin-2.3.0/src/storage/
H A Dngram.cpp142 BigramPhraseItemWithCount bigram_item_with_count; in retrieve_all() local
146 bigram_item_with_count.m_token = cur_item->m_token; in retrieve_all()
147 bigram_item_with_count.m_count = cur_item->m_freq; in retrieve_all()
148 bigram_item_with_count.m_freq = cur_item->m_freq / (gfloat)total_freq; in retrieve_all()
149 g_array_append_val(array, bigram_item_with_count); in retrieve_all()