Syntactic Analysis and Syntax-directed Translation Based on Extended Relational Model
- Author
- ZhangLei
- Advisor
- LiRui
- School
- Dalian Jiaotong University
- Major
- Applied Computer Technology
- Classification
- H043 Syntax
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 8
- Citations
- 0
Abstract
Syntactic analysis is an essential ingredient for for syntactic pattern recognition and algebraic dynamic programming. Currently, these applications arc typically supported by application-level code that uses the underlying database as a dumb data store.In this paper, we discuss a method for implementing parsing algorithm as standard relational queries on an relational database management system. In this framework, each set of partial derivation trees is represented as a relation in the relational database. Partial derivation tree operations are represented as extended relational operators. An parsing algorithm can be expressed as a recursive query. We construct a new Earley parsing system based on the extended relational data model. Finally, we present our prototype implementation that demonstrates the feasibility of parsing using our system.Naturally, all query optimization techniques can be directly applied to processing this query. Thus, these transformations allow us to take full advantage of the query optimizer and other performance enhancement capabilities available in traditional relational databases.Syntactic analysis algorithms can be natively supported by a database system. Thus, we are spared the arduous task of designing and implementing our own syntactic analysis system and the associated costs. The framework provides a unified approach for other related chart parsing algorithms.This method is extended to syntax-directed translation of synthesized attributes.And we have evaluated our algorithm on an expression evaluation calculator problem, a simple semantic analysis problem, to demonstrates the feasibility of our system.
Related dissertations
- The Effectiveness of Technical Analysis of the Stock Market in China
- The Research of Fall Detection Based on Mobile Terminal
- Research and Achieve of Key Technology in Smart Fiber Sensing Terminal
- The Research of Odor Electronic Nose Information Processing Technology
- A Pattern Recognition Method in M-Z Fiber Distributed Disturbance Sensing System
- Fusion Technique of Electronic Nose and Electronic Tongue and Its Application
- Lung Nodules Detection System Based on Massive Training Artificial Neural Network
- Research on Captcha Recognition Technology with Hidden Markov Model
- A Research on CAPTCHA Recognition Based on Self-organizing Map
- Brand Recognition in Natural Scence
- Research on Feature Selection Algorithm Based on Information Theory
- Study on Common Shellfish Feature Recognition Technology
- The Feature Extraction and Recognition of Facial Expression
- Perceptually Important Points-based Futures Time Series Pattern Recognition and Its Application Research
- Research and Implementation of Container Codes Recognition Technology
- The Glass Surface Defect Online Detection System Development
- Research on the Pattern Recognition System of Egg Embryo Based on Support Vector Machine
- System for Duck-egg Shell Crack Detection Based on Machine Vision
- The Study of Graph Matching Based on Graph Kernels and the Application in Architectural Space
- Emotion Recognition Based on3D Human Motion Data