Both probabilities from the two modes contribute to the final probability distribution over the extended vocabulary (the vocabulary plus the words from the dialogue context) which is calculated as follows: which is used to predict the final output word.
we only integrate the GECOR model with the copy mechanism into the dialogue system.