Gather triples and encode to a file in blocks. More...
Public Member Functions | |
GatherTriples (BlockStats *bs) | |
Initialise the gathering. | |
void | insertTriple (T *triple) |
Insert triples as accumulated. | |
void | purgeTripleList (FileBlockQueue *fQueue) |
Encode the set of triples to a file (defined by fQueue). |
Gather triples and encode to a file in blocks.
This class is used to gather triples from a corpus and encode them to a binary file as the memory fills.