I am trying to use Context Free Art to create a simple dataset of images, and use it for my research.
Given the grammar, how can I configure the software to output the entire parse tree (and the order of rendering) along with the output image?
I'm willing to dive into the code, but considering that it is huge, I would prefer if someone could provide relevant pointers.
Thanks ^_^
How can I get the parse tree for the generated image?
Moderators: MtnViewJohn, chris, mtnviewmark
- MtnViewJohn
- Site Admin
- Posts: 882
- Joined: Fri May 06, 2005 2:26 pm
- Location: Mountain View, California
- Contact:
Re: How can I get the parse tree for the generated image?
You can get the order of rendering by outputting as an SVG file, but it will be sorted on Z-axis value. There could be an option to skip Z sorting.
There is no option to output the parse tree. I guess it wouldn't be that hard. It could be done as an optional compile phase.
There is no option to output the parse tree. I guess it wouldn't be that hard. It could be done as an optional compile phase.