realtime english to sinhala transliterate help please...

.NET programming topics
Post Reply
aksl
Sergeant
Sergeant
Posts: 20
Joined: Wed Jan 29, 2014 9:34 pm
Location: Kurunegala,Srilanka

realtime english to sinhala transliterate help please...

Post by aksl » Mon Feb 03, 2014 2:24 pm

I need a vb net code help as follows.
my form has two text boxes named as Textbox1 & Textbox2. no buttons.

when i type charactor "ga" in english in text box 1
should be display sinhala charactor "ග" in text box2

when i type charactor "kra" in english in text box 1
should be display sinhala charactor "ක්‍ර" in text box2

when i type word "gasa" in english letters in text box 1
should be display sinhala word "ගස" in text box2

I want to be able to type continuously.....like as Singlish....

(sinhala is mothertounge of srilankans)

displaying should be in realtime, I mean without button pressing.

keep a look at screenshot attached.It is a same programme i found..

dears! help me please !
Natural Singlish Screenshot
Natural Singlish Screenshot
Untitled.jpg (47.04 KiB) Viewed 10772 times
aksl
Sergeant
Sergeant
Posts: 20
Joined: Wed Jan 29, 2014 9:34 pm
Location: Kurunegala,Srilanka

Re: realtime english to sinhala transliterate help please...

Post by aksl » Tue Feb 04, 2014 8:46 pm

:( :( :( :( :( :(
Please help me !
:( :( :( :( :( :(
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: realtime english to sinhala transliterate help please...

Post by Neo » Tue Feb 04, 2014 11:46 pm

Dear Aksl

I went through this in detail. Basically you need to write a English to Sinhala unicode converter. There are several open source (mostly web based) codes available and it will be a good starting point for you.

I found one code written by an undergraduate for a project. You can see that here, http://code.google.com/p/cse-l3-2009-070329e/

The exact code is http://code.google.com/p/cse-l3-2009-07 ... ish.js?r=4

Since it is written in JavaScript, you can easily convert it to any other language. I don't think advance features such as word suggestions are available as in advance Singlish tools like Google Input Tools. You would add them step by step.
aksl
Sergeant
Sergeant
Posts: 20
Joined: Wed Jan 29, 2014 9:34 pm
Location: Kurunegala,Srilanka

Re: realtime english to sinhala transliterate help please...

Post by aksl » Wed Feb 05, 2014 3:32 pm

:clap: :clap: :clap: :clap: :clap:

mmm...Thanks a lot Neo,
I'll try it out....
If there were any problems I'll write you....
then kindly response me !
aksl
Sergeant
Sergeant
Posts: 20
Joined: Wed Jan 29, 2014 9:34 pm
Location: Kurunegala,Srilanka

Re: realtime english to sinhala transliterate help please...

Post by aksl » Thu Feb 13, 2014 9:30 pm

I tried hard several days to get this code worked.But i was unable to do it.
i think above code is a sample of transliterate programe which i expect.

but


Please kindly give me instructions to convert above code to vb net

or

give me this type of vb net code.
thanks in advance.
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: realtime english to sinhala transliterate help please...

Post by Neo » Tue Feb 18, 2014 10:53 pm

I don't think you will find a VB.net code directly for this. In case there is an open source project written in VB.net, Google should mostly expose that. So give try.

With regard to conversion, yes it is not easy to convert a code to another language. The best thing to understand the logic and rewrite it in the language you want. This gives you a clear idea on the logic which you won't get in a direct translation.
aksl
Sergeant
Sergeant
Posts: 20
Joined: Wed Jan 29, 2014 9:34 pm
Location: Kurunegala,Srilanka

Re: realtime english to sinhala transliterate help please...

Post by aksl » Wed Feb 19, 2014 4:52 am

Ok.Neo. I understood the problem. I'll try to write my own code. Thanks you.
User avatar
Enigma
Lieutenant
Lieutenant
Posts: 74
Joined: Sun Jan 16, 2011 12:40 am
Location: Colombo, Sri Lanka

Re: realtime english to sinhala transliterate help please...

Post by Enigma » Mon Mar 31, 2014 4:06 pm

Hi

Check this link
http://www.google.com/intl/si/inputtools/try/

I think you can use a google translator API for this

Hope this helps

Thanks
Post Reply

Return to “.NET Programming”