返回
XML tree structure compression using RePair
DOI:10.1016/j.is.2013.06.006.png)
摘要
En 中文
XML tree structures can conveniently be represented using ordered unranked trees. Due to the repetitiveness of XML markup these trees can be compressed effectively using dictionary-based methods, such as minimal directed acyclic graphs (DAGs) or straight-line context-free (SLCF) tree grammars. While minimal SLCF tree grammars are in general smaller than minimal DAGs, they cannot be computed in polynomial time unless P = NP. Here, we present a new linear time algorithm for computing small SLCF tree grammars, called TreeRePair, and show that it greatly outperforms the best known previous algorithm BPLEX. TreeRePair is a generalization to trees of Larsson and Moffat's RePair string compression algorithm. SLCF tree grammars can be used as efficient memory representations of trees. Using TreeRePair, we are able to produce the smallest queryable memory representation of ordered trees that we are aware of. Our investigations over a large corpus of commonly used XML documents show that tree traversals over TreeRePair grammars are 14 times slower than over pointer structures and 5 times slower than over succinct trees, while memory consumption is only 1/43 and 1/6, respectively. With respect to file compression we are able to show that a Huffman-based coding of TreeRePair grammars gives compression ratios comparable to the best known XML file compressors. (C) 2013 Elsevier Ltd. All rights reserved.
Keyword:
XML
Tree structure compression
Memory representation
期刊
IF:
3.9
论文数:
2.8K
被引数:
1.8K
机构
引用论文
Effect of CuO as Sintering Additive in Scandium Cerium and Gadolinium-Doped Zirconia-Based Solid Oxide Electrolysis Cell for Steam Electrolysis
Processes
IF0
Chapter II: Toward a Theory of Standards-based Reform: The Case of Nine NSF Statewide Systemic Initiatives1第二章:迈向基于标准的改革理论:九个NSF全州系统性倡议1的案例
Television Journalism vs. Show Business: A Content Analysis of Eyewitness News电视新闻业与演艺界:对《Eyewitness News》的内容分析
Does Top-Down, Standards-Based Reform Work? A Review of the Status of Statewide Standards- Based Reform自上而下、基于标准的改革有效吗?——对全州范围内基于标准的改革现状的综述

