The label of a vertex in a constituency tree: a lexical leaf is a terminal, the bare label a
projection, the trace of a token the trace of index ι a + 1 for the token a, and the index-free
trace the trace of index 0.
- SyntacticObject.Vertex.toLabel ι (Sum.inl (some a)) = PhraseStructure.Tree.Label.terminal () a
- SyntacticObject.Vertex.toLabel ι (Sum.inl none) = PhraseStructure.Tree.Label.phrase () PhraseStructure.Tree.PhraseKind.projection
- SyntacticObject.Vertex.toLabel ι (Sum.inr (some a)) = PhraseStructure.Tree.Label.trace (ι a + 1) ()
- SyntacticObject.Vertex.toLabel ι (Sum.inr none) = PhraseStructure.Tree.Label.trace 0 ()
Used by LinearizedSyntacticObject.toTree
Used in Syntax/Minimalist/Copy/ToTree