On the Balancedness of Tree-to-word Transducers

Abstract

A language over an alphabet B = A A of opening (A) and closing (A) brackets, is balanced if it is a subset of the Dyck language DB over B, and it is well-formed if all words are prefixes of words in DB. 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.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…