I want to use the Levenshtein algorithm to search a list of strings. I want to implement a personalized character mapping for entering Latin characters and searching for elements in Greek.
Display example
:
a = α, ά b = β i = ι,ί,ΐ,ϊ ... (etc) u = ου, ού
So a search using abu in a list with
- αbu
- abού
- αού (all Greek characters)
will cause all items to appear in the list. (item order is not a problem)
How to apply matching in the algorithm? ( this is where I start)
source share