Skip to main content

Extracting Minimum Length Document Type Definitions Is NP-Hard

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 3264))

Abstract

XML (eXtensible Markup Language) is becoming more and more popular. Since not all XML documents come with a (proper) accompanying Document Type Descriptors (DTD), it is a challenge to find “good” DTDs automatically. Note that many optimization procedures rely on being given a well-fitting DTD to work properly.

M. Garofalakis et al. have developed XTRACT, a system for extracting Document Type Descriptors (DTD) from XML documents. This system may actually integrate many of the other proposals as kind of subroutines, since it finally tries to find the “best” DTD out of those proposals. Due to the connections to regular expression (inference), see [1,2], any good inference algorithm for regular expressions can hence be incorporated. Observe that the regular expressions which are generated by first using learning algorithms designed for deterministic finite automata and then turning these automata into regular expressions by “textbook algorithms” (as proposed in [2]) tend to produce expressions which are rather “unreadable” from a human perspective. In the envisaged application – the extraction of DTDs – this is particularly bad, since those DTDs are meant to be read and understood by humans. This is one of the reasons why the Grammatical Inference community should get interested in MDL approaches to learning as proposed with the XTRACT project.

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

Buying options

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

Learn about institutional subscriptions

References

  1. Berstel, J., Boasson, L.: XML grammars. Acta Informatica 38, 649–671 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  2. Fernau, H.: Learning XML grammars. In: Perner, P. (ed.) MLDM 2001. LNCS (LNAI), vol. 2123, pp. 73–87. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  3. Garofalakis, M., Gionis, A., Rastogi, R., Seshadri, S., Shim, K.: XTRACT: learning document type descriptors from XML document collections. Data Mining and Knowledge Discovery 7, 23–56 (2003)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Fernau, H. (2004). Extracting Minimum Length Document Type Definitions Is NP-Hard. In: Paliouras, G., Sakakibara, Y. (eds) Grammatical Inference: Algorithms and Applications. ICGI 2004. Lecture Notes in Computer Science(), vol 3264. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30195-0_26

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-30195-0_26

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-23410-4

  • Online ISBN: 978-3-540-30195-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics