基于构件的软件复用的前提之一是存在并能够找到大量可复用的构件,软件构件库是对软件构件进行管理的基础设施,其作用是对大量构件进行管理,并辅助软件开发者找到合适的构件.在构件库中,基于构件标签的分类管理是一种新型的构件信息分类管理方法,该方法使用构件标签(Tag)对构件进行管理,并支持用户通过选择标签进行构件检索,该方法能够更直接的反应构件的特性,并能够有效提高检索效率.然而,由于构件库中许多构件没有构件标签,而通过人工的方法为构件库中存在的构件资源添加标签需要耗费大量的时间和人力资源,特别是当构件数量较大时,通过人工方式为构件添加标签是难以实现的.因此本文提出了一种基于分类的构件标签自动提取方法,该方法能够根据构件描述信息自动提取构件标签.本文对基于该方法的构件标签自动提取工具的实现进行了论述,并通过实验验证了该工具的有效性.
The existence and being able to find a large number of reusable components is one of the prerequisites of compo- nent-based software reuse. Software component library is the infrastructure of component management. It can help developers find appropriate components. Component tag based taxonomy is a new method to manage components in component library. It uses com- ponent tag to manage component and supports users using tags to find components. This method is efficient in component manage- ment because component tag represents the characteristics of components. However, many components don' t have component tags in component library.Adding tags for these components manually needs a lot of time and workload. It's almost impossible when there are a lot of such components. So, this paper proposed an automatic component tag extracting method based on classification. This method extracts component tags from component descriptions automatically. This paper described a tool based on this method and verified the effectiveness of the tool.