Then we use the discourse-related information to modify the word-level attention function.
the context vector representing the source document is: where h (e) (j,i) shows the encoder state of word i in discourse section j and α (t) (j,i) shows the corresponding attention weight to that encoder state.