public class NGramHolder
extends Object
Constructor and Description |
---|
NGramHolder() |
Modifier and Type | Method and Description |
---|---|
void |
addNGram(int number,
String gram) |
void |
addNGramEnd(int number,
String gram) |
void |
addNGramStart(int number,
String gram) |
Map<String,String> |
getNGramEnds() |
Map<String,List<String>> |
getNGrams() |
Map<String,String> |
getNGramStarts() |
public void addNGram(int number, String gram)
public void addNGramEnd(int number, String gram)
public void addNGramStart(int number, String gram)
public Map<String,String> getNGramEnds()
public Map<String,List<String>> getNGrams()
public Map<String,String> getNGramStarts()