...
首页> 外文期刊>IEICE transactions on information and systems >Detecting Logical Inconsistencies by Clustering Technique in Natural Language Requirements
【24h】

Detecting Logical Inconsistencies by Clustering Technique in Natural Language Requirements

机译:通过自然语言需求中的聚类技术检测逻辑不一致

获取原文
           

摘要

In the early phases of the system development process, stakeholders exchange ideas and describe requirements in natural language. Requirements described in natural language tend to be vague and include logical inconsistencies, whereas logical consistency is the key to raising the quality and lowering the cost of system development. Hence, it is important to find logical inconsistencies in the whole requirements at this early stage. In verification and validation of the requirements, there are techniques to derive logical formulas from natural language requirements and evaluate their inconsistencies automatically. Users manually chunk the requirements by paragraphs. However, paragraphs do not always represent logical chunks. There can be only one logical chunk over some paragraphs on the other hand some logical chunks in one paragraph. In this paper, we present a practical approach to detecting logical inconsistencies by clustering technique in natural language requirements. Software requirements specifications (SRSs) are the target document type. We use k -means clustering to cluster chunks of requirements and develop semantic role labeling rules to derive “conditions” and “actions” as semantic roles from the requirements by using natural language processing. We also construct an abstraction grammar to transform the conditions and actions into logical formulas. By evaluating the logical formulas with input data patterns, we can find logical inconsistencies. We implemented our approach and conducted experiments on three case studies of requirements written in natural English. The results indicate that our approach can find logical inconsistencies.
机译:在系统开发过程的早期阶段,利益相关者交换想法并用自然语言描述需求。用自然语言描述的需求往往很模糊,并且包含逻辑上的不一致,而逻辑上的一致性是提高质量和降低系统开发成本的关键。因此,在此早期阶段发现整个需求中的逻辑不一致很重要。在需求的验证和确认中,有一些技术可以从自然语言需求中得出逻辑公式并自动评估其不一致之处。用户按段落手动对需求进行分组。但是,段落并不总是代表逻辑块。在某些段落中只能有一个逻辑块,而在一个段落中则只能有一些逻辑块。在本文中,我们提出了一种在自然语言需求中通过聚类技术检测逻辑不一致的实用方法。软件需求规范(SRS)是目标文档类型。我们使用k -means聚类对需求块进行聚类,并开发语义角色标签规则,以通过使用自然语言处理从需求中获取“条件”和“动作”作为语义角色。我们还构建了抽象语法,将条件和动作转换为逻辑公式。通过使用输入数据模式评估逻辑公式,我们可以发现逻辑不一致。我们实施了我们的方法,并针对以自然英语编写的三个需求案例进行了实验。结果表明,我们的方法可以发现逻辑上的不一致。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号