public class NGram extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
N_GRAM
ngrams are created from 1gram to this amount, currently 2grams and 3grams.
|
| Constructor and Description |
|---|
NGram() |
public static final int N_GRAM
public void addChar(char ch)
@Nullable public String get(int n)
n - length of n-gramCopyright © 2015. All rights reserved.