中文
相关论文

相关论文: LL(1) Parsing with Derivatives and Zippers

200 篇论文

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

This paper presents a new derivative parsing algorithm for parsing expression grammars; this new algorithm is both simpler and faster than the existing parsing expression derivative algorithm presented by Moss. This new algorithm improves…

形式语言与自动机理论 · 计算机科学 2018-08-28 Aaron Moss

We present a novel parsing algorithm for all context-free languages, based on computing the relation between configurations and reaching transitions in a recursive transition network. Parsing complexity w.r.t. input length matches the state…

形式语言与自动机理论 · 计算机科学 2019-02-19 Grzegorz Herman

We present two novel approaches to parsing context-free languages. The first approach is based on an extension of Brzozowski's derivative from regular expressions to context-free grammars. The second approach is based on a generalization of…

编程语言 · 计算机科学 2015-03-17 Matthew Might , David Darais

We present a system for generating parsers based directly on the metaphor of parsing as deduction. Parsing algorithms can be represented directly as deduction systems, and a single deduction engine can interpret such deduction systems so as…

cmp-lg · 计算机科学 2008-02-03 Stuart M. Shieber , Yves Schabes , Fernando C. N. Pereira

Semantic parsing, i.e., the automatic derivation of meaning representation such as an instantiated predicate-argument structure for a sentence, plays a critical role in deep processing of natural language. Unlike all other top systems of…

计算与语言 · 计算机科学 2014-01-25 Hai Zhao , Xiaotian Zhang , Chunyu Kit

For performance and verification in machine learning, new methods have recently been proposed that optimise learning systems to satisfy formally expressed logical properties. Among these methods, differentiable logics (DLs) are used to…

计算机科学中的逻辑 · 计算机科学 2024-07-08 Reynald Affeldt , Alessandro Bruni , Ekaterina Komendantskaya , Natalia Ślusarz , Kathrin Stark

The LZ-End parsing [Kreft & Navarro, 2011] of an input string yields compression competitive with the popular Lempel-Ziv 77 scheme, but also allows for efficient random access. Kempa and Kosolobov showed that the parsing can be computed in…

数据结构与算法 · 计算机科学 2024-09-18 Patrick Dinklage

This paper introduces a new derivative parsing algorithm for recognition of parsing expression grammars. Derivative parsing is shown to have a polynomial worst-case time bound, an improvement on the exponential bound of the recursive…

形式语言与自动机理论 · 计算机科学 2017-08-23 Aaron Moss

Large Language Models (LLMs) can achieve enhanced complex problem-solving through test-time computing scaling, yet this often entails longer contexts and numerous reasoning token costs. In this paper, we propose an efficient test-time…

计算与语言 · 计算机科学 2025-04-02 Zhaojian Yu , Yinghao Wu , Yilun Zhao , Arman Cohan , Xiao-Ping Zhang

A zipper is a powerful technique of representing a purely functional data structure in a way that allows fast access to a specific element. It is often used in cases where the imperative data structures would use a mutable pointer. However,…

编程语言 · 计算机科学 2019-08-30 Vít Šefl

We consider, as a means of making programming languages more flexible and powerful, a parsing algorithm in which the parser may freely modify the grammar while parsing. We are particularly interested in a modification of the canonical LR(1)…

编程语言 · 计算机科学 2007-05-23 Blake Hegerle

The design of an LR parser based on interleaving the atomic symbol processing of a context-free backbone grammar with the full constraints of the underlying unification grammar is described. The parser employs a set of reduced constraints…

cmp-lg · 计算机科学 2008-02-03 Christer Samuelsson

In this work we propose a simple and efficient framework for learning sentence representations from unlabelled data. Drawing inspiration from the distributional hypothesis and recent work on learning sentence representations, we reformulate…

计算与语言 · 计算机科学 2018-03-09 Lajanugen Logeswaran , Honglak Lee

The LL(finite) parsing strategy for parsing of LL(k) grammars where k needs not to be known is presented. The strategy parses input in linear time, uses arbitrary but always minimal lookahead necessary to disambiguate between alternatives…

编程语言 · 计算机科学 2021-01-21 Peter Belcak

This paper presents an extension of the GLL parsing algorithm for context-free grammars which also supports parsing expression grammars with ordered choice and lookahead. The new PEGLL algorithm retains support for unordered choice, and…

形式语言与自动机理论 · 计算机科学 2022-08-29 Aaron Moss , Brynn Harrington , Emily Hoppe

Large Language Models (LLMs), particularly smaller variants, still struggle with complex reasoning tasks. While inference-time prompting can guide reasoning, existing methods often rely on sequential queries. Ensemble approaches offer a…

计算与语言 · 计算机科学 2025-10-28 Gregory Kang Ruey Lau , Wenyang Hu , Diwen Liu , Jizhuo Chen , See-Kiong Ng , Bryan Kian Hsiang Low

Large language models (LLMs) have shown promising performance across diverse domains. Many practical applications of LLMs, such as code completion and structured data extraction, require adherence to syntactic constraints specified by a…

机器学习 · 计算机科学 2025-08-18 Niels Mündler , Jasper Dekoninck , Martin Vechev

In this paper, we study the problem of optimizing a linear program whose variables are the answers to a conjunctive query. For this we propose the language LP(CQ) for specifying linear programs whose constraints and objective functions…

数据库 · 计算机科学 2024-08-07 Florent Capelli , Nicolas Crosetti , Joachim Niehren , Jan Ramon

Understanding how linguistic structures are encoded in contextualized embedding could help explain their impressive performance across NLP@. Existing approaches for probing them usually call for training classifiers and use the accuracy,…

计算与语言 · 计算机科学 2021-04-14 Yichu Zhou , Vivek Srikumar
‹ 上一页 1 2 3 10 下一页 ›