中文
相关论文

相关论文: Certified Context-Free Parsing: A formalisation of…

200 篇论文

Abstract interpreters are complex pieces of software: even if the abstract interpretation theory and companion algorithms are well understood, their implementations are subject to bugs, that might question the soundness of their…

编程语言 · 计算机科学 2021-10-19 Lucas Franceschino , David Pichardie , Jean-Pierre Talpin

Image captioning is a challenging computer vision task, which aims to generate a natural language description of an image. Most recent researches follow the encoder-decoder framework which depends heavily on the previous generated words for…

计算机视觉与模式识别 · 计算机科学 2021-01-05 Zeliang Song , Xiaofei Zhou , Zhendong Mao , Jianlong Tan

The CFG recognition problem is: given a context-free grammar $\mathcal{G}$ and a string $w$ of length $n$, decide if $w$ can be obtained from $\mathcal{G}$. This is the most basic parsing question and is a core computer science problem.…

计算复杂性 · 计算机科学 2015-11-06 Amir Abboud , Arturs Backurs , Virginia Vassilevska Williams

We present a constructive formalization of Abstract Rewriting Systems (ARS) in the Agda proof assistant, focusing on standard results in term rewriting. We define a taxonomy of concepts related to termination and confluence and investigate…

计算机科学中的逻辑 · 计算机科学 2026-03-12 Sam Arkle , Andrew Polonsky

The gradual guarantee is an important litmus test for gradually typed languages, that is, languages that enable a mixture of static and dynamic typing. The gradual guarantee states that changing the precision of a type annotation does not…

编程语言 · 计算机科学 2024-12-05 Jeremy G. Siek

Valence automata are a generalization of various models of automata with storage. Here, each edge carries, in addition to an input word, an element of a monoid. A computation is considered valid if multiplying the monoid elements on the…

形式语言与自动机理论 · 计算机科学 2013-06-19 P. Buckheister , Georg Zetzsche

Calculational abstract interpretation, long advocated by Cousot, is a technique for deriving correct-by-construction abstract interpreters from the formal semantics of programming languages. This paper addresses the problem of deriving…

编程语言 · 计算机科学 2015-07-14 David Darais , David Van Horn

Traditional language processing tools constrain language designers to specific kinds of grammars. In contrast, model-based language specification decouples language design from language processing. As a consequence, model-based language…

计算与语言 · 计算机科学 2012-02-03 Luis Quesada , Fernando Berzal , Francisco J. Cortijo

This paper presents Arvada, an algorithm for learning context-free grammars from a set of positive examples and a Boolean-valued oracle. Arvada learns a context-free grammar by building parse trees from the positive examples. Starting from…

软件工程 · 计算机科学 2021-08-31 Neil Kulkarni , Caroline Lemieux , Koushik Sen

Current algorithms for context-free parsing inflict a trade-off between ease of understanding, ease of implementation, theoretical complexity, and practical performance. No algorithm achieves all of these properties simultaneously. Might et…

编程语言 · 计算机科学 2016-04-19 Michael D. Adams , Celeste Hollenbeck , Matthew Might

Learned classifiers deployed in agentic pipelines face a fundamental reliability problem: predictions are probabilistic inferences, not verified conclusions, and acting on them without grounding in observable evidence leads to compounding…

软件工程 · 计算机科学 2026-04-14 Jugal Gajjar

We show that some results from the theory of group automata and monoid automata still hold for more general classes of monoids and models. Extending previous work for finite automata over commutative groups, we demonstrate a context-free…

形式语言与自动机理论 · 计算机科学 2017-08-23 Özlem Salehi , Flavio D'Alessandro , A. C. Cem Say

Context-free grammar simplification is a subject of high importance in computer language processing technology as well as in formal language theory. This paper presents a formalization, using the Coq proof assistant, of the fact that…

形式语言与自动机理论 · 计算机科学 2015-10-19 Marcus V. M. Ramos , Ruy J. G. B. de Queiroz

In this paper, we propose a globally normalized model for context-free grammar (CFG)-based semantic parsing. Instead of predicting a probability, our model predicts a real-valued score at each step and does not suffer from the label bias…

计算与语言 · 计算机科学 2021-06-08 Chenyang Huang , Wei Yang , Yanshuai Cao , Osmar Zaïane , Lili Mou

Static analyzers based on abstract interpretation are complex pieces of software implementing delicate algorithms. Even if static analysis techniques are well understood, their implementation on real languages is still error-prone. This…

编程语言 · 计算机科学 2013-05-02 Sandrine Blazy , Vincent Laporte , André Maroneze , David Pichardie

This paper proposes the use of ``pattern-based'' context-free grammars as a basis for building machine translation (MT) systems, which are now being adopted as personal tools by a broad range of users in the cyberspace society. We discuss…

cmp-lg · 计算机科学 2008-02-03 Koichi Takeda

Boolean grammars generalize context-free rewriting by extending the possibilities when dealing with different rules for the same nonterminal symbol. By allowing not only disjunction (as in the case of usual context-free grammars), but also…

形式语言与自动机理论 · 计算机科学 2024-09-12 Patrik Adrián , György Vaszil

In this paper we demonstrate a technique for developing high performance applications with strong correctness guarantees. We use a theorem prover to derive a high-level specification of the application that includes correctness invariants…

编程语言 · 计算机科学 2024-06-18 Artjoms Sinkarovs , Thomas Koopman , Sven-Bodo Scholz

Although adequate models of human language for syntactic analysis and semantic interpretation are of at least context-free complexity, for applications such as speech processing in which speed is important finite-state models are often…

cmp-lg · 计算机科学 2007-05-23 Edmund Grimley-Evans

Automatic differentiation (AD) is a technique for computing the derivative of a function represented by a program. This technique is considered as the de-facto standard for computing the differentiation in many machine learning and…