[ngrams] fix for grouping function for ngrams
For nearby terms `["a", "b", "c"]` we concatenated them into one `"a b c"`. Instead we should leave the singletons as well: `["a", "b", "b", "a b", "a c", "b c", "a b c"]`.
Showing
Please register or sign in to comment