Specifically, a gate p gen ∈ [0, 1] is introduced to switch between copy mode and generation mode.
besides relying on parallel data and text as in previous work, our model attends to relevant external knowledge, encoded as a temporary memory, and combines this knowledge with the context representation of data before generating words.