Boyer-Moore string matching over Ziv-Lempel compressed text

被引:0
|
作者
Navarro, G [1 ]
Tarhio, J
机构
[1] Univ Chile, Dept Comp Sci, Santiago, Chile
[2] Univ Joensuu, Dept Comp Sci, FIN-80101 Joensuu, Finland
来源
COMBINATORIAL PATTERN MATCHING | 2000年 / 1848卷
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present a Boyer-Moore approach to string matching over LZ78 and LZW compressed text. The key idea is that, despite that we cannot exactly choose which text characters to inspect, we can still use the characters explicitly represented in those formats to shift the pattern in the text. We present a basic approach and more advanced ones. Despite that the theoretical average complexity does not improve because still all the symbols in the compressed text have to be scanned, we show experimentally that speedups of up to 30% over the fastest previous approaches are obtained. Moreover, we show that using an encoding method that sacrifices some compression ratio our method is twice as fast as decompressing plus searching using the best available algorithms.
引用
收藏
页码:166 / 180
页数:15
相关论文
共 50 条
  • [1] LZgrep: a Boyer-Moore string matching tool for Ziv-Lempel compressed text
    Navarro, G
    Tarhio, J
    SOFTWARE-PRACTICE & EXPERIENCE, 2005, 35 (12): : 1107 - 1130
  • [2] Approximate string matching over Ziv-Lempel compressed text
    Kärkkäinen, J
    Navarro, G
    Ukkonen, E
    COMBINATORIAL PATTERN MATCHING, 2000, 1848 : 195 - 209
  • [3] Practical and flexible pattern matching over Ziv-Lempel compressed text
    Navarro, Gonzalo
    Raffinot, Mathieu
    Journal of Discrete Algorithms, 2004, 2 (03) : 347 - 371
  • [4] Improved approximate string matching and regular expression matching on Ziv-Lempel compressed texts
    Bille, Philip
    Fagerberg, Rolf
    Gortz, Inge Li
    COMBINATORIAL PATTERN MATCHING, PROCEEDINGS, 2007, 4580 : 52 - +
  • [5] Improved Approximate String Matching and Regular Expression Matching on Ziv-Lempel Compressed Texts
    Bille, Philip
    Fagerberg, Rolf
    Gortz, Inge Li
    ACM TRANSACTIONS ON ALGORITHMS, 2009, 6 (01)
  • [6] APPROXIMATE BOYER-MOORE STRING MATCHING
    TARHIO, J
    UKKONEN, E
    SIAM JOURNAL ON COMPUTING, 1993, 22 (02) : 243 - 260
  • [7] BOYER-MOORE APPROACH TO APPROXIMATE STRING MATCHING
    TARHIO, J
    UKKONEN, E
    LECTURE NOTES IN COMPUTER SCIENCE, 1990, 447 : 348 - 359
  • [8] String Matching in Lempel—Ziv Compressed Strings
    M. Farach
    M. Thorup
    Algorithmica, 1998, 20 : 388 - 404
  • [9] A Boyer-Moore type algorithm for compressed pattern matching
    Shibata, Y
    Matsumoto, T
    Takeda, M
    Shinohara, A
    Arikawa, S
    COMBINATORIAL PATTERN MATCHING, 2000, 1848 : 181 - 194
  • [10] Approximate Boyer-Moore String Matching for Small Alphabets
    Leena Salmela
    Jorma Tarhio
    Petri Kalsi
    Algorithmica, 2010, 58 : 591 - 609