Thursday, September 27, 2007

Jab4Trans Version 0.1 Released

Hi
Recently have been busy with my open source project http://sourceforge.net/projects/jab4trans today released version 0.1 of it.

I called it jab4trans based on the popular nomeclature thats being followed in the java world like jab4log :). The name itself is self explanatory "jab4trans" i.e. "jabber for translation". An attempt to extended the jabber protcol to translate language text. The first question that comes up which two languages are being considered for it ... I assumed two fictious languages "UPPER" and "lower" and tried converting them vice versa. May be if someone has made open source / licensed tool for language translation pls allow me to use it or any pointers to same will be higjly apreciated.

The major concerns here are ...
1. Writing server - i havent written a robust or secure server or a server that can handle thousands of clients just a plain server in its simplest form that waits for incoming connections and handles them.
2 Implemnting Jabber protocol - Jabber protocol handels thre types of packet and i have just implemented the only type of message i required ( thats what i have judged till now)
3. Converting the chat packets - converted packets from UPPER to lower and vice versa using an extra tag that is kept to allow extending the protocol
4. Two languages for translation - As said earlier have used two fictious languages "UPPER" and "lower" looking forward to use some APIs for same that implies i will have to use a different encoding for xml packets ... lets see how much succesful i will be for same. I tried google language tools but it seems as if they are not relased as APIs for third party developers .. pls correct me if i am wrong !!

I kept the version as 0.1 coz i feel its a "proof of concept" code and not even close for 1.0 release need to atleast implement the point number 2 and 3 mentioned fully ... Its still ininfancy i would say.

Bug -> No software complete without a BUG he he he... just kidding had less time so released it with a know bug ... the packets to be translated are being added "twice" as of now .. and converted twice too ... need to rectify it asap

Wat Say ??

6 comments:

Abdul said...

Cool! Let me check it out...

Lavnish said...

Forgot to say about the client I havent written a fancy client ... no user interface no smileys no decorations ... just a simple class that makes one xml packet and then sends to server and another client thats waiting for message ... which in turn receives the translated message :)

Iain Shigeoka said...

You might want to check out the stuff at http://www.igniterealtime.org - you can create plugins on the server to do the translation piece without having to write any of the other code that supports the jabber protocol itself. And you can add plugins to their Spark client app that also can help support the translation features without writing all the other client pieces. Both are open source under GPL so should be good for experimentation.

Iain Shigeoka said...

You might want to check out the stuff at http://www.igniterealtime.org - you can create plugins on their server to do the translation piece without having to write any of the other code that supports the jabber protocol itself. And you can add plugins to their Spark client app that also can help support the translation features without writing all the other client pieces. Both are open source under GPL so should be good for experimentation.

Lavnish said...

http://code.google.com/p/google-api-translate-java/

Lavnish said...

Well some one released the same working version for GTalk ... just add a bot and translate it ...

http://handy-stuff-in-the-web.blogspot.com/2008/07/lets-start-with-google.html