| Trees | Indices | Help |
|
|---|
|
|
object --+
|
base.semantics.distance.DistanceMetric --+
|
base.semantics.distance.FScoreMetric --+
|
LargestCommonEmbeddedSubtrees
Tonal space distance metric computed as the size of the largest subtree that can be embedded in the dependency graphs of two logical forms. This is done separately for each alignment of cadences in the two logical forms and the global optimum is used.
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
OPTIONS = FScoreMetric.OPTIONS+ [ModuleOption('res_score', fil
|
|||
name =
|
|||
|
|||
|
identifier A human-readable identifier for the metric represented by this instance. |
|||
|
Inherited from |
|||
|
|||
A human-readable identifier for the metric represented by this instance.
|
The core computation of the distance metric. Takes care of the tree comparison and cadence alignment and return the vital statistics. |
Produces a string showing a derivation of the distance metric that would be returned for the given inputs. This is useful for debugging the metric. Subclasses are not required to provide this, and there may not always be something sensible to show.
|
|
|||
OPTIONS
|
|
|||
identifierA human-readable identifier for the metric represented by this instance.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:57 2012 | http://epydoc.sourceforge.net |