public abstract class FuzzyAlgorithm extends Object
Represents the base class for fuzzy search algorithms.
Constructor and Description |
---|
FuzzyAlgorithm() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getMaxMistakeCount(int termLength)
Gets a maximum allowed number of mistakes for specified term length.
|
abstract double |
getSimilarityLevel(int termLength)
Gets a similarity level for specified term length.
|
public abstract double getSimilarityLevel(int termLength)
Gets a similarity level for specified term length.
termLength
- The term length.public abstract int getMaxMistakeCount(int termLength)
Gets a maximum allowed number of mistakes for specified term length.
termLength
- The term length.Copyright © 2018. All rights reserved.