Skip to Main content Skip to Navigation
Conference papers

Responsive and Flexible Controlled Natural Language Authoring with Zipper-based Transformations

Sébastien Ferré 1
1 SemLIS - Semantics, Logics, Information Systems for Data-User Interaction
IRISA-D7 - GESTION DES DONNÉES ET DE LA CONNAISSANCE
Abstract : Controlled natural languages (CNL) have the benefits to combine the readability of natural languages, and the accuracy of formal languages. They have been used to help users express facts, rules or queries. While generally easy to read, CNLs remain difficult to write because of the constrained syntax. A common solution is a grammar-based auto-completion mechanism to suggest the next possible words in a sentence. However, this solution has two limitations: (a) partial sentences may have no semantics, which prevents giving intermediate results or feedback, and (b) the suggestion is often limited to adding words at the end of the sentence. We propose a more responsive and flexible CNL authoring by designing it as a sequence of sentence transformations. Responsiveness is obtained by having a complete, and hence interpretable, sentence at each time. Flexibility is obtained by allowing insertion and deletion on any part of the sentence. Technically, this is realized by working directly on the abstract syntax, rather than on the concrete syntax , and by using Huet's zippers to manage the focus on a query part, the equivalent of the text cursor of a word processor.
Document type :
Conference papers
Complete list of metadatas

Cited literature [17 references]  Display  Hide  Download

https://hal.inria.fr/hal-01976766
Contributor : Sébastien Ferré <>
Submitted on : Thursday, January 10, 2019 - 11:46:06 AM
Last modification on : Friday, July 10, 2020 - 4:01:43 PM

File

paper.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-01976766, version 1

Citation

Sébastien Ferré. Responsive and Flexible Controlled Natural Language Authoring with Zipper-based Transformations. International Workshop on Controlled Natural Languages (CNL), Aug 2018, Dublin, Ireland. ⟨hal-01976766⟩

Share

Metrics

Record views

88

Files downloads

274