-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output formats #8
Comments
We could also consider |
XML output format done (function: Dmrs.dumps_xml) |
I added a visualise method to the Dmrs class, taking a format string and an optional filehandle. The method calls the outsourced visualise method in serial.py. So far the only supported format is dot (http://www.graphviz.org/content/dot-language) without any "optimised" node/edge positioning, i.e. the graphs look messy if the sentence is not small. To translate dot to png: "dot -Tpng [file.dot] > [file.png]" (see comment in code). |
From Delph-in summit:
|
Decide on what output formats we would like to support.
Code to traverse the graph could be separate, and used by all formats.
The text was updated successfully, but these errors were encountered: