Module rules

Module rules 

Source
Expand description

Defines helper functions which allow one to record the structure of a parse.

Modules§

semantics
This module defines the basic semantic rules which allow for semantic derivations.

Structs§

Derivation
A representation of all of the steps in the derivation of a parse. This can be used to generate a Tree of any step of the parse.
RulePool
This struct holds the history of which rules were used to generate a parse and thus can be used to plot trees or look at the syntactic structure of a parse.
TraceId
This struct record the ID of each trace in a derivation.
Tree
A structured tree representation of a parse.
TreeNode
A node inside of a Tree which contains information about the features of a current lexical entry, anything in storage as well as its semantic information, if the semantics feature is enabled.
TreeWithMovement
A structured representation of a tree, along with markers for all movement edges.

Enums§

TreeEdge
Representation of an edge in a Tree.