Please use this identifier to cite or link to this item:
Title: Learning deterministic regular expressions for the inference of schemas from XML data
Authors: BEX, Geert Jan 
GELADE, Wouter 
NEVEN, Frank 
Issue Date: 2008
Publisher: ACM
Source: Huai, Jinpeng & Chen, Robin & Liu, Hsiao-Wuen & Ma, Wei-Ying & Tomkins, Andrew & Zhang, Xiadong (Ed.) Proceedings of the 17th International Conference on World Wide Web. p. 825-834.
Abstract: Inferring an appropriate DTD or XML Schema Definition (XSD) for a given collection of XML documents essentially reduces to learning deterministic regular expressions from sets of positive example words. Unfortunately, there is no algorithm capapble of learning the complete class of deterministic regular expressions from positive examples only, as we will show. The regular expressions occurring in practical DTD's and XSD's, however, are such that every alphabet symbol occurs only a small number of times. As such, in practice it suffices to learn the subclass of regular expressions in which each alphabet symbol occurs at most k times, for some small k. We refer to such expressions as k-occurrence regular expressions (k-OREs for short). Motivated by this observation, we provide a probabilistic algorithm that learns k-OREs for increasing values of k, and selects the one that best describes the sample based on a Minimum Description Length argument. The effectiveness of the method is empirically validated both on real world and synthetic data. Furthermore, the method is shown to be conservative over the simpler classes of expressions considered in previous work.
Keywords: XML, regular expressions, schema inference
Document URI:
Link to publication:
ISBN: 978-1-60558-085-2
Category: C1
Type: Proceedings Paper
Appears in Collections:Research publications

Files in This Item:
File Description SizeFormat 
www08.pdfPreprint286.4 kBAdobe PDFView/Open
Show full item record

Page view(s)

checked on May 20, 2022


checked on May 20, 2022

Google ScholarTM



Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.