| Trees | Indices | Help |
|
|---|
|
|
object --+
|
SignBase
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.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
hash(x)
|
str(x)
|
repr(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). |
Same as format_result, but returns latex source. By default uses the class' to_latex method. See Also: format_result |
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). |
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. |
Returns True if the given rule instance has been applied to this sign previously in the parse. If the rule is binary, other_input should be given and this sign is assumed to be the leftmore input. |
Keeps a note that the given rule was applied to this sign. If it is a binary rule, you must also specify what the second input was. |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:56 2012 | http://epydoc.sourceforge.net |