Method SetOutputUnigramsIfNoShingles
SetOutputUnigramsIfNoShingles(Boolean)
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.
Declaration
public void SetOutputUnigramsIfNoShingles(bool outputUnigramsIfNoShingles)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | outputUnigramsIfNoShingles | Whether or not to output a single unigram when no shingles are available. |