public class NGram extends Object
| Modifier and Type | Field and Description |
|---|---|
static HashMap<Character,Character> |
cjk_map |
static int |
N_GRAM |
| Constructor and Description |
|---|
NGram()
Constructor.
|
public static final int N_GRAM
public void addChar(char ch)
ch - public String get(int n)
n - length of n-grampublic static char normalize(char ch)
ch - Copyright © 2013. All rights reserved.