Autocomplete Algorithms
Functions
Link copied to clipboard
fun <T> fuzzyMatching(items: Collection<T>, toStringFunction: ToStringFunction<T>, query: String): Collection<FuzzyResult<T>>
Sorts the item with fuzzing matching, the OptionData.MAX_CHOICES most relevant results should appear at the top
Link copied to clipboard
fun <T> fuzzyMatchingWithContinuity(items: Collection<T>, toStringFunction: ToStringFunction<T>, query: String): Collection<FuzzyResult<T>>
Sorts the item with fuzzing matching, the OptionData.MAX_CHOICES most relevant results should appear at the top