作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2004, Vol. 30 ›› Issue (23): 69-.

• 论文 • 上一篇    下一篇

基于语义与句法的Java类库检索方法与系统

叶青青,江水   

  1. 浙江大学计算机学院,华东计算技术研究所 杭州 310027
  • 发布日期:2004-12-15

Java Class Library Retrieval Method and System Based on Semantic and Syntactic

YE Qingqing1, JIANG Shui2   

  1. (1. Department of Computer Science and Technology, Zhejiang University, Hangzhou 310027; 2. East China Institute of Computer Technology, Shanghai 200233)
  • Published:2004-12-15

摘要: 提出了一个支持系统化、大规模软件复用的基于语义与句法的可复用模块的检索方法,并介绍了基于此方法支持Java类库的实用检索系统。软件开发者既可以使用自然语言直接描述待开发软件的功能语义并用此查询类库中的相关模块,也可以通过对输入输出数据类型的描述对Java 类库进行快速地查询,还可以同时使用两者的组合来提高可复用库模块查询的精度。

关键词: 软件复用, 类库检索, Java开发, 语义匹配, 句法匹配, 信息检索

Abstract: This paper describes a new method of retrieving reusable modules based on semantics and syntax in support of large scale systematic software reuse. The method has been implemented in a prototype system that supports the retrieval of reusable Java class library. Software developers can either use the natural language to describe the semantic functionality of a module and use that as the reuse query to locate relevant reusable modules from the Java class library; or describe the syntactical interface of a module, namely, the types of input and output data to locate relevant reusable modules; or to use both semantic and syntactic descriptions to improve the retrieval precision.

中图分类号: