Parsing Linear Context-Free Rewriting Systems with Fast Matrix Multiplication

04/30/2015
by   Shay B. Cohen, et al.
0

We describe a matrix multiplication recognition algorithm for a subset of binary linear context-free rewriting systems (LCFRS) with running time O(n^ω d) where M(m) = O(m^ω) is the running time for m × m matrix multiplication and d is the "contact rank" of the LCFRS -- the maximal number of combination and non-combination points that appear in the grammar rules. We also show that this algorithm can be used as a subroutine to get a recognition algorithm for general binary LCFRS with running time O(n^ω d + 1). The currently best known ω is smaller than 2.38. Our result provides another proof for the best known result for parsing mildly context sensitive formalisms such as combinatory categorial grammars, head grammars, linear indexed grammars, and tree adjoining grammars, which can be parsed in time O(n^4.76). It also shows that inversion transduction grammars can be parsed in time O(n^5.76). In addition, binary LCFRS subsumes many other formalisms and types of grammars, for some of which we also improve the asymptotic complexity of parsing.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/02/2018

Clique-Based Lower Bounds for Parsing Tree-Adjoining Grammars

Tree-adjoining grammars are a generalization of context-free grammars th...
research
06/17/2021

Faster Sparse Matrix Inversion and Rank Computation in Finite Fields

We improve the current best running time value to invert sparse matrices...
research
02/19/2020

Fast Multi-Subset Transform and Weighted Sums Over Acyclic Digraphs

The zeta and Moebius transforms over the subset lattice of n elements an...
research
07/13/2022

Fitting Semiparametric Cumulative Probability Models for Big Data

Cumulative probability models (CPMs) are a robust alternative to linear ...
research
01/30/2019

LU factorization with errors *

We present new algorithms to detect and correct errors in the lower-uppe...
research
12/09/2020

Matrix Multiplication and Binary Space Partitioning Trees : An Exploration

Herein we explore a dual tree algorithm for matrix multiplication of A∈ℝ...
research
06/23/2018

Almost optimal Boolean matrix multiplication [BMM]-by multi-encoding of rows and columns

The Boolean product R = P · Q of two { 0, 1} m × m matrices is R(j,k...

Please sign up or login with your details

Forgot password? Click here to reset