| Trees | Indices | Help |
|
|---|
|
|
object --+
|
tagger.Tagger --+
|
ModelTagger
Base class for corpus-trained supertagging models. Provides interface and common methods for model classes, which must each provide their own training methods and the usual tagger methods (get_signs, etc).
The main thing this provides is stuff for storing and retreiving models.
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
COMPATIBLE_FORMALISMS =
|
|||
TAGGER_OPTIONS = [ModuleOption('model', filter= str, help_textTagger-specific options. |
|||
MODEL_CLASS = Nonehash(x) |
|||
|
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.
|
The model name to use when the given partition number is requested. The default implementation simply appends the number to the model name. Subclasses may override this if they want to do something different. |
|
|||
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 |