| Trees | Indices | Help |
|
|---|
|
|
object --+
|
InputReader --+
|
Input --+
|
WeightedChordLabelInput
Input wrapper for a lattice of chord labels, including a set of chord labels for each timestep, each with a probability. The labels themselves are similar to the chord in a DbInput and are represented using jazzparser.misc.chordlabel.data.ChordLabels.
The lattice should be a list of timesteps. Each timestep should be a
list of (label,prob) tuples, where label is a ChordLabel and
prob is a probability.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
FILE_INPUT_OPTIONS =
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
str(x)
|
repr(x)
|
|
|
Subclasses should provide a way of slicing (taking a subsequence of) the input that returns an input of the original type.
|
Applies a beam to remove all values from the lattice whose probability is less than the given ratio of the highest probability for that timestep.
|
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:56 2012 | http://epydoc.sourceforge.net |