summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/storage/phrase_index.h15
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{