From 172205579918c485e56daddd7a457935dfcb1a05 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Fri, 15 Sep 2017 16:23:50 -0700 Subject: [PATCH] add comment on using -B# to split input file for dictionary training --- programs/dibio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/dibio.c b/programs/dibio.c index 66f7d152..2cb2a426 100644 --- a/programs/dibio.c +++ b/programs/dibio.c @@ -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)) {