Package jazzparser :: Package taggers :: Package ngram_multi :: Module model
[hide private]
[frames] | no frames]

Module model

source code

Ngram-multi tagging model.


See Also: jazzparser.taggers.ngram_multi.tagger

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

Classes [hide private]
  MultiChordNgramModel
An ngram model that takes multiple chords (weighted by probability) as input to its decoding.
Functions [hide private]
 
_all_indices(length, num_labels)
Function to generate all index n-grams of a given length
source code
 
lattice_to_emissions(lattice, chord_map=None)
Gets an emission sequence in an appropriate format for the ngram-multi HMM model from a chord lattice.
source code
Variables [hide private]
  __package__ = 'jazzparser.taggers.ngram_multi'
Function Details [hide private]

lattice_to_emissions(lattice, chord_map=None)

source code 

Gets an emission sequence in an appropriate format for the ngram-multi HMM model from a chord lattice.