| Trees | Indices | Help |
|
|---|
|
|
object --+
|
Formalism.PcfgParser
Formalism interface for the PcfgParser parser module.
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
rule_short_names =
|
|||
|
|||
|
Inherited from |
|||
|
|||
Given a syntactic category, generates a representation that will be used by the model. The result should be a string and must uniquely identify all of the features of the category that the model should distinguish. If base_category is given, it may be used as a base to compare the category to. In this case, observations of generated categories always take their parent as a base category and syntactic pitches are all relative to it. If base_category is not given, the category itself will be considered the base category. |
Returns a version of the Chord object that's relative to the base pitch of the category. If no category is given, the chord returned will be rooted at I (i.e. relative to itself). |
|
|||
rule_short_names
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:57 2012 | http://epydoc.sourceforge.net |