Go to the source code of this file.
|
int | DiB_trainFromFiles (const char *dictFileName, size_t maxDictSize, const char **fileNamesTable, int nbFiles, size_t chunkSize, ZDICT_legacy_params_t *params, ZDICT_cover_params_t *coverParams, ZDICT_fastCover_params_t *fastCoverParams, int optimize, unsigned memLimit) |
|
◆ ZDICT_STATIC_LINKING_ONLY
#define ZDICT_STATIC_LINKING_ONLY |
◆ DiB_trainFromFiles()
int DiB_trainFromFiles |
( |
const char * | dictFileName, |
|
|
size_t | maxDictSize, |
|
|
const char ** | fileNamesTable, |
|
|
int | nbFiles, |
|
|
size_t | chunkSize, |
|
|
ZDICT_legacy_params_t * | params, |
|
|
ZDICT_cover_params_t * | coverParams, |
|
|
ZDICT_fastCover_params_t * | fastCoverParams, |
|
|
int | optimize, |
|
|
unsigned | memLimit ) |
DiB_trainFromFiles() : Train a dictionary from a set of files provided by fileNamesTable
. Resulting dictionary is written into file dictFileName
. parameters
is optional and can be provided with values set to 0, meaning "default".
- Returns
- : 0 == ok. Any other : error.