The similarity function sim(e, x) we used is Ratcliff-Obershelp algorithm (Black, 2004).
an encoder-decoder model is exploited to generate the utterance based on the set of atomic exemplars by estimating p(x|{e 1 • • • e |y| }).