Since the filled substrings have no overlaps in DS-II, the performance of RNNSearch drops significantly as it cannot handle words unseen in training data.
the attention mechanism was first introduced to Seq2Seq  to release the burden of summarizing the entire source into a fixed-length vector as context.