Please use this identifier to cite or link to this item: http://hdl.handle.net/1942/8500
Title: Learning deterministic regular expressions for the inference of schemas from XML data
Authors: BEX, Geert Jan 
GELADE, Wouter 
NEVEN, Frank 
VANSUMMEREN, Stijn 
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: http://hdl.handle.net/1942/8500
Link to publication/dataset: http://doi.acm.org/10.1145/1367497.1367609
ISBN: 978-1-60558-085-2
Category: C1
Type: Proceedings Paper
Appears in Collections:Research publications

Files in This Item:
File Description SizeFormat 
www08.pdfNon Peer-reviewed author version286.4 kBAdobe PDFView/Open
Show full item record

Page view(s)

78
checked on Sep 7, 2022

Download(s)

118
checked on Sep 7, 2022

Google ScholarTM

Check

Altmetric


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