LAUSR.org creates dashboard-style pages of related content for over 1.5 million academic articles. Sign Up to like articles & get recommendations!

Automated Java exceptions explanation using natural language generation techniques

Photo from wikipedia

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… Click to show full abstract

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.

Keywords: natural language; language generation; java exceptions; using natural

Journal Title: Computer Applications in Engineering Education
Year Published: 2020

Link to full text (if available)


Share on Social Media:                               Sign Up to like & get
recommendations!

Related content

More Information              News              Social Media              Video              Recommended



                Click one of the above tabs to view related content.