PyStanfordDependencies

PyStanfordDependencies is a Python interface for converting Penn Treebank trees to Stanford Dependencies and Universal Dependencies. It offers a get_instance() function with subprocess or jpype backends, and convert_tree() or convert_trees() methods returning Token objects. Visualization options include asciitree, Graphviz dotgraphs, and interactive xdot windows. A Stanford CoreNLP or Parser jar file can be supplied, or downloaded automatically.

GitHub repo Directory import
0 shouts Added Sep 23, 2026 github.com
github.com/dmcc/PyStanfordDependencies
PyStanfordDependencies website preview

Features

  • Python interface for converting Penn Treebank trees to Universal Dependencies Source: github.com

Links

Tags