Saturday, February 25, 2012

How can I make a translator?

I'm interested in making a programmme, a language translator, which translates any (or @least simple) sentence from our native language to English. Can anyone give me an idea about how to get translated a word from one language to another? Can I use any already built dictionary database? (are there any available in the Internet?) Or do you think that I have to crate a dictionary too?|||Words which translate directly I imagine would be quite easy. You could simply replace words like nouns and some verbs with the nouns and verbs of the other language to English.





The difficult part would be formation of the sentences themselves, since those are different in different languages. Depending on the language, you'll have to figure out yourself the best way to do it. The algorithm would probably be complicated.





The process has been tried and not perfected, it seems, since free translators on the internet aren't always very accurate.





Some general rules would be pretty easy. For example, in English, the adjective generally procedes the noun, while in Spanish, the adjective follows the noun. The program could simply reverse these. But there are much more complicated sentence structure problems which will probably take a lot of thinking out to solve, and you probably won't get it perfect.





I haven't looked but it seems a list of English words, or at least nouns, and their corresponding words in another language would be freely available on the internet.

No comments:

Post a Comment