计算机工程与应用 ›› 2013, Vol. 49 ›› Issue (16): 30-34.

• 理论研究、研发设计 • 上一篇    下一篇

OKQA:一个基于本体的软件开发知识QA工具

宋怀达1,2,李  萌1,2,赵俊峰1,2,金  靖1,2,谢  冰1,2   

  1. 1.北京大学 信息科学技术学院,北京 100871
    2.北京大学 高可信软件技术教育部重点实验室,北京 100871
  • 出版日期:2013-08-15 发布日期:2013-08-15

OKQA:Ontology based software development Knowledge Question Answering tool

SONG Huaida1,2, LI Meng1,2, ZHAO Junfeng1,2, JIN Jing1,2, XIE Bing1,2   

  1. 1.Software Institute, School of Electronics Engineering and Computer Science, Peking University, Beijing 100871, China
    2.Key Laboratory of High Confidence Software Technologies, Ministry of Education, Beijing 100871, China
  • Online:2013-08-15 Published:2013-08-15

摘要: 近年来,软件开发模式逐渐从经验驱动的手工构造模式到知识驱动的自动生成模式进行转换,而在知识驱动的软件开发过程中,QA工具可以帮助开发人员更好地理解项目源代码。一般的,开发人员往往需要阅读大量文档、并对软件项目代码进行静态分析,利用某种形式化的查询方法才能获取软件项目的相关信息,这增加了软件开发的时间成本和学习成本。基于该问题,实现了一个基于本体的软件开发知识QA工具OKQA,OKQA可以支持开发人员的自然语言查询输入,帮助开发人员找到理解软件代码的相关答案,从而有效地指导开发人员理解及复用软件代码。

关键词: 知识驱动, 本体, 软件开发, QA工具

Abstract: In recent years, software development pattern has gradually transformed from experience-driven to knowledge-driven. While in the process of knowledge-driven software development, Q&A tool can help developers understand source code much better. Generally, developers have to use static code analysis method to parse the project and use some specific query language to get some useful information. It is time consuming and learning cost is high. An Ontology based software development Knowledge Question Answering tool(OKQA) is implemented; OKQA supports natural language queries comprehension and helps developers to get through to the project more intuitively so as to make software development more easily and effectively.

Key words: knowledge driven, ontology, software development, question answering