Space-efficient conversions from SLPs
Travis Gagie, Adri\'an Goga, Artur Je\.z, Gonzalo Navarro

TL;DR
This paper introduces space-efficient algorithms for converting straight-line programs into Lempel-Ziv parses and locally consistent grammars, optimizing for space and time complexity.
Contribution
It presents novel algorithms that efficiently convert SLPs into LZ parses and optimal size grammars using minimal space and improved time bounds.
Findings
LZ parse construction in $O(g)$ space and $O(n ext{log}^2 n)$ time.
Construction of an optimal size locally consistent grammar in $O(g+g_{lc})$ space and $O(n ext{log} g)$ time.
Conversion from locally consistent grammar to LZ parse in $O(g_{lc})$ space and $O(z ext{log}^2 n ext{log}^2(n/z))$ time.
Abstract
We give algorithms that, given a straight-line program (SLP) with rules that generates (only) a text , builds within space the Lempel-Ziv (LZ) parse of (of phrases) in time or in time . We also show how to build a locally consistent grammar (LCG) of optimal size from the SLP within space and in time, where is the substring complexity measure of . Finally, we show how to build the LZ parse of from such a LCG within space and in time . All our results hold with high probability.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Natural Language Processing Techniques · semigroups and automata theory
