A standard RNN encoder decoder model will end up having UNK symbols as output.
it is not possible to determine which word does this symbol correspond to, as there will be typically many UNK words in an input sequence.