快速上下文无关解析需要快速布尔矩阵乘法
Fast Context-Free Parsing Requires Fast Boolean Matrix Multiplication
摘要:
Valiant证明了布尔矩阵乘法(BMM)可以用于CFG解析。我们证明了一个对偶结果:在语法$G$和字符串$w$上按时间$O(|G||w|^{3 - \myeps})$运行的CFG解析器可用于按时间$O(m^{3 - \myeps/3})$乘$m \times m$布尔矩阵。在这个过程中,我们还提供了一个正式的定义,解析动机的一个非正式的概念,由于朗。我们的结果建立了第一个限制一般的CFG解析:一个快速,实用的CFG解析器将产生一个快速,实用的BMM算法,这是不相信存在。
英文摘要:
Valiant showed that Boolean matrix multiplication (BMM) can be used for CFG parsing. We prove a dual result: CFG parsers running in time $O(|G||w|^{3 - \myeps})$ on a grammar $G$ and a string $w$ can be used to multiply $m \times m$ Boolean matrices in time $O(m^{3 - \myeps/3})$. In the process we also provide a formal definition of parsing motivated by an informal notion due to Lang. Our result establishes one of the first limitations on general CFG parsing: a fast, practical CFG parser would yield a fast, practical BMM algorithm, which is not believed to exist.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。