Pattern matching in Huffman encoded texts

  • Authors:
  • Shmuel T. Klein;Dana Shapira

  • Affiliations:
  • Department of Math. & CS, Bar Ilan University, Ramat-Gan 52900, Israel;Department of Computer Science, Brandeis University, Waltham, MA

  • Venue:
  • Information Processing and Management: an International Journal
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

For a given text which has been encoded by a static Huffman code, the possibility of locating a given pattern directly in the compressed text is investigated. The main problem is one of synchronization, as an occurrence of the encoded pattern in the encoded text does not necessarily correspond to an occurrence of the pattern in the text. A simple algorithm is suggested which reduces the number of erroneously declared matches. The probability of such false matches is analyzed and empirically tested.