首页> 外文期刊>Journal of logic, language and information >A Principled Approach to Grammars for Controlled Natural Languages and Predictive Editors
【24h】

A Principled Approach to Grammars for Controlled Natural Languages and Predictive Editors

机译:受控自然语言和预测性编辑器的语法处理原则

获取原文
获取原文并翻译 | 示例
           

摘要

Controlled natural languages (CNL) with a direct mapping to formal logic have been proposed to improve the usability of knowledge representation systems, query interfaces, and formal specifications. Predictive editors are a popular approach to solve the problem that CNLs are easy to read but hard to write. Such predictive editors need to be able to "look ahead" in order to show all possible continuations of a given unfinished sentence. Such lookahead features, however, are difficult to implement in a satisfying way with existing grammar frameworks, especially if the CNL supports complex nonlocal structures such as anaphoric references. Here, methods and algorithms are presented for a new grammar notation called Codeco, which is specifically designed for controlled natural languages and predictive editors. A parsing approach for Codeco based on an extended chart parsing algorithm is presented. A large subset of Attempto Controlled English has been represented in Codeco. Evaluation of this grammar and the parser implementation shows that the approach is practical, adequate and efficient.
机译:已经提出了直接映射到形式逻辑的受控自然语言(CNL),以提高知识表示系统,查询接口和形式规范的可用性。预测编辑器是解决CNL易于阅读但难以编写的问题的流行方法。这样的预测编辑器需要能够“向前看”,以显示给定未完成语句的所有可能的继续。但是,使用现有的语法框架很难以令人满意的方式实现这种先行特征,尤其是如果CNL支持复杂的非局部结构(如回指)时。在这里,介绍了一种称为Codeco的新语法符号的方法和算法,该语法符号专门为受控自然语言和预测性编辑器设计。提出了一种基于扩展图解析算法的Codeco解析方法。 Codeco代表了很大一部分Attempto控制的英语。对这种语法和解析器实现的评估表明,该方法是实用,适当和有效的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号