program that is an english to Spanish translator for 3 word sentences.

Please can anyone help me with the code for writing a program that is an english to Spanish translator for 3 word sentences thanks.
[152 byte] By [victorh2] at [2007-9-27 1:09:08]
# 1
That depends on what the definition of "is" is.
eriklindquist at 2007-7-4 18:37:59 > top of Java-index,Archived Forums,Java Programming...
# 2

can n.

1 A usually cylindrical metal container.

2 An airtight container, usually made of tin-coated iron, in which foods or beverages are preserved.

3 The contents of such a container.

4 Slang. A jail or prison.

5 Slang. A toilet or restroom.

6 Slang. The buttocks.

7 Slang. A naval destroyer.

eriklindquist at 2007-7-4 18:37:59 > top of Java-index,Archived Forums,Java Programming...
# 3
a program that translator 3 word sentences from english to Spanish.
victorh2 at 2007-7-4 18:37:59 > top of Java-index,Archived Forums,Java Programming...
# 4
I suppose you could create a Map of English to Spanish words but how would you translate "Now I can"?Is it "Ahora yo puedo" or "Ahora yo lata"
eriklindquist at 2007-7-4 18:37:59 > top of Java-index,Archived Forums,Java Programming...
# 5
Another well-known example (say, it is the message in a telegramm):"Ship sinks today".Does it mean: please deliver the water-plumbing-gadgetornaval transport vehicle goes to the seabottom
BIJ at 2007-7-4 18:37:59 > top of Java-index,Archived Forums,Java Programming...
# 6

What those people are trying to tell you is that a good program that does that is something you might write as a university thesis. In other words, it's extremely difficult.

But if you don't mind if you have a very bad program, you could set up a dictionary that mapped English words to Spanish words, then translate each word in the sentence.

DrClap at 2007-7-4 18:37:59 > top of Java-index,Archived Forums,Java Programming...
# 7
Check out http://www.babblefish.com. Pretty slick.
eriklindquist at 2007-7-4 18:37:59 > top of Java-index,Archived Forums,Java Programming...