Skip to main content

Fast pattern matching for entropy bounded text

Publication ,  Journal Article
Chen, S; Reif, JH
Published in: Data Compression Conference Proceedings
January 1, 1995

We present the first known case of one-dimensional and two-dimensional string matching algorithms for text with bounded entropy. Let n be the length of the text and m be the length of the pattern. We show that the expected complexity of the algorithms is related to the entropy of the text for various assumptions of the distribution of the pattern. For the case of uniformly distributed patterns, our one dimensional matching algorithm works in O(n log m/(pm)) expected running time where H is the entropy of the text and p = 1-(1-H2)H/(1+H). The worst case running time T can also be bounded by n log m/p(m+√V)≤T≤n log m/p(m-√V) if V is the variance of the source from which the pattern is generated. Our algorithm utilizes data structures and probabilistic analysis techniques that are found in certain lossless data compression schemes.

Duke Scholars

Published In

Data Compression Conference Proceedings

ISSN

1068-0314

Publication Date

January 1, 1995

Start / End Page

282 / 291
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Chen, S., & Reif, J. H. (1995). Fast pattern matching for entropy bounded text. Data Compression Conference Proceedings, 282–291.
Chen, S., and J. H. Reif. “Fast pattern matching for entropy bounded text.” Data Compression Conference Proceedings, January 1, 1995, 282–91.
Chen S, Reif JH. Fast pattern matching for entropy bounded text. Data Compression Conference Proceedings. 1995 Jan 1;282–91.
Chen, S., and J. H. Reif. “Fast pattern matching for entropy bounded text.” Data Compression Conference Proceedings, Jan. 1995, pp. 282–91.
Chen S, Reif JH. Fast pattern matching for entropy bounded text. Data Compression Conference Proceedings. 1995 Jan 1;282–291.

Published In

Data Compression Conference Proceedings

ISSN

1068-0314

Publication Date

January 1, 1995

Start / End Page

282 / 291