FuzzyAlgorithm
Leave feedback
On this page
Inheritance: java.lang.Object
public abstract class FuzzyAlgorithm
Represents the base class for fuzzy search algorithms.
Learn more
| Method | Description |
|---|---|
| getSimilarityLevel(int termLength) | Gets the similarity level for the specified term length. |
| getMaxMistakeCount(int termLength) | Gets the maximum allowed number of mistakes for the specified term length. |
| getCore() |
public abstract double getSimilarityLevel(int termLength)
Gets the similarity level for the specified term length.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| termLength | int | The term length. |
Returns: double - The similarity level.
public abstract int getMaxMistakeCount(int termLength)
Gets the maximum allowed number of mistakes for the specified term length.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| termLength | int | The term length. |
Returns: int - The maximum allowed number of mistakes.
public Object getCore()
Returns: java.lang.Object
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.