Codeco: a practical notation for controlled english grammars in predictive editors

  • Authors:
  • Tobias Kuhn

  • Affiliations:
  • Department of Informatics & Institute of Computational Linguistics, University of Zurich, Switzerland,Department of Intelligent Computer Systems, University of Malta, Malta

  • Venue:
  • CNL'10 Proceedings of the Second international conference on Controlled Natural Language
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper introduces a new grammar notation, called Codeco, designed for controlled natural language (CNL) and predictive editors. Existing grammar frameworks that target either formal or natural languages do not work out particularly well for CNL, especially if they are to be used in predictive editors and if anaphoric references should be resolved in a deterministic way. It is not trivial to build predictive editors that can precisely determine which anaphoric references are possible at a certain position. This paper shows how such complex structures can be represented in Codeco, a novel grammar notation for CNL. Two different parsers have been implemented (one in Prolog and another one in Java) and a large subset of Attempto Controlled English (ACE) has been represented in Codeco. The results show that Codeco is practical, adequate and efficient.