Jump to content

Saurian Translator Reloaded (Live!)


Mr. Krystal

Recommended Posts

Ah, Javascript. One of thiose languages I need to learn. And learning programming languages is painful......

Link to comment
Share on other sites

It's actually very simple. All I do is every time a key is pressed, it calls a Javascript function.

The function takes the data in the textbox you are typing in, splits the string at every space, and stores them in an array. This means we have an array of words. Then we loop though each word and split it into individual characters. Depending on what type of letter and which language you are translating to, the program uses the original character as a reference to the translated character in the other language. After that, you just reassemble the translated phrase, add spaces, and output to the other textbox.

Also, Javascript is tough, cause they usually don't tell you when you have an error, but if you learn Perl first, you'll be fine. (Perl is one of the world's easiest languages and the "duct tape" of programming languages.)

Link to comment
Share on other sites

Te 0ei bden nxud 0ei xulo tedo A nacc doloh jkef

Just kidding i hope but you never know XD

anyway that is the neatest thing i have seen yet

Link to comment
Share on other sites

Thanks to the sick people at the KLA, I now have to add filters against curse words :P

Link to comment
Share on other sites

Well, it's done. The Saurian Translator is now in Beta 2. It now features a curse word filter. Please, I beg you, try to defeat it. Email the words that you can get past the filter, so I can make it stronger. That is all.

Link to comment
Share on other sites

Oh darn, the filter beat me.

Link to comment
Share on other sites

Wait? is the first link you provided in the forum the filtered one? Because it didn't stop me at all...

Link to comment
Share on other sites

Wait? is the first link you provided in the forum the filtered one? Because it didn't stop me at all...

The first link is to the old version, one that I will be removing later, now that there is a live version.

Link to comment
Share on other sites

okay, just making sure.

<edit> I just found the live one. The filters working so far </edit>

Link to comment
Share on other sites

Saurian Translator Version 3 Released!!!

It makes the language filter optional (default off), mainly because it really slowed down the processing.

I also added something that I'm very proud of: "Intelligent" Proper Noun Detection. It will try to figure out if you're typing a proper noun even without the '~' character. It's limited of course, but it works fairly well. It's also optional.

Visit the new Saurian Translator Version 3!

Link to comment
Share on other sites

×
×
  • Create New...