file-format-description.txt from Texai at Krugle
Show file-format-description.txt syntax highlighted
BEGIN FILE FORMAT DESCRIPTION.
?...Header string length (int32) and string (including trailing 0).
O...Original LM filename string-length (int32) and filename (including trailing 0).
0...(int32) version number (present iffvalue <= 0).G...(int32) original LM file modification timestamp(iff version# present).
O...(int32) string-length and string (including trailing 0) (iff version# present).
H...... previous entry continued any number of times (iffversion# present).
C...(int32) 0 (terminating sequence of strings) (iff version# present).
R...(int32) log_bg_seg_sz (present iff different from default value of LOG_BG_SEG_SZ).
"...(int32) lm_t.ucount (must be > 0).
....(int32) lm_t.bcount.
....(int32) lm_t.tcount.
,...lm_t.ucount+1 unigrams (including sentinel).
+...lm_t.bcount+1 bigrams (including sentinel).
3...lm_t.tcount trigrams (present iff lm_t.tcount > 0).
....(int32) lm_t.n_prob2.
....(int32) lm_t.prob2[].
4.(int32) lm_t.n_bo_wt2 (present iff lm_t.tcount > 0).
4...(int32) lm_t.bo_wt2[] (present iff lm_t.tcount > 0).
3...(int32) lm_t.n_prob3 (present iff lm_t.tcount > 0).
3...(int32) lm_t.prob3[] (present iff lm_t.tcount > 0).
B...(int32) (lm_t.bcount+1)/bg_seg_sz+1 (presentiff lm_t.tcount > 0).
7...(int32) lm_t.tseg_base[] (present iff lm_t.tcount > 0).
D...(int32) Sum(all word string-lengths, including trailing 0 for each).
1...All word strings (including trailing 0 for each).
....END FILE FORMAT DESCRIPTION...
See more files for this project here