首页 | 本学科首页   官方微博 | 高级检索  
     

自然语言向SQL代码的转化方法
引用本文:杨鹤标,陈力.自然语言向SQL代码的转化方法[J].计算机工程,2011,37(23):72-74.
作者姓名:杨鹤标  陈力
作者单位:江苏大学计算机科学与通信工程学院,江苏镇江,212013
基金项目:国家"863"计划基金资助项目
摘    要:为解决智能学习系统查询语言的转化问题,提出一种自然语言向SQL代码转化的方法。利用所建立的字典扫描单词和理解语义,采用改进后的单词提取技术扫描自然语言串,以生成语义依赖树,并将其语义关系划分为若干独立的集合块,通过对该集合块遍历生成与自然语言等价的SQL代码。实验结果表明,该转化方法简单有效。

关 键 词:自然语言处理  中文分词  语义依赖树  中文查询数据库  智能学习系统
收稿时间:2011-06-29

Transforming Method for Natural Language to SQL Code
YANG He-biao,CHEN Li.Transforming Method for Natural Language to SQL Code[J].Computer Engineering,2011,37(23):72-74.
Authors:YANG He-biao  CHEN Li
Affiliation:(School of Computer Science and Telecommunication Engineering,Jiangsu University,Zhenjiang 212013,China)
Abstract:To solve the problem of generate SQL code automatically in an intelligent study system,this paper proposes a method to transform natural language to SQL code.This paper builds a dictionary as the base of scanning and comprehension of natural language,uses the improved word collecting technique to distinguish the words and build a semantic dependency-tree,uses the set-block technology to separate the tree to several set blocks,and scans the set blocks and generate the SQL code.Experimental results show that this method simple and effective.
Keywords:natural language processing  Chinese word segmentation  semantics dependency tree  Chinese query database  intelligence learning system
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号