From be41870202762f9dca8fa732ef8ffce2a6a1a280 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 16 Aug 2010 14:12:13 +0800 Subject: add description. --- src/storage/phrase_index.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src') diff --git a/src/storage/phrase_index.h b/src/storage/phrase_index.h index 1f7d99e..acdddb0 100755 --- a/src/storage/phrase_index.h +++ b/src/storage/phrase_index.h @@ -29,6 +29,21 @@ #include "pinyin_phrase.h" #include "memory_chunk.h" +/* + * Phrase Index File Format + * + * Indirect Index: Index by Token + * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + * + Phrase Offset + Phrase Offset + Phrase Offset + ...... + + * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + * Phrase Content: + * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + * + Phrase Length + number of Pronunciations + Uni-gram Frequency+ + * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + * + n Pronunciations + Phrase String(UCS2) + + * ++++++++++++++++++++++++++++++++++++++++++ + */ + class PinyinLookup; namespace novel{ -- cgit