Home | Trees | Index | Help |
|
---|
Package nltk_lite :: Package cluster :: Class Dendogram |
|
Method Summary | |
---|---|
| |
__repr__(self)
| |
Finds the n-groups of items (leaves) reachable from a cut at depth n. | |
Merges nodes at given indices in the dendogram. | |
Print the dendogram in ASCII art to standard out. |
Method Details |
---|
__init__(self,
items=[])
|
groups(self, n)Finds the n-groups of items (leaves) reachable from a cut at depth n.
|
merge(self, *indices)Merges nodes at given indices in the dendogram. The nodes will be combined which then replaces the first node specified. All other nodes involved in the merge will be removed.
|
show(self)Print the dendogram in ASCII art to standard out. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Sep 5 09:37:22 2006 | http://epydoc.sf.net |