Module tagger
source code
N-gram tagger that operates on chord inputs or chord lattices.
This differs from the "ngram" tagger in that it can accept
lattice input. The model is also very slightly different: it's almost
equivalent, but makes a slightly different independence assumption. In
general, you're probably better off using this version.
I'm using this version for all the experiments in the thesis, so that
I can use the same supertagger for the supertagging experiments, parsing
experiments and MIDI parsing experiments.
Note that this used to be called bigram-multi
, before I
generalized it to n-grams and renamed it ngram-multi
. There
may yet be bugs that arise as a result of this renaming, or old config
files, etc, that haven't been updated. The tagger and model classes have
been correspondingly renamed.
Author:
Mark Granroth-Wilding <mark.granroth-wilding@ed.ac.uk>
|
__package__ = ' jazzparser.taggers.ngram_multi '
|