JOURNAL ARTICLE

Almost-optimal fully LZW-compressed pattern matching

Abstract

Given two strings: pattern P and text T of lengths |P|=M and |T|=N, a string matching problem is to find all occurrences of pattern P in text T. A fully compressed string matching problem is the string matching problem with input strings P and T given in compressed forms p and t respectively, where |p|=m and |t|=n. We present first, almost-optimal, string matching algorithms for LZW-compressed strings running in: (1) O((n+m)log(n+m)) time on a single processor machine; and (2) O/sup /spl tilde//(n+m) work on a (n+m)-processor PRAM. The techniques used can be used in design of efficient algorithms for a wide range of the most typical string problems, in the compressed LZW setting, including: computing a period of a word, finding repetitions, symmetries, counting subwords, and multi-pattern matching.

Keywords:
String searching algorithm String (physics) Pattern matching Approximate string matching Matching (statistics) Word (group theory) Combinatorics Commentz-Walter algorithm Computer science Algorithm Mathematics Discrete mathematics Artificial intelligence Geometry Statistics

Metrics

40
Cited By
2.81
FWCI (Field Weighted Citation Impact)
27
Refs
0.92
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Algorithms and Data Compression
Physical Sciences →  Computer Science →  Artificial Intelligence
Natural Language Processing Techniques
Physical Sciences →  Computer Science →  Artificial Intelligence
Network Packet Processing and Optimization
Physical Sciences →  Computer Science →  Hardware and Architecture

Related Documents

JOURNAL ARTICLE

Optimal Pattern Matching in LZW Compressed Strings

Paweł Gawrychowski

Journal:   ACM Transactions on Algorithms Year: 2013 Vol: 9 (3)Pages: 1-17
JOURNAL ARTICLE

LZW based compressed pattern matching

Tao TaoAmar Mukherjee

Year: 2004 Pages: 568-568
JOURNAL ARTICLE

Pattern Matching in LZW Compressed Files

Tao TaoAnupam Mukherjee

Journal:   IEEE Transactions on Computers Year: 2005 Vol: 54 (8)Pages: 929-938
JOURNAL ARTICLE

Multiple-pattern matching for LZW compressed files

Tao TaoAmar Mukherjee

Year: 2005 Vol: 1645 Pages: 91-96 Vol. 1
© 2026 ScienceGate Book Chapters — All rights reserved.