inria-00460489, version 2
A Learning Algorithm for Top-Down XML Transformations
Aurélien Lemay 1, 2Sebastian Maneth 3Joachim Niehren
a, 1, 2
29th ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems (2010) 285-296
Résumé : 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-child/next-sibling encodings.
A preliminary extended version can be found at http://www.grappa.univ-lille3.fr/~niehren/Papers/learn-dtop/long.pdf .
- a – INRIA
- 1 : Laboratoire d'Informatique Fondamentale de Lille (LIFL)
- CNRS : UMR8022 – INRIA – IRCICA – Université Lille 1 - Sciences et Technologies
- 2 : MOSTRARE (INRIA Lille - Nord Europe)
- INRIA – CNRS : UMR8022 – Université Lille 1 - Sciences et Technologies : EA3588 – Université Charles de Gaulle - Lille III
- 3 : National ICT Australia (NICTA)
- Australian National University – University of New South Wales – NSW Government – ACT Government
- Domaine : Informatique/Apprentissage
Informatique/Base de données - Versions disponibles : v1 (05-04-2010) v2 (22-06-2010)
- inria-00460489, version 2
- http://hal.inria.fr/inria-00460489
- oai:hal.inria.fr:inria-00460489
- Contributeur : Joachim Niehren
- Soumis le : Mardi 22 Juin 2010, 13:33:23
- Dernière modification le : Dimanche 30 Janvier 2011, 16:06:52






Documents associés
Exporter