arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0007013cs.CLcs.PL
收藏

将约束处理规则应用于HPSG

Applying Constraint Handling Rules to HPSG

Gerald Penn

摘要:

约束处理规则(Constraint Handling Rules,简称CLR)为约束逻辑程序设计中的一个过度复杂化问题提供了一个现实的解决方案:如何将递归函数或关系与约束相结合,同时避免非终止性问题。本文重点介绍了一些其他的好处,特别是它们的实现SICStus Prolog,提供了计算语言学家的语法设计工具。通过包容检查来应用XML规则,并且仅当它们的变量被实例化或绑定时才进行这种检查。前者的功能是最好的难以模拟使用更原始的coroutining语句,如SICStus时/2,后者根本不存在任何形式之前,CHR。为了提供一个案例研究,在这些如何可以应用到语法开发,我们考虑属性逻辑引擎(ALE),一个Prolog预处理器的逻辑编程与类型化的特征结构,并将其扩展为中心语驱动短语结构语法(HPSG)的完整语法开发系统,HPSG是一种流行的基于约束的语言学理论,使用类型化特征结构。在此上下文中,HPSG不仅可以用于扩展特征结构描述的约束语言,以包括声明方式的关系,而且还可以为具有复杂前提的约束和正确解释HPSG类型系统所需的特征值同现约束提供支持。

英文摘要:

Constraint Handling Rules (CHR) have provided a realistic solution to an over-arching problem in many fields that deal with constraint logic programming: how to combine recursive functions or relations with constraints while avoiding non-termination problems. This paper focuses on some other benefits that CHR, specifically their implementation in SICStus Prolog, have provided to computational linguists working on grammar design tools. CHR rules are applied by means of a subsumption check and this check is made only when their variables are instantiated or bound. The former functionality is at best difficult to simulate using more primitive coroutining statements such as SICStus when/2, and the latter simply did not exist in any form before CHR. For the sake of providing a case study in how these can be applied to grammar development, we consider the Attribute Logic Engine (ALE), a Prolog preprocessor for logic programming with typed feature structures, and its extension to a complete grammar development system for Head-driven Phrase Structure Grammar (HPSG), a popular constraint-based linguistic theory that uses typed feature structures. In this context, CHR can be used not only to extend the constraint language of feature structure descriptions to include relations in a declarative way, but also to provide support for constraints with complex antecedents and constraints on the co-occurrence of feature values that are necessary to interpret the type system of HPSG properly.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑