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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
A.V. Aho and J.D. Ullman. The Theory of Parsing Translation and Compiling. Prentice Hall, 1972. 42
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
E. Charniak. Statistical Language Learning. MIT Press, Cambridge, Massachusetts, 1993. 42
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
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
Y. Futamura, K. Nogi, and A. Takano. Essence of generalized partial computation. Theoretical Computer Science, 90:61–79, 1991. 42
A. Gibbons and W. Rytter. Efficient Parallel Algorithms. Cambridge University Press, 1988. 42
N. D. Jones, C. K. Gomard, and P. Sestoft. Partial Evaluation and Automatic Program Generation. Prentice Hall, 1993. 41
S.R. Kosaraju. Speed of recognition of context-free languages by array automata. SIAM J. on Computers, 4:331–340, 1975. 42
J. C. Martin. Introduction to languages and the theory of computation (2nd Edition). Mac-Graw Hill, 1996. 42
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
M.P. van Lohuizen. Survey on parallel context-free parsing techniques. Technical Report IMPACT-NLI-1997-1, Delft University of Technology, 1997. 42
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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