Package nltk_lite :: Package contrib :: Package dependency :: Module deptree
[hide private]
[frames] | no frames]

Module deptree

source code

Tools for reading and writing dependency trees. The input is assumed to be in Malt-TAB format.

Currently only reads the first tree in a file.

Classes [hide private]
  DepGraph
A container for the nodes and labelled edges of a dependency structure.
Functions [hide private]
 
demo(nx=True)
A demonstration of the result of reading a dependency version of the first sentence of the Penn Treebank.
source code