Encoder-recoder-decoder working