I want to create an incremental search function for a language. It has to show the same result when I use either Devnagri or English ( how it sounds) For example : ‘Kya’ should show क्या , ‘क्या’ should show क्या

Please suggest some guide or tutorial, I am okayish in programming and open to learning

Cheers.

  • Dunstabzugshaubitze
    link
    fedilink
    arrow-up
    2
    ·
    5 months ago

    sounds like you want a MultiKeyMap and a way to store the data from which you build the map, so i’d suggest to look up that data structure. incremental search could than be implemented by filtering on the key sets or subsets of it.