Constraints¶
-
class
semstr.constraints.
Constraints
(multigraph=False, require_implicit_childless=True, allow_orphan_terminals=False, allow_root_terminal_children=False, top_level_allowed=None, top_level_only=None, possible_multiple_incoming=(), childless_incoming_trigger=(), childless_outgoing_allowed=(), unique_incoming=(), unique_outgoing=(), mutually_exclusive_incoming=(), mutually_exclusive_outgoing=(), exclusive_outgoing=(), required_outgoing=(), implicit=False, **kwargs)[source]¶ Bases:
object
Methods Summary
allow_action
(action, history)allow_child
(node, tag)allow_edge
(edge)allow_label
(node, label)allow_parent
(node, tag)Methods Documentation