837 bytes added
, 17:11, 26 April 2019
{{Project
|Has title=DSL Encoding
|Has owner=Hiep Nguyen
|Has start date=2019/04/26
|Has project status=Active
}}
==Approach==
Currently, I am thinking about using one-hot vector to encode the structure of a DSL page. The author of the [http://www.edegan.com/wiki/Pix2code pix2code] project also had the same approach. This [https://blog.floydhub.com/turning-design-mockups-into-code-with-deep-learning/ article] gives a more detailed instruction for the embedding method. For our project, we can ignore the image-preprocessing part and focus solely on the text processing.
==File and scripts==
The current codes are living on
E:/projects/embedding
So far, I have been experimenting with only one DSL file, which is '00CDC9A8-3D73-4291-90EF-49178E408797.gui'. To see the current output (not yet one-hot), write
python convert_gui.py