zstd/contrib/experimental_dict_builders/fastCover
Jennifer Liu 0acb0abd1e Add non-optimize FASTCOVER (#1260)
* Add non-optimize FASTCOVER

* Minor fix

* Pass param as value instead of pointer
2018-08-01 11:06:16 -07:00
..
fastCover.c Add non-optimize FASTCOVER (#1260) 2018-08-01 11:06:16 -07:00
fastCover.h Add non-optimize FASTCOVER (#1260) 2018-08-01 11:06:16 -07:00
main.c Add non-optimize FASTCOVER (#1260) 2018-08-01 11:06:16 -07:00
Makefile Undo deleting clean in make 2018-07-27 16:56:50 -07:00
README.md Add non-optimize FASTCOVER (#1260) 2018-08-01 11:06:16 -07:00
test.sh Add non-optimize FASTCOVER (#1260) 2018-08-01 11:06:16 -07:00

FastCover Dictionary Builder

Permitted Arguments:

Input File/Directory (in=fileName): required; file/directory used to build dictionary; if directory, will operate recursively for files inside directory; can include multiple files/directories, each following "in=" Output Dictionary (out=dictName): if not provided, default to fastCoverDict Dictionary ID (dictID=#): nonnegative number; if not provided, default to 0 Maximum Dictionary Size (maxdict=#): positive number; in bytes, if not provided, default to 110KB Size of Selected Segment (k=#): positive number; in bytes; if not provided, default to 200 Size of Dmer (d=#): either 6 or 8; if not provided, default to 8 Number of steps (steps=#): positive number, if not provided, default to 32 Percentage of samples used for training(split=#): positive number; if not provided, default to 100

###Running Test: make test

###Usage: To build a FASTCOVER dictionary with the provided arguments: make ARG= followed by arguments If k or d is not provided, the optimize version of FASTCOVER is run.

Examples:

make ARG="in=../../../lib/dictBuilder out=dict100 dictID=520" make ARG="in=../../../lib/dictBuilder in=../../../lib/compress"