【24h】

A Learning Algorithm for Top-Down XML Transformations

机译:自顶向下XML转换的学习算法

获取原文
获取原文并翻译 | 示例

摘要

A generalization from string to trees and from languages to translations is given of the classical result that any regular language can be learned from examples: it is shown that for any deterministic top-down tree transformation there exists a sample set of polynomial size (with respect to the minimal transducer) which allows to infer the translation. Until now, only for string transducers and for simple relabeling tree transducers, similar results had been known. Learning of deterministic top-down tree transducers (DTOPs) is far more involved because a DTOP can copy, delete, and permute its input subtrees. Thus, complex dependencies of labeled input to output paths need to be maintained by the algorithm. First, a Myhill-Nerode theorem is presented for DTOPs, which is interesting on its own. This theorem is then used to construct a learning algorithm for DTOPs. Finally, it is shown how our result can be applied to XML transformations (e.g. XSLT programs). For this, a new DTD-based encoding of unranked trees by ranked ones is presented. Over such encodings, DTOPs can realize many practically interesting XML transformations which cannot be realized on first-childext-sibling encodings.
机译:给出了从字符串到树,从语言到翻译的一般化结论,即可以从示例中学习任何常规语言:表明对于任何确定性的自顶向下树转换,都存在一个多项式大小的样本集(相对于到最小的换能器),从而可以推断出翻译。到目前为止,仅对于弦换能器和简单的重新标记树换能器,类似的结果是已知的。确定性自上而下的树换能器(DTOP)的学习要涉及得多,因为DTOP可以复制,删除和置换其输入子树。因此,该算法需要维护标记的输入对输出路径的复杂依赖性。首先,提出了针对DTOP的Myhill-Nerode定理,这本身很有趣。然后,该定理用于构造DTOP的学习算法。最后,说明如何将我们的结果应用于XML转换(例如XSLT程序)。为此,提出了一种新的基于DTD的未排序树按排序树的编码。通过这样的编码,DTOP可以实现许多实际上有趣的XML转换,而这些转换不能在第一个孩子/下一个兄弟姐妹编码上实现。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号