paperbot · PL 论文追踪

RSS

The Complexity of Aggregates over Extractions by Regular Expressions

LMCS vol.Volume 19, Issue 32023
Johannes Doleschal, Benny Kimelfeld, Wim Martens

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(Abstract)

Regular expressions with capture variables, also known as regex-formulas, extract relations of spans (intervals identified by their start and end indices) from text. In turn, the class of regular document spanners is the closure of the regex formulas under the Relational Algebra. We investigate the computational complexity of querying text by aggregate functions, such as sum, average, and quantile, on top of regular document spanners. To this end, we formally define aggregate functions over regular document spanners and analyze the computational complexity of exact and approximate computation. More precisely, we show that in a restricted case, all studied aggregate functions can be computed in polynomial time. In general, however, even though exact computation is intractable, some aggregates can still be approximated with fully polynomial-time randomized approximation schemes (FPRAS).

链接与引用

DOI 原文 ·

BibTeX
@article{paperbot2198,
  title = {The Complexity of Aggregates over Extractions by Regular Expressions},
  author = {Johannes Doleschal and Benny Kimelfeld and Wim Martens},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 19, Issue 3},
  year = {2023},
  doi = {10.46298/lmcs-19(3:12)2023}
}