]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
add comment on using -B# to split input file for dictionary training 846/head
authorYann Collet <cyan@fb.com>
Fri, 15 Sep 2017 23:23:50 +0000 (16:23 -0700)
committerYann Collet <cyan@fb.com>
Fri, 15 Sep 2017 23:23:50 +0000 (16:23 -0700)
programs/dibio.c

index 66f7d15264da2b4873eb40a4ed3a3c06bf853898..2cb2a42671a0fdf069f4a968d41983be950bfc1a 100644 (file)
@@ -297,6 +297,7 @@ int DiB_trainFromFiles(const char* dictFileName, unsigned maxDictSize,
     if (fs.nbSamples < 5) {
         DISPLAYLEVEL(2, "!  Warning : nb of samples too low for proper processing ! \n");
         DISPLAYLEVEL(2, "!  Please provide _one file per sample_. \n");
+        DISPLAYLEVEL(2, "!  Alternatively, split files into fixed-size blocks representative of samples, with -B# \n");
         EXM_THROW(14, "nb of samples too low");   /* we now clearly forbid this case */
     }
     if (fs.totalSizeToLoad < (unsigned long long)(8 * maxDictSize)) {