跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 形式语言与自动机理论

arXiv:2201.00549 (cs)
[提交于 2022年5月17日 (v1),最后修订于 2022年5月17日 (此版本, v2)]

标题:Efficient Enumeration Algorithms for Annotated Grammars

作者:Antoine Amarilli, Louis Jachiet, Martín Muñoz, Cristian Riveros
查看论文《Efficient Enumeration Algorithms for Annotated Grammars》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We introduce annotated grammars, an extension of context-free grammars which allows annotations on terminals. Our model extends the standard notion of regular spanners, and is more expressive than the extraction grammars recently introduced by Peterfreund. We study the enumeration problem for annotated grammars: fixing a grammar, and given a string as input, enumerate all annotations of the string that form a word derivable from the grammar. Our first result is an algorithm for unambiguous annotated grammars, which preprocesses the input string in cubic time and enumerates all annotations with output-linear delay. This improves over Peterfreund's result, which needs quintic time preprocessing to achieve this delay bound. We then study how we can reduce the preprocessing time while keeping the same delay bound, by making additional assumptions on the grammar. Specifically, we present a class of grammars which only have one derivation shape for all outputs, for which we can enumerate with quadratic time preprocessing. We also give classes that generalize regular spanners for which linear time preprocessing suffices.
评论: 54 pages. Full version with proofs of the article to appear at PODS'22. Except formatting and minor differences, this article contains all the contents of the PODS'22 article, plus the technical appendices
主题: 形式语言与自动机理论 (cs.FL); 数据结构与算法 (cs.DS)
引用方式: arXiv:2201.00549 [cs.FL]
  (或者 arXiv:2201.00549v2 [cs.FL] 对于此版本)
  https://doi.org/10.48550/arXiv.2201.00549
相关 DOI: https://doi.org/10.1145/3517804.3526232

提交历史

来自:Antoine Amarilli
[v2] 2022年5月17日 星期二 16:00:55 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.FL
< 上一篇   |   下一篇 >
最新 | 近期 | 2022-05
切换浏览方式为:
cs
cs.DS

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站