pub fn term_counts_with_ngrams(tokens: &[String]) -> HashMap<String, usize>Expand description
Compute term counts including n-grams.
Computes occurrence counts for unigrams, bigrams, and trigrams combined. N-grams are space-separated strings (e.g., “system openssl”).