Approximation of Grammar-Based Compression via Recompression
From MaRDI portal
Abstract: In this paper we present a simple linear-time algorithm constructing a context-free grammar of size O(g log(N/g)) for the input string, where N is the size of the input string and g the size of the optimal grammar generating this string. The algorithm works for arbitrary size alphabets, but the running time is linear assuming that the alphabet Sigma of the input string can be identified with numbers from {1, ..., N^c} for some constant c. Otherwise, additional cost of O(n log|Sigma|) is needed. Algorithms with such approximation guarantees and running time are known, the novelty of this paper is a particular simplicity of the algorithm as well as the analysis of the algorithm, which uses a general technique of recompression recently introduced by the author. Furthermore, contrary to the previous results, this work does not use the LZ representation of the input string in the construction, nor in the analysis.
Recommendations
- Approximation of grammar-based compression via recompression
- scientific article; zbMATH DE number 2119662
- A fully linear-time approximation algorithm for grammar-based compression
- A fully linear-time approximation algorithm for grammar-based compression
- scientific article; zbMATH DE number 2087040
- A space-optimal grammar compression
- On the complexity of grammar-based compression over fixed alphabets
- Application of Lempel-Ziv factorization to the approximation of grammar-based compression.
- String Processing and Information Retrieval
- Grammar-Based Compression in a Streaming Model
Cited in
(24)- Application of Lempel-Ziv factorization to the approximation of grammar-based compression.
- An online algorithm for lightweight grammar-based compression
- A fully linear-time approximation algorithm for grammar-based compression
- One-variable word equations in linear time
- Approximation of smallest linear tree grammar
- Approximation of smallest linear tree grammar
- Grammar-Based Tree Compression
- A fully linear-time approximation algorithm for grammar-based compression
- Grammar-Based Compression in a Streaming Model
- Quasi-distinct Parsing and Optimal Compression Methods
- Straight-line programs: a practical test (extended abstract)
- scientific article; zbMATH DE number 2087040 (Why is no real title available?)
- scientific article; zbMATH DE number 2119662 (Why is no real title available?)
- Approximation of grammar-based compression via recompression
- A space-optimal grammar compression
- Lyndon factorization of grammar compressed texts revisited
- A really simple approximation of smallest grammar
- String Processing and Information Retrieval
- Automata, Languages and Programming
- Compressibility of Finite Languages by Grammars
- Reducing Simple Grammars: Exponential Against Highly-Polynomial Time in Practice
- Linear-time off-line text compression by longest-first substitution.
- Approximation ratios of \textsf{RePair}, \textsf{LongestMatch} and \textsf{Greedy} on unary strings
- A \textit{really} simple approximation of smallest grammar
This page was built for publication: Approximation of Grammar-Based Compression via Recompression
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4928570)