Home | Trees | Indices | Help |
|
---|
|
Class for representing hierarchical language structures, such as syntax trees and morphological trees.
|
|||
ProbabilisticMixIn A mix-in class to associate probabilities with other classes (trees, rules, etc.). |
|||
Tree A hierarchical structure. |
|||
ImmutableTree | |||
AbstractParentedTree An abstract base class for Trees that automatically maintain pointers to their parents. |
|||
ParentedTree A Tree that automatically maintains parent pointers for single-parented trees. |
|||
MultiParentedTree A Tree that automatically maintains parent pointers for multi-parented trees. |
|||
ImmutableParentedTree | |||
ImmutableMultiParentedTree | |||
ProbabilisticTree | |||
ImmutableProbabilisticTree |
|
|||
|
|||
tree
|
|
||
tree
|
|
||
|
|
Parse a treebank string and return a tree. Trees are represented as nested brackettings, e.g. (S (NP (NNP John)) (VP (V runs))).
|
Parse a Sinica Treebank string and return a tree. Trees are represented as nested brackettings, as shown in the following example (X represents a Chinese character): S(goal:NP(Head:Nep:XX)|theme:NP(Head:Nhaa:X)|quantity:Dab:X|Head:VL2:X)#0(PERIODCATEGORY)
|
A demonstration showing how |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed Aug 27 15:08:51 2008 | http://epydoc.sourceforge.net |