Skip to main content

Building PMCFG Parsers as Datalog Program Transformations

  • Conference paper
Logical Aspects of Computational Linguistics (LACL 2014)

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

  • 594 Accesses

Abstract

Kanazawa [6,7] proposes to view recognition algorithms for Multiple Context-Free Grammars (MCFGs) as Datalog program transformations. He illustrates this view by transforming a Datalog program implementing CYK recognizers for MCFGs into programs that implement prefix-correct recognizers for MCFGs. We enhance his results in three different directions: (i) we present an extension of Datalog so as to build parsers instead of recognizers; (ii) we adapt his program transformations to extended Datalog programs that construct prefix-correct parsers for Parallel Multiple Context-Free Grammars (PMCFGs); (iii) we propose another program transformation for extended Datalog programs that produces left-corner parsers for PMCFGs.

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. Angelov, K.: Incremental parsing with parallel multiple context-free grammars. In: EACL, pp. 69–76 (2009)

    Google Scholar 

  2. Boullier, P.: Range concatenation grammars. In: Proceedings of the Sixth International Workshop on Parsing Technologies, pp. 53–64 (February 2000)

    Google Scholar 

  3. Colmerauer, A.: Metamorphosis grammars. In: Bolc, L. (ed.) Natural Language Communication with Computers. LNCS, vol. 63, pp. 133–188. Springer, Heidelberg (1978)

    Chapter  Google Scholar 

  4. Demers, A.J.: Generalized left corner parsing. In: Proceedings of the 4th ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages, pp. 170–182. ACM, New York (1977), http://doi.acm.org/10.1145/512950.512966

    Google Scholar 

  5. Earley, J.: An efficient context-free parsing algorithm. Commun. ACM 13(2), 94–102 (1970)

    Article  MATH  Google Scholar 

  6. Kanazawa, M.: Parsing and generation as Datalog queries. In: Proceedings of the 45th Annual Meeting of the Association for Computational Linguistics, pp. 176–183. Association for Computational Linguistics, Prague (2007)

    Google Scholar 

  7. Kanazawa, M.: A prefix-correct Earley recognizer for multiple context-free grammars. In: TAG+9, Proceedings of the Ninth International Workshop on Tree Adjoining Grammars and Related Frameworks, Tubingen, Germany (June 2008)

    Google Scholar 

  8. Kanazawa, M.: Parsing and generation as Datalog query evaluation (2012) (under review), http://research.nii.ac.jp/~kanazawa/publications/pagadqe.pdf

  9. Kobele, G.M.: Generating Copies: An investigation into structural identity in language and grammar. Ph.D. thesis, UCLA (2006)

    Google Scholar 

  10. Ljunglöf, P.: Expressivity and complexity of the Grammatical Framework. Citeseer (2004)

    Google Scholar 

  11. Ljunglöf, P.: A polynomial time extension of parallel multiple context-free grammar. In: Blache, P., Stabler, E.P., Busquets, J.V., Moot, R. (eds.) LACL 2005. LNCS (LNAI), vol. 3492, pp. 177–188. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  12. Ljunglöf, P.: Practical parsing of parallel multiple context-free grammars. In: TAG+11, 11th International Workshop on Tree Adjoining Grammar and Related Formalisms, Paris, France (2012)

    Google Scholar 

  13. Michaelis, J., Kracht, M.: Semilinearity as a syntactic invariant. In: Retoré, C. (ed.) LACL 1996. LNCS (LNAI), vol. 1328, pp. 329–345. Springer, Heidelberg (1997)

    Chapter  Google Scholar 

  14. Nederhof, M.J.: Generalized left-corner parsing. In: Sixth Conference of the European Chapter of the Association for Computational Linguistics, Proceedings of the Conference, pp. 305–314 (1993)

    Google Scholar 

  15. Pereira, F.C., Shieber, S.M.: Prolog and Natural-Language Analysis. CSLI Lecture Notes Series, vol. 10. Center for the Study of Language and Information (1987), http://mtome.com/Publications/PNLA/pnla.html

  16. Seki, H., Matsamura, T., Mamoru, F., Kasami, T.: On multiple context-free grammars. Theoretical Computer Science 88(2), 191–229 (1991)

    Article  MATH  MathSciNet  Google Scholar 

  17. Shieber, S.: Evidence against the context-freeness of natural language. Linguistics and Philosophy 8, 333–343 (1985), http://dx.doi.org/10.1007/BF00630917

    Article  Google Scholar 

  18. Sikkel, K.: Parsing schemata - a framework for specification and analysis of parsing algorithms. Springer (1997)

    Google Scholar 

  19. Ullman, J.D.: Bottom-up beats top-down for datalog. In: Proceedings of the Eighth ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems, pp. 140–149. ACM (1989)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ball, A., Bourreau, P., Kien, É., Salvati, S. (2014). Building PMCFG Parsers as Datalog Program Transformations. In: Asher, N., Soloviev, S. (eds) Logical Aspects of Computational Linguistics. LACL 2014. Lecture Notes in Computer Science, vol 8535. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-43742-1_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-43742-1_1

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-662-43741-4

  • Online ISBN: 978-3-662-43742-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics