LATE Ain'T Earley: A Faster Parallel Earley Parser

07/16/2018
by   Peter Ahrens, et al.
0

We present the LATE algorithm, an asynchronous variant of the Earley algorithm for parsing context-free grammars. The Earley algorithm is naturally task-based, but is difficult to parallelize because of dependencies between the tasks. We present the LATE algorithm, which uses additional data structures to maintain information about the state of the parse so that work items may be processed in any order. This property allows the LATE algorithm to be sped up using task parallelism. We show that the LATE algorithm can achieve a 120x speedup over the Earley algorithm on a natural language task.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/17/2019

Marpa, A practical general parser: the recognizer

The Marpa recognizer is described. Marpa is a practical and fully implem...
research
03/01/2022

Parsing Randomness: Unifying and Differentiating Parsers and Random Generators

"A generator is a parser of randomness." This perspective on generators ...
research
01/11/2017

Parsing Universal Dependencies without training

We propose UDP, the first training-free parser for Universal Dependencie...
research
11/28/2019

LL(1) Parsing with Derivatives and Zippers

In this paper, we present an efficient, functional, and formally verifie...
research
06/24/2023

On the seeds and the great-grandchildren of a numerical semigroup

We present a revisit of the seeds algorithm to explore the semigroup tre...
research
04/11/2023

flap: A Deterministic Parser with Fused Lexing

Lexers and parsers are typically defined separately and connected by a t...
research
08/12/2023

A parallel algorithm for Delaunay triangulation of moving points on the plane

Delaunay Triangulation(DT) is one of the important geometric problems th...

Please sign up or login with your details

Forgot password? Click here to reset