Module tagger
source code
A more or less null tagger that assigns just a fixed sequence of
tags.
This tagger should not be used in practice. It is for use in parsing
annotated sequences to verify that the annotated derivation structure is
possible and to produce the chart that that derivation structure would
produce.
It is instantiated with a sequence of tags and, irrespective of the
input (which can be None), returns only those tags. If the input is not
None it should be a list of the same length as the tag list. You may want
to include input chords so that the tree produced has a record of the
chords at the leaves.
Author:
Mark Granroth-Wilding <mark.granroth-wilding@ed.ac.uk>
|
|
PretaggedTagger
The input doesn't matter.
|
|
|
TagsFile
A file format for storing a list of tags, potentially multiple tag
lists.
|
|
|
get_tags_for_input(input,
tag_filename)
Convenience method that loads up a tags file and pulls out the tag
sequence for the DbInput. |
source code
|
|
|
|
__package__ = 'jazzparser.taggers.pretagged'
|