shabados/gurmukhi-utils

add to remove function the ability to strip down to main letters

sarabveer opened this issue · 3 comments

Strip out anything that isnt a space, 35 Letters, or Letter with Pair Bindi.

Related to shabados/presenter#146 ~ first char to trigger main letters search. @Harjot1Singh you'll have to add logic that the first char in desktop if it's an ascii char ~ to not allow that in the rest of the search and convert to main letters search (There is no word that begins with ~ char so it's okay). If an input had full word search and then the first char entered is ~ perhaps it should sanitize the rest of the query for consistency.

Do you want to convert ascii codes ^ to K, E to a. etc to etc? That's what I would recommend. Though ultimately it would be great if for example a searched for a and E and E could also be used to search specifically for E.

I think this might be the best method. It would be just space and 35 Akhars