SOTAVerified

LATE Ain'T Earley: A Faster Parallel Earley Parser

2018-07-16Code Available0· sign in to hype

Peter Ahrens, John Feser, Robin Hui

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

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.

Reproductions