Skip to main content

Faster Text Fingerprinting

  • Conference paper
Book cover String Processing and Information Retrieval (SPIRE 2008)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 5280))

Included in the following conference series:

Abstract

Let s = s 1 .. s n be a text (or sequence) on a finite alphabet Σ. A fingerprint in s is the set of distinct characters contained in one of its substrings. Fingerprinting a text consists in computing the set \({\cal F}\) of all fingerprints of all its substrings. A fingerprint, \(f \in {\cal F}\), admits a number of maximal locations 〈i,j 〉 in S, that is the alphabet of s i .. s j is f and s i − 1, s j + 1, if defined, are not in f. The set of maximal locations is \({\cal L}, \; |{\cal L}| \leq n |\Sigma|.\) Two maximal locations 〈i,j 〉 and 〈k,l 〉 such that s i ..s j  = s k ..s l are named copies and the quotient of \({\cal L}\) according to the copy relation is named \({\cal L}_C\). The faster algorithm to compute all fingerprints in s runs in \(O(n+|{\cal L}|\log |\Sigma|)\) time. We present an \(O((n+|{\cal L}_C|)\log |\Sigma|)\) worst case time algorithm.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Amir, A., Apostolico, A., Landau, G.M., Satta, G.: Efficient text fingerprinting via parikh mapping. J. Discrete Algorithms 1(5-6), 409–421 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  2. Bergeron, A., Chauve, C., de Montgolfier, F., Raffinot, M.: Computing common intervals of k permutations, with applications to modular decomposition of graphs. In: Brodal, G.S., Leonardi, S. (eds.) ESA 2005. LNCS, vol. 3669, pp. 779–790. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  3. Didier, G.: Common intervals of two sequences. In: Benson, G., Page, R.D.M. (eds.) WABI 2003. LNCS (LNBI), vol. 2812, pp. 17–24. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  4. Didier, G., Schmidt, T., Stoye, J., Tsur, D.: Character sets of strings (submitted, 2004)

    Google Scholar 

  5. Heber, S., Stoye, J.: Finding all common intervals of k permutations. In: Amir, A., Landau, G.M. (eds.) CPM 2001. LNCS, vol. 2089, pp. 207–218. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  6. Karp, R.M., Miller, R.E., Rosenberg, A.L.: Rapid identification of repeated patterns in strings, trees and arrays. In: Proceedings of the 4th ACM Symposium on the Theory of Computing, Denver, CO, pp. 125–136. ACM Press, New York (1972)

    Google Scholar 

  7. Kolpakov, R., Raffinot, M.: New algorithms for text fingerprinting. In: Lewenstein, M., Valiente, G. (eds.) CPM 2006. LNCS, vol. 4009, pp. 342–353. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  8. Kolpakov, R., Raffinot, M.: New algorithms for text fingerprinting. Journal of Discrete Algorithms (to appear, 2006)

    Google Scholar 

  9. McCreight, E.M.: A space-economical suffix tree construction algorithm. Journal of Algorithms 23(2), 262–272 (1976)

    MathSciNet  MATH  Google Scholar 

  10. Ukkonen, E.: Constructing suffix trees on-line in linear time. In: van Leeuwen, J. (ed.) Proceedings of the 12th IFIP World Computer Congress, Madrid, Spain, pp. 484–492. North-Holland, Amsterdam (1992)

    Google Scholar 

  11. Weiner, P.: Linear pattern matching algorithm. In: Proceedings of the 14th Annual IEEE Symposium on Switching and Automata Theory, Washington, DC, pp. 1–11 (1973)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Kolpakov, R., Raffinot, M. (2008). Faster Text Fingerprinting. In: Amir, A., Turpin, A., Moffat, A. (eds) String Processing and Information Retrieval. SPIRE 2008. Lecture Notes in Computer Science, vol 5280. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-89097-3_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-89097-3_4

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-89096-6

  • Online ISBN: 978-3-540-89097-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics