Parsing Boolean grammars over a one-letter alphabet using online convolution
详细信息    查看全文
文摘
Consider context-free grammars generating strings over a one-letter alphabet. For the membership problem for such grammars, stated as ¡°Given a grammar and a string , determine whether is generated by ¡±, only a na?ve -time algorithm is known. This paper develops a new algorithm solving this problem, which is based upon fast multiplication of integers, works in time , and is applicable to context-free grammars augmented with Boolean operations, known as Boolean grammars. For unambiguous grammars, the running time of the algorithm is reduced to . The algorithm is based upon (a simplification of) the online integer multiplication algorithm by Fischer and Stockmeyer [M.J. Fischer, L.J. Stockmeyer, Fast on-line integer multiplication, Journal of Computer and System Sciences 9 (3) (1974) 317-331].

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700