| Trees | Indices | Help |
|
|---|
|
|
object --+
|
base.semantics.lambdacalc.LogicalForm --+
|
object --+ |
| |
base.semantics.temporal.Temporal --+
|
List
The Path or List data structure. Primarily this is a list of enharmonic coordinates or logical forms. In the written semantics, this is shown as a list, but it is subject to certain reductions, such as when a predicate (like leftonto) is applied to it.
The items are implemented simply as a Python list, which should make list processing much more efficient than if we used a linked list implementation that corresponds better to the theoretical definition of the semantics.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
Builds a basic logical form object.
|
str(x)
|
This should be overridden by subclasses.
|
Should be overridden by subclasses. Sets the start time of this logical form. This is different to just setting the time property: using set_time() may pass the time property down to its children if that is appropriate for the semantic type. It is also distinct from set_all_times(), which recursively sets the time on all children. This must be provided by all subclasses.
|
Prepends the point to the start of the path. Same as insert(0, point). |
Moves all the points on the path to another block, given relative to
their old one
|
This should be overridden by subclasses.
|
Implemented for backward-compatibility with older formalisms. Just returns list(path). |
This should be overridden by subclasses.
|
This should be overridden by subclasses.
|
This should be overridden by subclasses.
|
This should be overridden by subclasses. It should replace the LogicalForm old_lf with new_lf if it appears as an immediate constituent of this LogicalForm.
|
This should be overridden by subclasses. This method returns a list of all the variables used in this LF. This includes bound and unbound variables. (Only unbound variables need to be alpha-converted to avoid accidental binding, but we will convert bound variables too for readability.) Note that this only contains one instance of each variable, not every occurrence.
|
This should be overridden by subclasses.
|
This should be overridden by subclasses.
|
This should be overridden by subclasses.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:57 2012 | http://epydoc.sourceforge.net |