首页> 外文会议>China Academic Conference on Printing and Packaging >Research on Chinese Natural Language Query Interface to Database Based on Syntax and Semantic
【24h】

Research on Chinese Natural Language Query Interface to Database Based on Syntax and Semantic

机译:基于语法和语义的中文自然语言查询界面研究

获取原文

摘要

The query of database must rely on professional query language, which is difficult to grasp for ordinary users. Natural language query interface (NLQI) can be applied to solve this problem with better human-computer interaction and intelligence. However, current natural language understanding technology is not mature. Though the query sentences' structure is fixed, it is also difficult to accurately convert query sentences into understandable database query language for computer. Therefore a method of designing NLQI based on syntax and semantic analysis is proposed in this paper. First of all, Maximum forward and maximum reverse matching algorithms are used to analyse sentence by part of speech (POS) template, which is able to demonstrate the syntax relationship among the words. After syntax analysis, query conditions and targets are identified. Then, single conditions and targets are analyzed to relative standard forms by the relationship among entity, property, connect verb and unit. At last, these standard forms are transformed to SQL sentence. Regarding printing ERP system as experimental subject, experiment is done in this paper. The result shows that the method proposed in this paper can meet the needs of natural language query, and has a good transform effect for combination, omitting and other complex sentences.
机译:数据库的查询必须依赖于专业的查询语言,这很难掌握普通用户。可以应用自然语言查询接口(NLQI)以解决更好的人机交互和智能来解决这个问题。然而,目前的自然语言理解技术并不成熟。虽然查询句子结构是固定的,但也难以将查询句子准确转换为可理解的数据库查询语言。因此,本文提出了一种基于语法和语义分析设计NLQI的方法。首先,最大向前和最大反向匹配算法用于通过部分语音(POS)模板来分析句子,这能够展示单词之间的语法关系。在语法分析之后,识别出查询条件和目标。然后,通过实体,属性,连接动词和单元之间的关系分析单个条件和目标。最后,这些标准表单转换为SQL句子。关于印刷ERP系统作为实验对象,本文进行了实验。结果表明,本文提出的方法可以满足自然语言查询的需求,并具有良好的变换效果,组合,省略和其他复杂的句子。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号