The invention discloses a neural machine translation method based on sample guidance. The invention relates to a neural machine translation method based on sample guidance, which comprises the following steps of assisting the translation of a source statement through the translation of a sentence similar to the source statement, finding the sample statement similar to the source statement in a sample database, and marking the sample statement as (x, xm), wherein x represents the source statement. The method for guiding translation of the sample by introducing the sample into the neural machinetranslation model has the advantages that the useless noise information in a sample statement is masked off through a noise-masked encoder model, and the interference of the useless information on source statement translation can be effectively avoided; and 2, through the auxiliary decoder model, which information in the model sample statement can be used can be displayed and guided, so that theinformation in the target end sample statement can be fully used.