| Home | Trees | Indices | Help |
|
|---|
|
|
Class for representing hierarchical language structures, such as syntax trees and morphological trees.
|
|||
|
Tree A hierarchical structure. |
|||
| ImmutableTree | |||
| 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 May 16 22:47:20 2007 | http://epydoc.sourceforge.net |