arrow
返回

XML tree structure compression using RePair

delete2013-11-01
delete49
PRE
AI
M
Markus Lohrey
S
Sebastian Maneth *
R
Roy Mennicke
DOI:10.1016/j.is.2013.06.006delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

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

期刊

Enterprise Information Systems 封面图
Enterprise Information Systems
IF:
3.9
论文数:
2.8K
被引数:
1.8K

机构

L
Leipzig University
学者数:
2.0W
论文数: 1.6W
被引数: 17
T
Technische Universitat Ilmenau
学者数:
2.4K
论文数: 2.0K
被引数: 20
U
university of oxford
学者数:
9.8W
论文数: 8.6W
被引数: 137
学者 查看更多机构
引用论文

引用论文

Effect of CuO as Sintering Additive in Scandium Cerium and Gadolinium-Doped Zirconia-Based Solid Oxide Electrolysis Cell for Steam Electrolysis
err2019-11-21
err0
errOAAI
errR. Visvanichkul; S. Peng-Ont; W. Ngampuengpis; N. Sirimungkalakul; P. Puengjinda; T. Jiwanuruk; T. Sornchamni; P. Kim-Lohsoontorn
err分享
err收藏
err分享
err收藏
Computing at the Edge Cloud: Performance Analysis of an Image Comparison Web Service
err2018-07-01
err0
PREAI
errAbdullah Al Amin; Shaokat Hossain; Mahtab Uddin; Nasif Muslim; Salekul Islam; Jean-Charles Gregoire
err分享
err收藏
Using structural contexts to compress semistructured text collections
err2007-05-01
err13
errOAAI
errAdiego, Joaquin; Navarro, Gonzalo; de la Fuente, Pablo
err分享
err收藏
学者 查看更多内容