These graphs are produced using GraphViz, an open source graph drawing package, originally from AT&T Research. You can find a method toDotFormat()
in edu.stanford.nlp.trees.semgraph.SemanticGraph
that will convert a SemanticGraph
into dot
input language format which can be rendered by dot
/GraphViz. At present, there isn't a command-line tool that provides this functionality, but it's pretty straightforward using that method.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…