中文

Fast Context-Free Grammar Parsing Requires Fast Boolean Matrix Multiplication

计算与语言 2007-05-23 v1 数据结构与算法

摘要

In 1975, Valiant showed that Boolean matrix multiplication can be used for parsing context-free grammars (CFGs), yielding the asympotically fastest (although not practical) CFG parsing algorithm known. We prove a dual result: any CFG parser with time complexity O(gn3\epsilson)O(g n^{3 - \epsilson}), where gg is the size of the grammar and nn is the length of the input string, can be efficiently converted into an algorithm to multiply m×mm \times m Boolean matrices in time O(m3ϵ/3)O(m^{3 - \epsilon/3}). Given that practical, substantially sub-cubic Boolean matrix multiplication algorithms have been quite difficult to find, we thus explain why there has been little progress in developing practical, substantially sub-cubic general CFG parsers. In proving this result, we also develop a formalization of the notion of parsing.

关键词

引用

@article{arxiv.cs/0112018,
  title  = {Fast Context-Free Grammar Parsing Requires Fast Boolean Matrix Multiplication},
  author = {Lillian Lee},
  journal= {arXiv preprint arXiv:cs/0112018},
  year   = {2007}
}

备注

To appear in Journal of the ACM