首页> 外文期刊>Journal of software >Automatic Recommendation of Software Design Patterns: Text Retrieval Approach
【24h】

Automatic Recommendation of Software Design Patterns: Text Retrieval Approach

机译:自动推荐软件设计模式:文本检索方法

获取原文
           

摘要

Design pattern is a reusable solution to a commonly occurring design problem in certain context. Using design patterns in software development improves the product’s quality, understandability and productivity. However, it is a challenging task for novice developers to select the right design pattern to solve a design problem. The paper proposes a methodology for the automatic selection of the fit design pattern from a list of patterns. The proposed methodology is based on Text retrieval approach where the design problem scenarios are described in natural language. A vector space model (VSM) was created for the catalogue of design patterns. A vector of features consists of unigrams and bigrams is generated for the given design problem scenario. The recommended design pattern is the closest to the problem scenario. The proposed mechanism was evaluated using the Gang of four design patterns and the experimental results showed the effectiveness of the proposed methodology.
机译:设计模式是在某些情况下可解决常见问题的可重用解决方案。在软件开发中使用设计模式可以提高产品的质量,易懂性和生产率。但是,对于新手开发人员来说,选择正确的设计模式来解决设计问题是一项艰巨的任务。本文提出了一种从样式列表中自动选择合适的设计样式的方法。所提出的方法基于文本检索方法,其中以自然语言描述设计问题方案。为设计模式的目录创建了向量空间模型(VSM)。对于给定的设计问题方案,生成了一个特征向量,该特征向量由字母组合和二元组合组成。推荐的设计模式最接近问题方案。使用四种设计模式的Gang对提出的机制进行了评估,实验结果表明了提出的方法的有效性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号