h j is defined in Equation 3: where c is the source context vector computed by the encoder, t j−1 is the word vector representation of word j − 1, h j−1 is the hidden state for time j − 1 and g is a non-linear activation function.
we use the source input sentence and previous translated words to predict the next word.