Machine translation method and device

The invention discloses a machine translation method and device; the method uses a translation rule table containing translation rules of multi-language source language end texts and a target language end text, so translation from multi-language source language end texts to the target language end text can be realized; source language end text language identification is not needed, thus improving translation accuracy, and preventing language identification phase errors in the translation process from an unknown language to the target language; the method supports translations of a multi-language mixed sentence, so the sentence does not need to be segmented by languages, translated, and combined; machine translation engines from multi-language to the target language are not needed, thus saving developing cost and server resources; the method comprises the following steps: determining a to-be-translated source language end text, and using the pre-trained translation rule table containing translation rules of multi-language source language end texts and the target language end text to determine candidate results of the target language end text; determining a to-be-outputted target language end text according to the candidate results.