中文
相关论文

相关论文: Compiling HPSG type constraints into definite clau…

200 篇论文

Despite rapid advancement in the field of Constrained Natural Language Generation, little time has been spent on exploring the potential of language models which have had their vocabularies lexically, semantically, and/or phonetically…

计算与语言 · 计算机科学 2023-06-29 Allen Roush , Sanjay Basu , Akshay Moorthy , Dmitry Dubovoy

This paper proposes the use of Constraint Logic Programming (CLP) to model SQL queries in a data-independent abstract layer by focusing on some semantic properties for signalling possible errors in such queries. First, we define a…

数据库 · 计算机科学 2020-02-19 Fernando Sáenz-Pérez

In this paper we discuss the optimizing compilation of Constraint Handling Rules (CHRs). CHRs are a multi-headed committed choice constraint language, commonly applied for writing incremental constraint solvers. CHRs are usually implemented…

编程语言 · 计算机科学 2010-09-03 Christian Holzbaur , Maria Garcia de la Banda , Peter J. Stuckey , Gregory J. Duck

We present a functional programming language for specifying constraints over tree-shaped data. The language allows for Haskell-like algebraic data types and pattern matching. Our constraint compiler CO4 translates these programs into…

编程语言 · 计算机科学 2013-05-24 Alexander Bau , Johannes Waldmann

Despite their impressive performance, large language models (LMs) still struggle with reliably generating complex output structures when not finetuned to follow the required output format exactly. To address this issue, grammar-constrained…

计算与语言 · 计算机科学 2024-01-19 Saibo Geng , Martin Josifoski , Maxime Peyrard , Robert West

Tabled Constraint Logic Programming is a powerful execution mechanism for dealing with Constraint Logic Programming without worrying about fixpoint computation. Various applications, e.g in the fields of program analysis and model checking,…

编程语言 · 计算机科学 2007-12-27 Tom Schrijvers , Bart Demoen , David S. Warren

Systems now exist which are able to compile unification grammars into language models that can be included in a speech recognizer, but it is so far unclear whether non-trivial linguistically principled grammars can be used for this purpose.…

计算与语言 · 计算机科学 2007-05-23 Manny Rayner , Beth Ann Hockey , Frankie James , Elizabeth O. Bratt , Sharon Goldwater , Mark Gawron

Haskell functions are defined as a series of clauses consisting of patterns that are matched against the arguments in the order of definition. In case an input is not matched by any of the clauses, an error occurs. Therefore it is desirable…

编程语言 · 计算机科学 2019-09-11 Pavel Kalvoda , Tom Sydney Kerckhove

A sufficient and necessary condition is given under which least Herbrand models exactly characterize the answers of definite clause programs. To appear in Theory and Practice of Logic Programming (TPLP).

计算机科学中的逻辑 · 计算机科学 2020-02-19 Włodzimierz Drabent

Program synthesis is the process of generating a computer program following a set of specifications, which can be a high-level description of the problem and/or a set of input-output examples. The synthesis can be modeled as a search…

神经与进化计算 · 计算机科学 2023-04-07 Matheus Campos Fernandes , Fabrício Olivetti de França , Emilio Francesquini

This paper proposes an adaptive neural-compilation framework to address the problem of efficient program learning. Traditional code optimisation strategies used in compilers are based on applying pre-specified set of transformations that…

人工智能 · 计算机科学 2016-05-27 Rudy Bunel , Alban Desmaison , Pushmeet Kohli , Philip H. S. Torr , M. Pawan Kumar

Controlled text generation (CTG) seeks to guide large language model (LLM) output to produce text that conforms to desired criteria. The current study presents a novel CTG algorithm that enforces adherence toward specific rhetorical…

计算与语言 · 计算机科学 2024-02-12 Joshua Zingale , Jugal Kalita

We observe that the various formulations of the operational semantics of Constraint Handling Rules proposed over the years fall into a spectrum ranging from the analytical to the pragmatic. While existing analytical formulations facilitate…

计算机科学中的逻辑 · 计算机科学 2010-07-23 Hariolf Betz , Frank Raiser , Thom Frühwirth

Considering the speed in which humans resolve syntactic ambiguity, and the overwhelming evidence that syntactic ambiguity is resolved through selection of the analysis whose interpretation is the most `sensible', one comes to the conclusion…

cmp-lg · 计算机科学 2008-02-03 Michael Niv

Formal languages let us define the textual representation of data with precision. Formal grammars, typically in the form of BNF-like productions, describe the language syntax, which is then annotated for syntax-directed translation and…

软件工程 · 计算机科学 2015-03-19 Luis Quesada , Fernando Berzal , Juan-Carlos Cubero

A general framework is proposed for integration of rules and external first order theories. It is based on the well-founded semantics of normal logic programs and inspired by ideas of Constraint Logic Programming (CLP) and constructive…

计算机科学中的逻辑 · 计算机科学 2010-12-08 W. Drabent , J. Maluszynski

We extend a technique called Compiling Control. The technique transforms coroutining logic programs into logic programs that, when executed under the standard left-to-right selection rule (and not using any delay features) have the same…

编程语言 · 计算机科学 2017-08-28 Vincent Nys , Danny De Schreye

Language models (LMs) can generate code but cannot guarantee its correctness$\unicode{x2014}$often producing outputs that violate type safety, program invariants, or other semantic properties. Constrained decoding offers a solution by…

编程语言 · 计算机科学 2025-12-03 Shaan Nagy , Timothy Zhou , Nadia Polikarpova , Loris D'Antoni

We present a broad coverage Japanese grammar written in the HPSG formalism with MRS semantics. The grammar is created for use in real world applications, such that robustness and performance issues play an important role. It is connected to…

计算与语言 · 计算机科学 2007-05-23 Melanie Siegel , Emily M. Bender

Software synthesis - the process of generating complete, general-purpose programs from specifications - has become a hot research topic in the past few years. For decades the problem was thought to be insurmountable: the search space of…

编程语言 · 计算机科学 2015-10-29 Jonathan Frankle