public class NgramUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String[] |
getNgrams(String[] tokens)
Gets all n-grams for a given set of tokens.
|
static String[] |
getNgrams(String[] tokens,
int len)
Returns the N-Grams for a string of a given length.
|
Copyright © 2018. All rights reserved.