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

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

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

arXiv:2209.10313 (cs)
[提交于 2022年9月21日]

标题:Generating Tokenizers with Flat Automata

作者:Hans de Nivelle, Dina Muktubayeva
查看论文《Generating Tokenizers with Flat Automata》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We introduce flat automata for automatic generation of tokenizers. Flat automata are a simple representation of standard finite automata. Using the flat representation, automata can be easily constructed, combined and printed. Due to the use of border functions, flat automata are more compact than standard automata in the case where intervals of characters are attached to transitions, and the standard algorithms on automata are simpler. We give the standard algorithms for tokenizer construction with automata, namely construction using regular operations, determinization, and minimization. We prove their correctness. The algorithms work with intervals of characters, but are not more complicated than their counterparts on single characters. It is easy to generate C++ code from the final deterministic automaton. All procedures have been implemented in C++ and are publicly available. The implementation has been used in applications and in teaching.
评论: In Proceedings GandALF 2022, arXiv:2209.09333. An implementation of flat automata can be found on: www.compiler-tools.eu
主题: 形式语言与自动机理论 (cs.FL)
引用方式: arXiv:2209.10313 [cs.FL]
  (或者 arXiv:2209.10313v1 [cs.FL] 对于此版本)
  https://doi.org/10.48550/arXiv.2209.10313
期刊参考: EPTCS 370, 2022, pp. 66-80
相关 DOI: https://doi.org/10.4204/EPTCS.370.5

提交历史

来自:EPTCS
[v1] 2022年9月21日 星期三 12:44:23 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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