From ac7b8fa13887e0e663b515f40e4cbc7b2c2b9661 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 18 Aug 2010 14:05:21 +0800 Subject: add retrieve_all defination. --- src/include/novel_types.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/novel_types.h b/src/include/novel_types.h index 9265cfe..2d31039 100755 --- a/src/include/novel_types.h +++ b/src/include/novel_types.h @@ -103,7 +103,14 @@ struct BigramPhraseItem{ gfloat m_freq; /* P(W2|W1) */ }; -typedef GArray * BigramPhraseArray; /* Array of HighLevelPhraseItem */ +struct BigramPhraseItemWithCount{ + phrase_token_t m_token; + guint32 m_cout; + gfloat m_freq; /* P(W2|W1) */ +}; + +typedef GArray * BigramPhraseArray; /* Array of BigramPhraseItem */ +typedef GArray * BigramPhraseWithCountArray; /* Array of BigramPhraseItemWithCount */ /* * n-gram Definition -- cgit