add comment on using -B# to split input file for dictionary training
This commit is contained in:
parent
c68d17f2da
commit
1722055799
@ -297,6 +297,7 @@ int DiB_trainFromFiles(const char* dictFileName, unsigned maxDictSize,
|
|||||||
if (fs.nbSamples < 5) {
|
if (fs.nbSamples < 5) {
|
||||||
DISPLAYLEVEL(2, "! Warning : nb of samples too low for proper processing ! \n");
|
DISPLAYLEVEL(2, "! Warning : nb of samples too low for proper processing ! \n");
|
||||||
DISPLAYLEVEL(2, "! Please provide _one file per sample_. \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 */
|
EXM_THROW(14, "nb of samples too low"); /* we now clearly forbid this case */
|
||||||
}
|
}
|
||||||
if (fs.totalSizeToLoad < (unsigned long long)(8 * maxDictSize)) {
|
if (fs.totalSizeToLoad < (unsigned long long)(8 * maxDictSize)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user