首页> 外文会议>2010 14th IEEE International Enterprise Distributed Object Computing Conference >OCL Constraints Generation from Natural Language Specification
【24h】

OCL Constraints Generation from Natural Language Specification

机译:OCL约束自然语言规范的生成

获取原文

摘要

Object Constraint Language (OCL) plays a key role in Unified Modeling Language (UML). In the UML standards, OCL is used for expressing constraints such as well-definedness criteria. In addition OCL can be used for specifying constraints on the models and pre/post conditions on operations, improving the precision of the specification. As a result, OCL has received considerable attention from the research community. However, despite its key role, there is a common consensus that OCL is the least adopted among all languages in the UML. It is often argued that, software practitioners shy away from OCL due to its unfamiliar syntax. To ensure better adoption of OCL, the usability issues related to producing OCL statement must be addressed. To address this problem, this paper aims to preset a method involving using Natural Language expressions and Model Transformation technology. The aim of the method is to produce a framework so that the user of UML tool can write constraints and pre/post conditions in English and the framework converts such natural language expressions to the equivalent OCL statements. As a result, the approach aims at simplifying the process of generation of OCL statements, allowing the user to benefit form the advantages provided by UML tools that support OCL. The suggested approach relies on Semantic Business Vocabulary and Rules (SBVR) to support formulation of natural language expressions and their transformations to OCL. The paper also presents outline of a prototype tool that implements the method.
机译:对象约束语言(OCL)在统一建模语言(UML)中起着关键作用。在UML标准中,OCL用于表达约束,例如定义明确的标准。另外,OCL可以用于指定模型的约束条件以及操作的前后条件,从而提高了规范的精度。结果,OCL得到了研究界的相当大的关注。但是,尽管发挥了关键作用,但人们普遍认为OCL是UML中所有语言中最少采用的语言。人们通常认为,由于OCL语法不熟悉,软件从业者会回避OCL。为了确保更好地采用OCL,必须解决与生成OCL语句有关的可用性问题。为了解决这个问题,本文旨在预设一种涉及使用自然语言表达和模型转换技术的方法。该方法的目的是产生一个框架,以便UML工具的用户可以用英语编写约束条件和条件,并且该框架将这种自然语言表达形式转换为等效的OCL语句。因此,该方法旨在简化OCL语句的生成过程,使用户能够从支持OCL的UML工具提供的优势中受益。建议的方法依赖于语义业务词汇和规则(SBVR)来支持自然语言表达的表达及其向OCL的转换。本文还介绍了实现该方法的原型工具的概述。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号