| Trees | Indices | Help |
|
|---|
|
|
Chord type mappings
Chord supertaggers use mappings from the input chord vocabulary to a smaller one. Various mappings are available and may be selected at model training time.
Author: Mark Granroth-Wilding <mark.granroth-wilding@ed.ac.uk>
|
|||
|
NamedMapping Just a dictionary with a name. |
|||
|
|||
|
|||
|
|||
|
|||
SMALL_MAPPING = {'': '', 'sus4,7': '7', 'b5,7': '7', 'b5': '7'
|
|||
BIG_MAPPING = {'': '', 'sus4,7': 'sus4', 'b5,7': '7', 'b5': 'b
|
|||
IDENTITY_MAPPING = {'': '', 'sus4,7': 'sus4,7', 'b5,7': 'b5,7'
|
|||
NAMED_MAPPINGS =
|
|||
MAPPINGS =
|
|||
DEFAULT_MAPPING =
|
|||
__package__ =
|
|||
mapping = {'': '', 'sus4,7': 'sus4', 'b5,7': '7', 'b5': 'b5',
|
|||
|
|||
Returns a dictionary chord type mapping identified by its name. A list of available mappings can be found in MAPPINGS. |
|
|||
SMALL_MAPPING
|
BIG_MAPPING
|
IDENTITY_MAPPING
|
NAMED_MAPPINGS
|
mapping
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:56 2012 | http://epydoc.sourceforge.net |