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

规则文档空间的常数延迟算法

Constant delay algorithms for regular document spanners

Fernando Florenzano, Cristian Riveros, Martin Ugarte, Stijn Vansummeren, Domagoj Vrgoc

摘要:

正则表达式和带有捕获变量的自动机模型是基于规则的信息抽取的核心工具。这些形式主义,也被称为常规文档语法,使用正则语言来定位用户想要从文本文档中提取的数据,然后将这些数据存储到变量中。由于文档空间可以很容易地生成大量的输出,因此重要的是要有良好的评估算法,可以快速连续地生成提取的数据,并且具有相对较少的预计算时间。为了实现这一目标,我们提出了一个实用的评估算法,允许恒定的延迟枚举后的预计算阶段,在文件中是线性的一个pixel的输出。虽然该算法假设扳手是在变量集自动机的语法变体中指定的,但我们还研究了当扳手由一般变量集自动机、正则表达式公式或扳手代数指定时如何应用它。最后,我们研究了相关的问题,计算输出的文档spectrometer的数量,提供了一个细粒度的分析类的文档spectrometer,支持有效的枚举他们的结果。

英文摘要:

Regular expressions and automata models with capture variables are core tools in rule-based information extraction. These formalisms, also called regular document spanners, use regular languages in order to locate the data that a user wants to extract from a text document, and then store this data into variables. Since document spanners can easily generate large outputs, it is important to have good evaluation algorithms that can generate the extracted data in a quick succession, and with relatively little precomputation time. Towards this goal, we present a practical evaluation algorithm that allows constant delay enumeration of a spanner's output after a precomputation phase that is linear in the document. While the algorithm assumes that the spanner is specified in a syntactic variant of variable set automata, we also study how it can be applied when the spanner is specified by general variable set automata, regex formulas, or spanner algebras. Finally, we study the related problem of counting the number of outputs of a document spanner, providing a fine grained analysis of the classes of document spanners that support efficient enumeration of their results.

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

↑