基于关系代数的语法—语义分析单元设计
[Abstract]:Syntactic analysis is one of the important components of structural pattern recognition system. Traditionally, however, syntactic parsing units are implemented by writing specific procedural language codes. When the scale of grammar recognition in application field is very large, it is not easy to write a program that can recognize samples quickly. This paper attempts to integrate the syntactic parsing algorithm with the relational algebra model, and make use of the characteristics of the relational database system to organize and quickly retrieve the massive data, so as to enhance the ability of the syntactic analysis unit to deal with complex grammar samples. At the same time reduce the user's coding burden. We gave Earley (?) The extended relational model of the algorithm is analyzed by the method. In this framework, any set of partial derivation trees can be represented as a relation in relational algebra, the operations between partial derivation trees can be represented as relational algebraic operations, and the syntax analysis algorithm can be represented as a recursive query statement. The operation process described by the procedure language has corresponding relations with the query of recursive query in three aspects: single operation, control structure and data structure. According to this framework, we present a new Earley syntax parsing relational algebra algorithm, and the realization of common table expression (CTE) and stored procedure. The feasibility of the method is verified by the prototype system. Attribute grammar has both the characteristics of decision theory and structural method, so it has been paid more and more attention in the field of pattern recognition. Therefore, this paper attempts to extend the relational algebraic approach to the semantic analysis of attribute grammars, and presents a Earley Synthetical attribute Grammar guidance Translation algorithm based on relational algebra. It is applied to a basic comprehensive attribute evaluation problem, the arithmetic expression evaluation problem. The algorithm can calculate the expression value while reading the result of the expression lexical analysis. The feasibility of the method is verified. These corresponding relations between Earley parsing algorithm and relational database are known, which can be fully or partially utilized in future algorithm design. The syntactic parsing problem is transformed into database query problem in whole or in part selectively, and the ability of syntactic analysis unit to deal with complex grammar samples is enhanced by using the advantage of relational database system to deal with massive data. In addition, with the help of the extended relational algebraic operation presented in this paper, it is easy to express the relationship between the parse items or partial derivation trees produced in the operation of the Earley parsing algorithm. Theoretically, because these corresponding relations are known, it is possible to draw inspiration from another domain for some problems in one domain by analogy. For example, by comparing the two, we can find the reason why the algorithms described in the procedure language are more efficient in some aspects than query execution. These are undoubtedly database query processing can be used for reference.
【学位授予单位】:大连交通大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:H043
【共引文献】
相关期刊论文 前10条
1 李用江,回雁雁;基于ADO.NET的海洋经济生物MIS系统[J];安阳师范学院学报;2004年05期
2 徐洁;许永昌;于亚娄;金卫东;;数据库技术在测井资料分析中的应用[J];吉林大学学报(地球科学版);2007年S1期
3 刘萌萌;;基于B/S、C/S的混合模式在网络数据库中的应用[J];成都信息工程学院学报;2006年02期
4 孙浩鹏;;基于SQL的高校科研管理平台[J];长春工程学院学报(自然科学版);2010年01期
5 向宏;唐旭;胡海波;鲁先志;李乐乐;;大量并发环境下的缓冲异步处理模型[J];重庆工学院学报(自然科学版);2009年01期
6 王建民;曹庆芳;金卫东;;岩石物理实验数据库网络系统的建立[J];测井技术;2006年03期
7 李长文;余春昊;周军;李国军;刘复屏;;测井处理解释一体化软件平台的设计[J];测井技术;2011年04期
8 王红艺;李冠峰;杨春蕾;普杰信;;实例教学在数据库原理教学中的应用[J];电脑知识与技术(学术交流);2007年05期
9 王木林;;基于关联规则数据挖掘技术在教学管理中的应用[J];电脑知识与技术(学术交流);2007年08期
10 张立;;数据库管理系统及其实现问题研究[J];电脑知识与技术;2010年16期
相关会议论文 前3条
1 殷旭;田英爱;;高校计算机专业数据库课程教学改革研究与探讨[A];着力提高高等教育质量,,努力增强高校创新与服务能力——北京市高等教育学会2007年学术年会论文集(上册)[C];2008年
2 吴秀娟;方爱平;;基于SQL Server的测绘仪器检定数据处理系统的VC++实现[A];2009年全国测绘仪器综合学术年会论文集[C];2009年
3 许世峰;高军;杨冬青;王腾蛟;;基于穿行次数的大规模图数据路径查询[A];第26届中国数据库学术会议论文集(A辑)[C];2009年
相关博士学位论文 前6条
1 于宝琴;成套电器企业异构数据整合及其物流系统的研究[D];天津大学;2006年
2 杨林;支持多模式的复合交通网络模型及关键技术研究[D];中国地质大学;2008年
3 赵春宇;高性能并行GIS中矢量空间数据存取与处理关键技术研究[D];武汉大学;2006年
4 向军;移动实时数据库系统服务质量管理[D];华中科技大学;2008年
5 胡茂胜;基于数据中心模式的分布式异构空间数据无缝集成技术研究[D];中国地质大学;2009年
6 戴露;煤矿地测数据的地理本体与网络服务研究[D];中国矿业大学;2010年
相关硕士学位论文 前10条
1 任萌;鲍店煤矿辅助运输信息管理系统设计与实现[D];山东科技大学;2010年
2 宋小波;基于Flex的内容管理系统(CMS)的设计与实现[D];湘潭大学;2010年
3 王强;高校综合人力资源管理系统的设计和实现[D];中国海洋大学;2010年
4 申冠楠;百货店库存管理信息系统的设计与实现[D];中国海洋大学;2010年
5 李秀雯;基于WebGIS的河南工业经济监测预警系统设计[D];河南工业大学;2010年
6 刘娟;基于.NET的小区物业管理系统的设计与实现[D];华东师范大学;2010年
7 胡建钧;浙江商职院网络评审系统的设计与实现[D];华东师范大学;2010年
8 陈洁敏;电子运维系统中作业管理模块的设计和实现[D];华南理工大学;2010年
9 吴东;网上人才信息管理系统[D];南昌大学;2010年
10 程岁岁;面向XML文档的细粒度访问控制研究及应用[D];东华大学;2011年
本文编号:2241788
本文链接:https://www.wllwen.com/wenyilunwen/hanyulw/2241788.html