Structure summary | |
---|---|
render-node |
Method summary | |
---|---|
find-scope | constraint constraint-name |
order-units-locally | constraint scoped-constraints predicate |
print-object | (node render-node) stream |
render | (struct list) (mode (eql :default)) |
render | (cfs coupled-feature-structure) (mode t) |
render | (cfs coupled-feature-structure) (mode (eql :default)) |
render | (struct list) (mode (eql :no-shuffle)) |
render | (cfs coupled-feature-structure) (mode (eql :no-shuffle)) |
render | (struct list) (mode (eql :boundaries)) |
render | (cfs coupled-feature-structure) (mode (eql :boundaries)) |
render | (cfs coupled-feature-structure) (mode (eql :render-in-root-mode)) |
render | (struct list) (mode (eql :render-in-root-mode)) |
render | (cfs coupled-feature-structure) (mode (eql :render-in-one-pole-mode)) |
render | (struct list) (mode (eql :render-with-scope)) |
render | (cfs coupled-feature-structure) (mode (eql :render-with-scope)) |
Function summary | |
---|---|
copy-render-node | render-node |
deep-find-atom | atom lst &key (test (function eql)) |
enforce-first-unit | unit chains |
expand-non-terminal | x struct |
extract-struct | unit-name s |
find-render-node | name from-node |
flatten-sequence | chains |
force-meets | top left-branch right-branch &optional strict |
get-leaves | tree &optional result |
get-lexeme | struct lb |
get-scope-from-form-constraint | constraint |
insert-meets | meets-lst lst |
insert-meets-constraint | meeting-units lst |
insert-precede | order lst |
insert-precedes | order chains |
make-chain | lst-1 lst-2 |
make-chains | meeting-units |
make-render-node | &key name string parent subnodes (orderings t) |
maybe-init-orderings | rn |
new-render | syn &key (shuffle t) |
order-constraints-by-predicate | constraints predicates &optional (result) |
print-nodes | from-node |
reduce-scoped-constraints | lst |
remove-duplicate-units | list-of-unit-names &optional result |
render-add-strings | structure top-node from-node from-unit &key (stems? t) |
render-boundaries | syn-struct &optional (top (get-top-unit syn-struct)) |
render-branches | node1 node2 |
render-extract-strings | topnode &optional (all nil) &key (shuffle t) |
render-handle-meets | structure topnode |
render-handle-precedes | structure topnode |
render-in-root-mode | syn |
render-node-name | render-node |
render-node-orderings | render-node |
render-node-p | object |
render-node-parent | render-node |
render-node-string | render-node |
render-node-subnodes | render-node |
render-upnodes | node |
retain-only-terminals | tree non-terminals terminals struct |
sort-order-constraints | meets-constraints &optional solution |
structure->render-node | structure from-unit &optional parent-node |
Returns and (with setf) changes the orderings of the specified render-node
Returns and (with setf) changes the subnodes of the specified render-node
Returns and (with setf) changes the parent of the specified render-node
Returns and (with setf) changes the string of the specified render-node
Return all nodes starting from node-name up to the topnode in that order.
Return the node in which the paths to node1 and node2 branch, together with the downward paths from the branching node to the respective input nodes as lists with first elements the subnodes of the branching node.
Check whether all the precedes constraints are also satisfied.
Insert the meets-constraint in its proper position.
Make sure that the meets-constraints are in proper order.
If there are chains of meets-constraints, group them as one list.
Pick out the chain that starts with the initial unit and put it in front.
Groups the constraints in the same order as they appear in the predicates argument.
Recursively looks for an atom in a list, and returns it if found.
Given a tree, only keep the terminal leaves.