Specifying and Verbalising Answer Set Programs in Controlled Natural Language
Rolf Schwitter

TL;DR
This paper introduces a bi-directional grammar system that translates between answer set programs and controlled natural language, enabling specification, verbalisation, and modification with semantic consistency.
Contribution
It presents the first bi-directional grammar capable of semantic round-tripping for answer set programs in controlled natural language, enhancing readability and modifiability.
Findings
Automatic translation from natural language to answer set programs
Verbalisation preserves semantic equivalence and improves readability
Supports program modification through natural language specifications
Abstract
We show how a bi-directional grammar can be used to specify and verbalise answer set programs in controlled natural language. We start from a program specification in controlled natural language and translate this specification automatically into an executable answer set program. The resulting answer set program can be modified following certain naming conventions and the revised version of the program can then be verbalised in the same subset of natural language that was used as specification language. The bi-directional grammar is parametrised for processing and generation, deals with referring expressions, and exploits symmetries in the data structure of the grammar rules whenever these grammar rules need to be duplicated. We demonstrate that verbalisation requires sentence planning in order to aggregate similar structures with the aim to improve the readability of the generated…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
