1. A machine translation method comprising: converting a source sentence written in a first language to language-independent information using an encoder for the first language; and converting the language-independent information to a target sentence corresponding to the source sentence and written in a second language different from the first language using a decoder for the second language; wherein the encoder for the first language is trained to output language-independent information corresponding to the target sentence in response to an input of the source sentence.