| Trees | Indices | Help |
|
|---|
|
|
object --+
|
base.syntax.SignBase --+
|
Sign
A CCG category and its associated semantics: a CCG sign.
Keeps a note of which rules have been applied and which other signs they were applied to, so that the parser can avoid re-applying the same rule to the same inputs again.
This overrides the base sign implementation with a few formalism-specific things.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
Given a dictionary of features, applies any changes to this sign that need to be made before it is added to the chart on the basis of surface-level features (e.g. pitch, time).
|
str(x)
|
Format the sign as a string for display in a list of results. By default, this just uses the class' str(), but subclasses may provide an alternative format if required (you may want signs to look different in results and in, e.g., chart representation).
|
Must be implemented by subclasses. Adds timing information to components such that the start time of the whole sign is encoded as the given time.
|
Must be implemented by subclasses. Adds duration information to all components that store durations.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:57 2012 | http://epydoc.sourceforge.net |