At any decode time step t, the decoder can either generate a word from the decode vocabulary or copy a word from the memory.
the decoder computes: (1) generate distribution P g (y t ) over the decode vocabulary, and (2) copy distribution P c (y t ) over words in the memory.