Package org.nineml.coffeegrinder.trees
The tree classes.
These classes are related to constructing trees from the forest.
-
Interface Summary Interface Description Axe An axe is a tool an Arborist might use to extract trees from a forest.TreeBuilder The tree builder interface.TreeSelector The tree selector is responsible for choosing among ambiguous parses. -
Class Summary Class Description Arborist One who might be employed to extract trees from a forest.GenericBranch A branch (nonterminal) in a generic tree.GenericLeaf A leaf (terminal) in a generic tree.GenericTree A generic tree representation of a parse.GenericTreeBuilder A tree builder that constructs aGenericTree
.Lumberjack An "unspecialist" Arborist.NopTreeBuilder This class implements theTreeBuilder
interface, but discards all the output.ParseTree A parse tree used when finding trees in the forest.PrintStreamTreeBuilder A tree builder that sends serialized results to a print stream.PriorityAxe An Axe that returns the highest priority trees first.RandomAxe An Axe that returns random trees.SequentialAxe An Axe that returns ever tree in the forest.StdoutTreeBuilder A tree builder that sends serialized output toSystem.out
.StringTreeBuilder A tree builder that returns the serialized tree as a string.TreeNumber A numbering of potential trees.TreeSelection TreeSurgeon A specialist Arborist.Vertex