arXiv · 1904.13164
Learning Restricted Regular Expressions with Interleaving
Abstract
The advantages for the presence of an XML schema for XML documents are numerous. However, many XML documents in practice are not accompanied by a schema or by a valid schema. Relax NG is a popular and powerful schema language, which supports the unconstrained interleaving operator. Focusing on the inference of Relax NG, we propose a new subclass of regular expressions with interleaving and design a polynomial inference algorithm. Then we conducted a series of experiments based on large-scale real data and on three XML data corpora, and experimental results show that our subclass has a better practicality than previous ones, and the regular expressions inferred by our algorithm are more precise.
Explore related subjects
Keep this discovery
Chunmei Dong, Yeting Li, Haiming Chen. 2019-04-30. Learning Restricted Regular Expressions with Interleaving. https://arxiv.org/abs/1904.13164
Cite the original work for its findings. Save a collection to share your selection of sources.