arXiv · 1911.13054
On the Balancedness of Tree-to-word Transducers
Abstract
A language over an alphabet $B = A \cup \overline{A}$ of opening ($A$) and closing ($\overline{A}$) brackets, is balanced if it is a subset of the Dyck language $D_B$ over $B$, and it is well-formed if all words are prefixes of words in $D_B$. We show that well-formedness of a context-free language is decidable in polynomial time, and that the longest common reduced suffix can be computed in polynomial time. With this at a hand we decide for the class 2-TWs of non-linear tree transducers with output alphabet $B^*$ whether or not the output language is balanced.
Explore related subjects
Keep this discovery
Raphaela Löbel, Michael Luttenberger, Helmut Seidl. 2019-11-29. On the Balancedness of Tree-to-word Transducers. https://arxiv.org/abs/1911.13054
Cite the original work for its findings. Save a collection to share your selection of sources.