arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.13164cs.DBcs.AI
收藏

用交错学习受限正则表达式

Learning Restricted Regular Expressions with Interleaving

University of Chinese Academy of Sciences(中国科学院大学);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所)

Chunmei Dong, Yeting Li, Haiming Chen

摘要:

为XML文档提供XML模式的优点有很多。然而,实际上许多XML文档并没有伴随着模式或有效的模式。Relax NG是一种流行的、功能强大的模式语言,它支持无约束交织运算符。针对Relax NG的推理问题,提出了一种新的带交错的正则表达式子类,并设计了一种多项式推理算法。在大规模真实数据和三个XML数据库上进行了一系列实验,实验结果表明,本文提出的算法具有更好的实用性,推理出的正则表达式更精确。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑