public abstract class AbstractSpellCheck extends Object
Modifier and Type | Field and Description |
---|---|
protected static int |
MAX_LABELS |
Modifier | Constructor and Description |
---|---|
protected |
AbstractSpellCheck() |
Modifier and Type | Method and Description |
---|---|
protected String |
codePointToString(Collection<Integer> codePointSet) |
protected int |
computeAverrage(String word) |
protected NavigableSet<Integer> |
computeKeyInSet(String value) |
static int |
computeLevenshteinDistance(CharSequence str1,
CharSequence str2) |
protected Set<String> |
computeReduceKeys(NavigableSet<Integer> keyInSet,
int minimumSize,
int maxSize) |
protected Set<String> |
computeReduceKeys(String key,
int minimumSize,
int maxSize) |
protected List<String> |
splitValue(String value) |
protected void |
updateKeyMap(ISpellCheckDAO spellCheckDAO,
NavigableSet<Integer> codePointSet) |
protected static final int MAX_LABELS
protected void updateKeyMap(ISpellCheckDAO spellCheckDAO, NavigableSet<Integer> codePointSet)
protected Set<String> computeReduceKeys(NavigableSet<Integer> keyInSet, int minimumSize, int maxSize)
protected String codePointToString(Collection<Integer> codePointSet)
protected NavigableSet<Integer> computeKeyInSet(String value)
protected int computeAverrage(String word)
public static int computeLevenshteinDistance(CharSequence str1, CharSequence str2)
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.