Skip to main content

Accelerating the CKY Parsing Using FPGAs

  • Conference paper
  • First Online:
High Performance Computing — HiPC 2002 (HiPC 2002)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2552))

Included in the following conference series:

Abstract

The main contribution of this paper is to present an FPGAbased implementation of an instance-specific hardware which accelerates the CKY (Cook-Kasami-Younger) parsing for context-free grammars. Given a context-free grammar G and a string x, the CKY parsing determines if G derives x. We have developed a hardware generator that creates a Verilog HDL source to perform the CKY parsing for any given context-free grammar G. The created source is embedded in an FPGA using the design software provided by the FPGA vendor. We evaluated the instance-specific hardware, generated by our hardware generator, using a timing analyzer and tested it using the Altera FPGAs. The generated hardware attains a speed-up factor of approximately 750 over the software CKY parsing algorithm. Hence, we believe that our approach is a promising solution for the CKY parsing.

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 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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. A.V. Aho and J.D. Ullman. The Theory of Parsing Translation and Compiling. Prentice Hall, 1972. 42

    Google Scholar 

  2. J. Chang, O. Ibarra, and M. Palis. Parallel parsing on a one-way array of finitestate machines. IEEE Transactions on Computers, C-36(1):64–75, 1987. 42

    Article  Google Scholar 

  3. E. Charniak. Statistical Language Learning. MIT Press, Cambridge, Massachusetts, 1993. 42

    Google Scholar 

  4. C. Ciressan, E. Sanchez, M. Rajman, and J.-C. Chappelier. An FPGA-based coprocessor for the parsing of context-free grammars. In Proc. of IEEE Symposium on Field-Programmable Custom Computing Machines, 2000. 42

    Google Scholar 

  5. C. Ciressan, E. Sanchez, M. Rajman, and J.-C. Chappelier. An FPGA-based syntactic parser for real-life almost unrestricted context-free grammars. In Proc. of International Conference on Field Programmable Logic and Applications (FPL), pages 590–594, 2001. 42

    Google Scholar 

  6. Y. Futamura, K. Nogi, and A. Takano. Essence of generalized partial computation. Theoretical Computer Science, 90:61–79, 1991. 42

    Article  MATH  Google Scholar 

  7. A. Gibbons and W. Rytter. Efficient Parallel Algorithms. Cambridge University Press, 1988. 42

    Google Scholar 

  8. N. D. Jones, C. K. Gomard, and P. Sestoft. Partial Evaluation and Automatic Program Generation. Prentice Hall, 1993. 41

    Google Scholar 

  9. S.R. Kosaraju. Speed of recognition of context-free languages by array automata. SIAM J. on Computers, 4:331–340, 1975. 42

    Article  MATH  MathSciNet  Google Scholar 

  10. J. C. Martin. Introduction to languages and the theory of computation (2nd Edition). Mac-Graw Hill, 1996. 42

    Google Scholar 

  11. Y. Sakakibara, M. Brown, R. Hughey, I. S. Mian, K. Sjölander, R.C. Underwood, and D. Haussler. Stochastic context-free grammars for tRNA modeling. Nucleic Acids Research, 22:5112–5120, 1994. 42

    Article  Google Scholar 

  12. M.P. van Lohuizen. Survey on parallel context-free parsing techniques. Technical Report IMPACT-NLI-1997-1, Delft University of Technology, 1997. 42

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Bordim, J.L., Ito, Y., Nakano, K. (2002). Accelerating the CKY Parsing Using FPGAs. In: Sahni, S., Prasanna, V.K., Shukla, U. (eds) High Performance Computing — HiPC 2002. HiPC 2002. Lecture Notes in Computer Science, vol 2552. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-36265-7_5

Download citation

  • DOI: https://doi.org/10.1007/3-540-36265-7_5

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-00303-8

  • Online ISBN: 978-3-540-36265-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics