diff options
author | Peng Wu <alexepico@gmail.com> | 2010-08-16 14:12:13 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2010-08-16 14:12:13 +0800 |
commit | be41870202762f9dca8fa732ef8ffce2a6a1a280 (patch) | |
tree | 2dc560a9ccefd939c432cc273aec9014f9fcdf19 /src/storage/phrase_index.h | |
parent | cf5571547919329d8dd09bd827fc00fe22008124 (diff) | |
download | libpinyin-be41870202762f9dca8fa732ef8ffce2a6a1a280.tar.gz libpinyin-be41870202762f9dca8fa732ef8ffce2a6a1a280.tar.xz libpinyin-be41870202762f9dca8fa732ef8ffce2a6a1a280.zip |
add description.
Diffstat (limited to 'src/storage/phrase_index.h')
-rwxr-xr-x | src/storage/phrase_index.h | 15 |
1 files changed, 15 insertions, 0 deletions
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{ |