This is a small perl script written on the lines of lisp2dot to convert Penn like trees to Dot graph files. I made this to assist me in making reports on my BTP project. A sample output on this tree was generated using the following commands:
./perl2dot.pl < tree > out.dot dot -Tjpg -o out_tree.jpg out.dot
It is far from complete, and I will keep adding a few more elements (like coloring the QP and S differently for emphasis, etc.) as and when needed. However, I would be happy to modify it if somebody else wants to use it too.
Back to Home