0
$\begingroup$

I have XML file that describes some embedded components. So the file has different markups that correspond to different fields. The intention behind this project is to generate automatically UI descriptive layouts for those XML files. I saw the seq2seq model here. I was wondering if I can use the same architecture (Encoder-Decoder) to generate HTML files that describe the content of the fields in the XML file.

$\endgroup$
3
$\begingroup$

I haven't seen any examples to predict code using encoder-decoder methods (but you probably can!). However, "The Unreasonable Effectiveness of Recurrent Neural Networks" by Andrej Karpathy outlines how RNN models can be used to generate source code for $\LaTeX$ documents and the Linux kernel, so that method should be just as effective at the HTML/XML task.

$\endgroup$
  • $\begingroup$ Thank you for sharing such important article with me. I will definitely try the RNN models and give you my feedback. It will take me some time I guess. $\endgroup$ – Emna Jaoua May 29 '18 at 14:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.