Automated Java exceptions explanation using natural language generation techniques

A common problem encountered by novice programmers and students taking introductory programming courses is how to understand exception messages and how to locate the corresponding errors. Such messages are typically too difficult for them to interpret without seeking help from colleagues or through...

Full description

Saved in:
Bibliographic Details
Published inComputer applications in engineering education Vol. 28; no. 3; pp. 626 - 644
Main Authors Assiri, Fatmah Yousef, Elazhary, Hanan
Format Journal Article
LanguageEnglish
Published Hoboken Wiley Subscription Services, Inc 01.05.2020
Subjects
Online AccessGet full text
ISSN1061-3773
1099-0542
DOI10.1002/cae.22232

Cover

More Information
Summary:A common problem encountered by novice programmers and students taking introductory programming courses is how to understand exception messages and how to locate the corresponding errors. Such messages are typically too difficult for them to interpret without seeking help from colleagues or through online forums. Tackling this problem can help speed up their learning curves and hence increase their productivity. This paper proposes using natural language generation (NLG) techniques and the Rhetorical Structure Theory, which specifies how text spans are related and aggregated, to convert Java exception messages into readable and understandable natural language (NL) statements. An additional advantage is the possibility of adding more information and explanations that help students understand different exception types, their causes, and how they can be avoided. As a proof of concept, we developed Java Exceptions in the NL (JENL) tool to process Java exceptions using NLG techniques. Empirical evaluation has shown extreme satisfaction among Java programming subjects (including student novice programmers) with the capabilities of JENL as well as its usability.
Bibliography:ObjectType-Article-1
SourceType-Scholarly Journals-1
ObjectType-Feature-2
content type line 14
ISSN:1061-3773
1099-0542
DOI:10.1002/cae.22232