Skip to content
This repository was archived by the owner on Jan 26, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions preprocess/dump_binary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ namespace lightlda
{
/*
* Output file format:
* 1, the first 4 byte indicates the number of docs in this block
* 2, the 4 * (doc_num + 1) bytes indicate the offset of reach doc
* 1, the first 8 byte indicates the number of docs in this block
* 2, the 8 * (doc_num + 1) bytes indicate the offset of reach doc
* an example
* 3 // there are 3 docs in this block
* 0 // the offset of the 1-st doc
Expand Down