tensorflow / nmt

TensorFlow Neural Machine Translation Tutorial
Apache License 2.0
6.37k stars 1.96k forks source link

How to test the BLEU and How can I change the selected word in translation #327

Open ryan-minyu opened 6 years ago

ryan-minyu commented 6 years ago

HI, everyone:

Here I got two questions

  1. How to test the BLEU when generate a translate text by myself. I know that while training it will automatically run the BLEU test and give a feedback. I wonder how can I test the BLEU when I generate a translate text myself?

  2. As I imagine, there could be a word pool while translating each single word. If so, how can I change the selected word from the best fitted word to another (maybe not suitable for the sentence translated)?

Thanks for any reply.