this post was submitted on 27 Jun 2024
27 points (100.0% liked)

Programming

17358 readers
254 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 4 months ago

I don't think I'm getting it right, but isn't it just a matter of checking the character set in the query and determining if it belongs to English or Devnagri part of Unicode and applying transliteration if the query is in English.

If you are looking for a self hosted Devnagri transliteration tool, look into AI4Bharat, a tool developed by IIT Madras.