PunctNode¶
-
class
ucca.layer1.
PunctNode
(ID, root, tag, attrib=None, *, orderkey=<function edge_id_orderkey>)[source]¶ Bases:
ucca.layer1.FoundationalNode
Encapsulates punctuation
layer0
.Terminal objects.- Attributes:
- terminals: return the
layer0
.Terminal objects encapsulated - by this Node in a list (at least one, usually not more than 1).
start_position: end_position:
start/end position of the first/last terminal in the span of the PunctNode.- terminals: return the
Attributes Summary
terminals
Methods Summary
add
(edge_tag, node, *[, edge_attrib])partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords. get_terminals
([punct])Returns a list of all terminals under the span of this PunctNode. Attributes Documentation
-
terminals
¶
Methods Documentation