setOutputUnigramsIfNoShingles
Shall we override the behavior of outputUnigrams==false for those times when no shingles are available (because there are fewer than minShingleSize tokens in the input stream)? (default: false.)
Note that if outputUnigrams==true, then unigrams are always output, regardless of whether any shingles are available.
Parameters
outputUnigramsIfNoShingles
Whether or not to output a single unigram when no shingles are available.