摘要本文给出了一个基于ER模型和受限汉语的关系数据库汉语查询语言的计算模型RChiQL(Restrictive Chinese Query Language)及其实现方案,系统模拟人脑对语言处理的并行机制,将中文查询句的处理分为四个相互依存、相互交织的步骤(词的切分,文法分析,语义分析和SQL转换) ,其中引入了一种新的文法GWERSC(Grammar with ER Semantic Characteristics ,ER语义特征文法) ,其内嵌的ER模型语义既有利于语法分析又简化了语义分析,取得了很好的效果。
Abstract:A computational model of ER-model-based restrictive-Chinese query language of relational database is put forward which simulates the langguage process mechanism of human and the process of communicating in natural language is divided into four mutually dependant and interlaced steps : word segmentation , parsing , semantic processing and SQL transformation. A new grammar ,GWERSC(Grammar with ER Semantic Characteristics) is introduced ,which could contribute to syntactic parsing and simplify semantic understanding with the help of its embedded ER model.