2001
DOI: 10.1007/3-540-45306-7_16
|View full text |Cite
|
Sign up to set email alerts
|

Directly-Executable Earley Parsing

Abstract: Deterministic parsing techniques are typically used in favor of general parsing algorithms for efficiency reasons. However, general algorithms such as Earley's method are more powerful and also easier for developers to use, because no seemingly arbitrary restrictions are placed on the grammar. We describe how to narrow the performance gap between general and deterministic parsers, constructing a directlyexecutable Earley parser that can reach speeds comparable to deterministic methods even on grammars for comm… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1

Citation Types

0
11
0

Year Published

2001
2001
2024
2024

Publication Types

Select...
3
3
1
1

Relationship

1
7

Authors

Journals

citations
Cited by 12 publications
(11 citation statements)
references
References 19 publications
0
11
0
Order By: Relevance
“…Current research is making these algorithms faster [3,4,5,11,17]. My colleague and I have recently made an Earley parser run in time comparable to Bison.…”
Section: The Case For General Parsing Algorithmsmentioning
confidence: 95%
“…Current research is making these algorithms faster [3,4,5,11,17]. My colleague and I have recently made an Earley parser run in time comparable to Bison.…”
Section: The Case For General Parsing Algorithmsmentioning
confidence: 95%
“…Only manually re-writing the grammar (that will end-up resembling a lot like the PEG version, studied below) can produce an unambiguous Earley parse. Later enhancements to the algorithm, have focused on empty-rule handling [3] parallelism [11], complexity [30,27] and performance [2,31,32]. The ambiguous output of Earley is widely considered a feature (especially for Natural Language Processing) rather than a problem, with the exception of precedence handling through external directives [27].…”
Section: Problem and Related Workmentioning
confidence: 99%
“…Since their introduction in 2004, Parsing Expression Grammars have been gaining widespread adoption both in industry and academia. More than 400 subsequent works 1 cite B. Ford's original paper, while a total of 29 implementations in 14 different programming languages are reported in active use 2 . Nevertheless reviewing PEG-related bibliography reveals that the original argumentation in favor of PEGs has actually been weakened by subsequent work, regarding basic parsing features such as (a) recursion handling and (b) associativity support.…”
mentioning
confidence: 99%
“…An Earley parser variation described in [4] moves in a different direction: the authors of [4] propose a version of Earley parser that is suitable for parsing reflective (more often referred as adaptable) grammars, that can be modified during parsing to augment the input language. A separate paper [5], describes how to translate Earley grammars into C programming language, thus eliminating many of dynamic elements of the original parser and improving the overall parsing performance.…”
Section: Related Workmentioning
confidence: 99%