arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2005.01355cs.SEcs.CL
收藏

基于功能需求的受控自然语言的系统构建

On Systematically Building a Controlled Natural Language for Functional Requirements

University of Luxembourg(卢森堡大学);University of Ottawa(渥太华大学)

Alvaro Veizaga, Mauricio Alferez, Damiano Torre, Mehrdad Sabetzadeh, Lionel Briand

摘要:

[上下文]自然语言(NL)在软件需求规格说明(SRS)中无处不在。然而,尽管它的流行和广泛的使用,NL是非常容易的质量问题,如冗长,模糊和不完整。受控自然语言(CNL)已被提出作为一种方法,以防止质量问题的需求文档,同时保持灵活性,编写和沟通的要求,在一个直观的和普遍理解的方式。[目的]与金融领域的行业合作伙伴合作,系统地开发和评估CNL,命名为Rimay,旨在帮助分析师编写功能需求。[方法]我们依靠扎根理论来构建Rimay,并遵循众所周知的指导方针进行和报告工业案例研究。[结果]我们的主要贡献是:(1)系统地定义了一个面向功能需求的CNL的定性方法,该方法是通用的,适用于金融领域以外的信息系统;(2)描述功能需求的CNL文法;这种语法是从我们在金融领域的经验中得到的,但是应该适用于其他信息系统领域,(3)通过一个工业案例对我们的CNL(Rimay)进行了实证评估。我们的贡献借鉴了15个代表性的SRS,共包含来自金融领域的3215个NL要求声明。[结论]我们的评估表明,Rimay具有足够的表达能力,可以在四个以前从未见过的金融领域SRS中捕获平均88%(460个中的405个)的NL需求声明。

英文摘要:

[Context] Natural language (NL) is pervasive in software requirements specifications (SRSs). However, despite its popularity and widespread use, NL is highly prone to quality issues such as vagueness, ambiguity, and incompleteness. Controlled natural languages (CNLs) have been proposed as a way to prevent quality problems in requirements documents, while maintaining the flexibility to write and communicate requirements in an intuitive and universally understood manner. [Objective] In collaboration with an industrial partner from the financial domain, we systematically develop and evaluate a CNL, named Rimay, intended at helping analysts write functional requirements. [Method] We rely on Grounded Theory for building Rimay and follow well-known guidelines for conducting and reporting industrial case study research. [Results] Our main contributions are: (1) a qualitative methodology to systematically define a CNL for functional requirements; this methodology is general and applicable to information systems beyond the financial domain, (2) a CNL grammar to represent functional requirements; this grammar is derived from our experience in the financial domain, but should be applicable, possibly with adaptations, to other information-system domains, and (3) an empirical evaluation of our CNL (Rimay) through an industrial case study. Our contributions draw on 15 representative SRSs, collectively containing 3215 NL requirements statements from the financial domain. [Conclusion] Our evaluation shows that Rimay is expressive enough to capture, on average, 88% (405 out of 460) of the NL requirements statements in four previously unseen SRSs from the financial domain.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑