| Trees | Indices | Help |
|
|---|
|
|
object --+
|
FormalismBase
Superclass of all Formalism structures. These tie together all the components of a formalism in an easily accessible way: rules, syntax, semantics, etc.
|
|||
| __metaclass__ | |||
|
Syntax Formalisms should define override this nested class with their own, which will specify values for these attributes. |
|||
|
Semantics Formalisms should define override this nested class with their own, which will specify values for these attributes. |
|||
|
Evaluation Functions for evaluating tonal space paths and parse results. |
|||
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
literal_functions =
|
|||
shell_tools =
|
|||
output_options = ModuleOptions that can be used to set global settings that will affect the formatting of output. |
|||
semantics_to_coordinates = NoneFunction to generate a list of coordinates from a parse result (semantic part). |
|||
semantics_distance_metrics = List of distance metrics available in the formalism. |
|||
PcfgModel = NonePcfg model class appropriate for the formalism. |
|||
|
|||
|
Inherited from |
|||
|
|||
Makes output options globally available, based on a dictionary. See Also: output_options. |
Convenience method so you don't have to do this lots of times over. Take a string of output options from the command line and set the output options from it. Should only be used in command-line scripts. |
Function to generate a list of coordinates from a parse result. By
default, uses |
|
|||
output_optionsModuleOptions that can be used to set global settings that will affect the formatting of output. Don't use any required options. All options must be able to be initialized to a default. The values of the options will be set to their default when the formalism class is first encountered. Call process_output_options to customize the options. Although the options are globally available for simplicity of access, you should only ever access them from within formalism-specific code in practice.
|
semantics_distance_metricsList of distance metrics available in the formalism. Each item is a subclass of jazzparser.formalisms.base.semantics.distance.DistanceMetric.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:56 2012 | http://epydoc.sourceforge.net |