A string specifying the weighting to apply. Must be one
of "bow", "binary", "tf", or "tfidf".
Defaults to "bow".
ngram_size
An integer specifying the maximum n-gram size. For example,
`ngram_size = 1` will create unigrams only; `ngram_size = 2` will create unigrams and bigrams. Defaults to 1.