Package jazzparser :: Package formalisms :: Package music_halfspan :: Package semantics :: Module distance
[hide private]
[frames] | no frames]

Module distance

source code

Semantic distance metrics.


Author: Mark Granroth-Wilding <mark.granroth-wilding@ed.ac.uk>

Classes [hide private]
  TonalSpaceEditDistance
Original tonal space distance metric computed as the edit distance of the step vectors and functions of the path through the tonal space implied by the semantics.
  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.
  OptimizedDependencyRecovery
Aligns the two dependency graphs in the way that optimizes their dependency recovery and reports that dependency recovery.
  DependencyRecovery
Exact dependency recovery metric.
  RandomDistance
Returns a distance by picking a random number.
  DependencyGraphSize
This is a baseline metric that does nothing clever.
Functions [hide private]
 
_cadence_type(tree) source code
Variables [hide private]
  __package__ = 'jazzparser.formalisms.music_halfspan.semantics'