public abstract class FuzzyAlgorithm extends Object
Learn more
Constructor and Description |
---|
FuzzyAlgorithm() |
Modifier and Type | Method and Description |
---|---|
protected static FuzzyAlgorithm |
createProtected(ArrayReader reader) |
abstract int |
getMaxMistakeCount(int termLength)
Gets the maximum allowed number of mistakes for the specified term length.
|
abstract double |
getSimilarityLevel(int termLength)
Gets the similarity level for the specified term length.
|
public abstract double getSimilarityLevel(int termLength)
termLength
- The term length.public abstract int getMaxMistakeCount(int termLength)
termLength
- The term length.protected static FuzzyAlgorithm createProtected(ArrayReader reader)