A context sensitive tabular parsing algorithm

ACM-SE 28 Pub Date : 1990-04-01 DOI:10.1145/98949.99012
F. Hadlock
{"title":"A context sensitive tabular parsing algorithm","authors":"F. Hadlock","doi":"10.1145/98949.99012","DOIUrl":null,"url":null,"abstract":"Tlie parsing algorithm due to Younger is applica­ ble to any context free language but requires that the grammar be in Chomsky normal form. Resides es­ tablishing an 0 (n'*) upper bound to time complex­ ity needed to parse context free languages, Younger’s algorithm has the advantages that it docs not re­ quire the grammar to be unambiguous and that it degrades gracefully while parsing \"ungrammatical” strings. These are advantages desirable in processing nnlurnl language, if not coupled with the restriction that the grammar be in Chomsky normal form. In this article, a general tabular algorithm is de­ veloped which uses the tabular structure employed by Younger’s algorithm. Instead of nonterminal charac­ ters (or syntactic types) as table entries, a construct is used which is similar to the LR(0) items employed by Knulh’s LR(k) parsing algorithm, and by the Gra­ ham, Harrison, R u e e o algorithm. Graham, Harrison and Russo use these items as table entries, obviating the need to employ Chomsky normal form. The algo­ rithm presented in this article employs such items for not only the replacement phrase, but also the left and right context strings in context sensitive rules. The resulting algorithm is applicable to context sensitive grammars without erasure rules and is suitable as a platform for semantic case frame analysis of natural","PeriodicalId":409883,"journal":{"name":"ACM-SE 28","volume":"6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1990-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM-SE 28","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/98949.99012","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Tlie parsing algorithm due to Younger is applica­ ble to any context free language but requires that the grammar be in Chomsky normal form. Resides es­ tablishing an 0 (n'*) upper bound to time complex­ ity needed to parse context free languages, Younger’s algorithm has the advantages that it docs not re­ quire the grammar to be unambiguous and that it degrades gracefully while parsing "ungrammatical” strings. These are advantages desirable in processing nnlurnl language, if not coupled with the restriction that the grammar be in Chomsky normal form. In this article, a general tabular algorithm is de­ veloped which uses the tabular structure employed by Younger’s algorithm. Instead of nonterminal charac­ ters (or syntactic types) as table entries, a construct is used which is similar to the LR(0) items employed by Knulh’s LR(k) parsing algorithm, and by the Gra­ ham, Harrison, R u e e o algorithm. Graham, Harrison and Russo use these items as table entries, obviating the need to employ Chomsky normal form. The algo­ rithm presented in this article employs such items for not only the replacement phrase, but also the left and right context strings in context sensitive rules. The resulting algorithm is applicable to context sensitive grammars without erasure rules and is suitable as a platform for semantic case frame analysis of natural
上下文敏感的表格解析算法
杨格的解析算法适用于任何上下文无关的语言,但要求语法是乔姆斯基范式。Younger的算法的优点是,它不要求语法是明确的,而且在解析“不符合语法”的字符串时,它会优雅地降级,从而为解析上下文无关的语言建立一个0 (n'*)的时间复杂度上限。这些优点在处理自然语言时是可取的,如果不加上语法必须是乔姆斯基范式的限制的话。本文利用杨格算法所采用的表格结构,开发了一种通用的表格算法。代替非终结字符(或语法类型)作为表项,使用了一种类似于Knulh的LR(k)解析算法和Gra - ham, Harrison, R - u - e - o算法所使用的LR(0)项的结构。Graham, Harrison和Russo使用这些条目作为表项,避免了使用乔姆斯基范式的需要。本文提出的算法不仅将这些项用于替换短语,而且还用于上下文敏感规则中的左右上下文字符串。所得到的算法适用于上下文敏感的无擦除规则的语法,适合作为自然的语义用例框架分析平台
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信