摘要
数据库查询是通过SQL实现的 ,而作为非专业用户是很难掌握SQL ,为了实现自然语言数据库查询以改善人机交互的容易程度 ,必须实现将自然语言问句转换成数据库查询语言 (SQL)以实现数据库查询 .介绍了实现自然语言数据库查询接口总体结构 ,并以房产领域为例 ,详细介绍了自然语言问句分析、问句形式化分析、中介查询语言的生成及SQL的转换算法等实现过程 .实验测试证明
Database query is implemented by SQL (Structrued Query Language) in general. Yet it is difficult to master SQL for the general users. In order to improve the flexibility of man-machine interface, database query using natural language is involved. Question sentences must be transformed into SQL of database in the transaction. The interface architecture of the database query using naturual language is introduced. And then the process including sentence analysis of natural language, formalization analysis of query sentence, generation of middle query language and algorithm of SQL transformation is introduced in detail by taking the domain of the house as an example. This query interface is proved better performance in restricted domain by the experiments.
出处
《昆明理工大学学报(理工版)》
2004年第4期133-138,共6页
Journal of Kunming University of Science and Technology(Natural Science Edition)
基金
云南省信息技术基金项目资助 (项目编号 :2 0 0 2IT0 3)