摘要
本文探讨了为数据库查询提供自然语言接口的可能性 ,给出了查询流程、基于状态转换图的词法分析和语法分析方法、将疑问句转换成SQL查询语句的方法以及由查询结果生成回答句的方法。
This paper investigates the possibility to provide a natural language interface to database query. First, we give the flow diagram for database query. Then, we introduce a method to analyze morphology and syntax, which is based on the state transformation graph. Finally, we propose a method to transform interrogative sentences into SQL query statements and a method to generate answer sentences from query results.
出处
《计算机工程与科学》
CSCD
2005年第1期36-37,76,共3页
Computer Engineering & Science
基金
国家自然科学基金资助项目 (6 0 3730 2 3)