| Trees | Indices | Help |
|
|---|
|
|
object --+
|
tagger.Tagger --+
|
PretaggedTagger
The input doesn't matter. Must be instantiated with a complete set of tags. The tag list should contain lists of tags for each word (usually each list will contain just one item). These are what it will return.
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
COMPATIBLE_FORMALISMS =
|
|||
TAGGER_OPTIONS = [ModuleOption('tags', filter= file_option, heTagger-specific options. |
|||
INPUT_TYPES = List of allowed input datatypes. |
|||
|
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.
|
|
|||
COMPATIBLE_FORMALISMS
|
TAGGER_OPTIONSTagger-specific options. List of ModuleOptions.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:58 2012 | http://epydoc.sourceforge.net |