摘要
该文分析了软件构件的刻面分类描述的特点,通过借鉴XML查询语言ApproXQL中树匹配的思想及其相关理论,提出了一种新的基于刻面分类的软件构件查询方法。该方法将基于刻面分类的构件XML描述文档映射为一棵构件树,将查询表达式映射为一棵查询树,通过构件树与查询树之间的匹配算法查找需要的软件构件。这种查询方法支持布尔查询和模糊查询,具有一定的张弛能力,能在保证一定查准率的基础上提高查全率。该方法适用于面向网络的跨构件库查询。
A new method to retrieve reusable components classified in faceted scheme is introduced in this paper,which combines the features of faceted classification scheme and the theory of the query language ApproXQL.In this method component documents and queries are modeled as labeled trees,so the needed components can be retrieved through the matching algorithm between the document tree and the query tree.With the property of flexibility,this method supports Boolean query and fuzzy query.Using this method the recall can be improved while maintaining a high level precision.This method is suitable for the queries in single or multi component libraries in internet.
出处
《计算机工程与应用》
CSCD
北大核心
2005年第12期61-64,81,共5页
Computer Engineering and Applications
基金
国家863高技术研究发展计划重大项目:基于高性能宽带通信网络的软件支撑体系研究(编号:2004AA116010)
辽宁省重大科技攻关项目:对象构件化软件开发平台关键技术及应用研究(编号:2002216001)资助
关键词
刻面分类
构件库
构件查询
树匹配
faceted classification scheme,component library,component retrieval,tree matching