In the railway safety-critical domain requirements documents have to abide to strict quality criteria. Rule-based natural language processing (NLP) techniques have been developed to automatically identify quality defects in natural language requirements. However, the literature is lacking empirical studies on the application of these techniques in industrial settings. Our goal is to investigate to which extent NLP can be practically applied to detect defects in the requirements documents of a railway signalling manufacturer. To address this goal, we first identified a set of typical defects classes, and, for each class, an engineer of the company implemented a set of defect-detection patterns by means of the GATE tool for text processing. After a preliminary analysis, we applied the patterns to a large set of 1866 requirements previously annotated for defects. The output of the patterns was further inspected by two domain experts to check the false positive cases. This is one of the first works in which defect detection NLP techniques are applied on a very large set of industrial requirements annotated by domain experts. We contribute with a comparison between traditional manual techniques used in industry for requirements analysis, and analysis performed with NLP. Our experience tells that several discrepancies can be observed between the two approaches. The analysis of the discrepancies offers hints to improve the capabilities of NLP techniques with \textit{company specific} solutions, and suggests that also company practices need to be modified to effectively exploit NLP tools.

Using NLP to Detect Requirements Defects: An Industrial Experience in the Railway Domain / Rosadini, Benedetta; Ferrari, Alessio; Gori, Gloria; Fantechi, Alessandro; Gnesi, Stefania; Trotta, Iacopo; Bacherini, Stefano. - ELETTRONICO. - (2017), pp. 344-360. (Intervento presentato al convegno Requirement Engineering Foundation for Software Quality tenutosi a Essen, Germany nel 27/02/2017 - 02/03/2017) [10.1007/978-3-319-54045-0_24].

Using NLP to Detect Requirements Defects: An Industrial Experience in the Railway Domain

GORI, GLORIA;FANTECHI, ALESSANDRO;
2017

Abstract

In the railway safety-critical domain requirements documents have to abide to strict quality criteria. Rule-based natural language processing (NLP) techniques have been developed to automatically identify quality defects in natural language requirements. However, the literature is lacking empirical studies on the application of these techniques in industrial settings. Our goal is to investigate to which extent NLP can be practically applied to detect defects in the requirements documents of a railway signalling manufacturer. To address this goal, we first identified a set of typical defects classes, and, for each class, an engineer of the company implemented a set of defect-detection patterns by means of the GATE tool for text processing. After a preliminary analysis, we applied the patterns to a large set of 1866 requirements previously annotated for defects. The output of the patterns was further inspected by two domain experts to check the false positive cases. This is one of the first works in which defect detection NLP techniques are applied on a very large set of industrial requirements annotated by domain experts. We contribute with a comparison between traditional manual techniques used in industry for requirements analysis, and analysis performed with NLP. Our experience tells that several discrepancies can be observed between the two approaches. The analysis of the discrepancies offers hints to improve the capabilities of NLP techniques with \textit{company specific} solutions, and suggests that also company practices need to be modified to effectively exploit NLP tools.
2017
Requirements Engineering: Foundation for Software Quality: 23rd International Working Conference, REFSQ 2017, Essen, Germany, February 27 -- March 2, 2017, Proceedings
Requirement Engineering Foundation for Software Quality
Essen, Germany
27/02/2017 - 02/03/2017
Rosadini, Benedetta; Ferrari, Alessio; Gori, Gloria; Fantechi, Alessandro; Gnesi, Stefania; Trotta, Iacopo; Bacherini, Stefano
File in questo prodotto:
File Dimensione Formato  
paper.pdf

accesso aperto

Descrizione: Articolo REFSQ'17
Tipologia: Versione finale referata (Postprint, Accepted manuscript)
Licenza: Tutti i diritti riservati
Dimensione 306.24 kB
Formato Adobe PDF
306.24 kB Adobe PDF

I documenti in FLORE sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificatore per citare o creare un link a questa risorsa: https://hdl.handle.net/2158/1087499
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 54
  • ???jsp.display-item.citation.isi??? 38
social impact