If z t is fluent and grammatically correct, the corresponding reward R(z t ) is relatively large.
the reward R(z t ) can be used as feedback to guide the training of W. Since operation of word-to-word translation is discrete, we use REINFORCE algorithm (Williams, 1992) to estimate the gradient of Eq.