尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。
Tokenization (also known as scanning or lexing) is a computational task that has applications in the lexical analysis of programs during compilation and in data extraction and analysis for unstructured or semistructured data (e.g., data represented using the JSON and CSV data formats). We propose two algorithms for the tokenization problem that have linear time complexity (in the length of the input text) without using large amounts of memory. We also show that an optimized version of one of these algorithms performs well compared to prior approaches on practical tokenization workloads.
DOI 原文 ·
@article{paperbot3163,
title = {Efficient Algorithms for the Uniform Tokenization Problem},
author = {Angela W. Li and Konstantinos Mamouras},
journal = {Proceedings of the ACM on Programming Languages},
volume = {9},
number = {OOPSLA1},
year = {2025},
doi = {10.1145/3720498}
}