In the following, we attach a dynamic memory vector to the original static memory h i , to keep track of how many times this word has been attended to and whether the neighboring words are selected at previous time steps, the information, together with h i , is used to predict the next word to select.
we use bidirectional LSTMs to encode the source sentences.