Contralog: a Prolog conform forward-chaining environment and its application for dynamic programming and natural language parsing

  • Kilián I
N/ACitations
Citations of this article
5Readers
Mendeley users who have this article in their library.

Abstract

The backward-chaining inference strategy of Prolog is inefficient for a number of problems. The article proposes Contralog: a Prolog-conform, forward-chaining language and an inference engine that is implemented as a preprocessor-compiler to Prolog. The target model is Prolog, which ensures mutual switching from Contralog to Prolog and back. The Contralog compiler is implemented using Prolog's de facto standardized macro expansion capability. The article goes into details regarding the target model.We introduce first a simple application example for Contralog. Then the next section shows how a recursive definition of some problems is executed by their Contralog definition automatically in a dynamic programming way. Two examples, the well-known matrix chain multiplication problem and the Warshall algorithm are shown here. After this, the inferential target model of Prolog/Contralog programs is introduced, and the possibility for implementing the ReALIS natural language parsing technology is described relying heavily on Contralog's forward chaining inference engine. Finally the article also discusses some practical questions of Contralog program development.

Cite

CITATION STYLE

APA

Kilián, I. (2016). Contralog: a Prolog conform forward-chaining environment and its application for dynamic programming and natural language parsing. Acta Universitatis Sapientiae, Informatica, 8(1), 41–62. https://doi.org/10.1515/ausi-2016-0003

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free