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

Module tagger

source code

Base classes for supertaqger components.

This module contains the superclass of tagger components for the Jazz Parser. New taggers should be created by importing this and subclassing Tagger.


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

Classes [hide private]
  Tagger
The superclass of all taggers.
Functions [hide private]
 
process_chord_input(tagger)
Convenience function for taggers that accept chord input.
source code
Variables [hide private]
  __package__ = 'jazzparser.taggers'
Function Details [hide private]

process_chord_input(tagger)

source code 

Convenience function for taggers that accept chord input.

All taggers that handle chord sequence input do the same preprocessing to the input argument. This function is called to handle string or database input which has already been preprocessed by the Tagger superclass.

It is called by the __init__ of the taggers.