arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1504.00150cs.DB
收藏

使用交错发现受限正则表达式

Discovering Restricted Regular Expressions with Interleaving

Feifei Peng, Haiming Chen

摘要:

从给定的XML文档中发现一个简洁的模式是XML应用中的一个重要问题。在本文中,我们专注于从一组给定的XML示例中学习无序模式的问题,这实际上是一个学习的问题,限制正则表达式交错使用正例字符串。具有交错的模式可以呈现有意义的知识,这些知识不能被先前的推理技术所揭示。此外,推理的最小模式交织是具有挑战性的。发现一个最小的模式与交织的问题是NP-难的。因此,我们开发了一个近似算法和一个启发式的解决方案来解决这个问题,使用不同的技术从已知的推理算法。我们在真实世界的数据集上进行实验,以证明我们的方法的有效性。事实证明,我们的启发式算法产生的结果非常接近最优。

英文摘要:

Discovering a concise schema from given XML documents is an important problem in XML applications. In this paper, we focus on the problem of learning an unordered schema from a given set of XML examples, which is actually a problem of learning a restricted regular expression with interleaving using positive example strings. Schemas with interleaving could present meaningful knowledge that cannot be disclosed by previous inference techniques. Moreover, inference of the minimal schema with interleaving is challenging. The problem of finding a minimal schema with interleaving is shown to be NP-hard. Therefore, we develop an approximation algorithm and a heuristic solution to tackle the problem using techniques different from known inference algorithms. We do experiments on real-world data sets to demonstrate the effectiveness of our approaches. Our heuristic algorithm is shown to produce results that are very close to optimal.

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

↑