Functional chart parsing of context-free grammars

被引:1
|
作者
Ljunglöf, P
机构
[1] Univ Gothenburg, Dept Comp Sci, S-41296 Gothenburg, Sweden
[2] Chalmers Univ Technol, S-41296 Gothenburg, Sweden
关键词
D O I
10.1017/S0956796804005106
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper implements a simple and elegant version of bottom-up Kilbury chart parsing (Kilbury, 1985; Wiren, 4992). This is one of the many chart parsing variants, which are all based on the data structure of charts. The chart parsing process uses inference rules to add new edges to the chart, and parsing is complete when no further edges can be added. One novel aspect of this implementation is that it doesn't have to rely on a global state for the implementation of the chart. This makes the code clean, elegant and declarative, while still having the same space and time complexity as the standard imperative implementations.
引用
收藏
页码:669 / 680
页数:12
相关论文
共 50 条
  • [31] On translating context-free grammars into Lambek grammars
    S. L. Kuznetsov
    Proceedings of the Steklov Institute of Mathematics, 2015, 290 : 63 - 69
  • [32] On restricted context-free grammars
    Dassow, Juergen
    Masopust, Tomas
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2012, 78 (01) : 293 - 304
  • [33] On Restricted Context-Free Grammars
    Dassow, Juergen
    Masopust, Tomas
    DEVELOPMENTS IN LANGUAGE THEORY, 2010, 6224 : 434 - +
  • [34] RELATEDNESS OF CONTEXT-FREE GRAMMARS
    WALTER, HKG
    COMPUTING, 1979, 22 (01) : 31 - 58
  • [35] Ordered Context-Free Grammars
    van der Merwe, Brink
    Berglund, Martin
    IMPLEMENTATION AND APPLICATION OF AUTOMATA (CIAA 2022), 2022, 13266 : 53 - 66
  • [36] Context-Free Categorical Grammars
    Bauderon, Michel
    Chen, Rui
    Ly, Olivier
    ALGEBRAIC INFORMATICS, 2009, 5725 : 160 - +
  • [37] REDUCTION OF CONTEXT-FREE GRAMMARS
    TANIGUCHI, K
    KASAMI, T
    INFORMATION AND CONTROL, 1970, 17 (01): : 92 - +
  • [38] On Muller Context-Free Grammars
    Esik, Zoltan
    Ivan, Szabolcs
    DEVELOPMENTS IN LANGUAGE THEORY, 2010, 6224 : 173 - 184
  • [39] Evolving context-free grammars
    Cyre, W
    PROCEEDINGS OF THE 6TH JOINT CONFERENCE ON INFORMATION SCIENCES, 2002, : 643 - 646
  • [40] Pullback Grammars Are Context-Free
    Bauderon, Michel
    Chen, Rui
    Ly, Olivier
    GRAPH TRANSFORMATIONS, ICGT 2008, 2008, 5214 : 366 - +