| Trees | Indices | Help |
|
|---|
|
|
object --+
|
tagger.Tagger --+
|
models.ModelTagger --+
|
Baseline2Tagger
The second of the simple baseline tagger models. This models unigram probabilities of tags, given only the intervals between chords.
|
|||
|
MODEL_CLASS A class to encapsulate the model data for the tagger. |
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
INPUT_TYPES = List of allowed input datatypes. |
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
The tagger must have reference to the grammar being used to parse the input. It must also be given the full input when instantiated. The format of this input will depend on the tagger: for example, it might be a string or a MIDI file.
|
Returns the input word at this index. This does not need to be a string, but must have a sensible __str__, so that it can be converted to a readable string. The purpose of this is to provide a readable form of the input for the parser to store in derivation traces.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:58 2012 | http://epydoc.sourceforge.net |