首页> 外文会议>Design, Automation and Test in Europe Conference and Exhibition >Automatic Assertion Generation from Natural Language Specifications Using Subtree Analysis
【24h】

Automatic Assertion Generation from Natural Language Specifications Using Subtree Analysis

机译:使用子树分析从自然语言规范自动生成断言

获取原文

摘要

We present an approach to generate assertions from natural language specifications by performing semantic analysis of sentences in the specification document. Other techniques for automatic assertion generation use information found in the design implementation, either by performing static or dynamic analysis. Our approach generates assertions directly from the specification document, so bugs in the implementation will not be reflected in the assertions. Our approach parses each sentence and examines the resulting syntactic parse trees to locate subtrees which are associated with important phrases, such as the antecedent and consequent of an implication. Formal assertions are generated using the information inside these subtrees to fill a set of assertion templates which we present. We evaluate the effectiveness of our approach using a set of statements taken from a real specification document.
机译:我们提出了一种通过在规范文档中对句子进行语义分析来从自然语言规范中生成断言的方法。其他自动断言生成技术可以通过执行静态或动态分析来使用设计实现中发现的信息。我们的方法直接从规范文档中生成断言,因此实现中的错误将不会反映在断言中。我们的方法解析每个句子,并检查生成的语法分析树,以找到与重要短语(例如,含义的前因和结果)相关联的子树。正式断言是使用这些子树中的信息生成的,以填充我们提供的一组断言模板。我们使用从真实规范文档中获取的一组陈述来评估我们方法的有效性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号