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
相关论文
共 9 条
  • [1] [Anonymous], 1997, PARSING SCHEMATA
  • [2] AN EFFICIENT CONTEXT-FREE PARSING ALGORITHM
    EARLEY, J
    [J]. COMMUNICATIONS OF THE ACM, 1970, 13 (02) : 94 - &
  • [3] KASAMI T, 1965, AFCLR65758
  • [4] Kay M., 1986, READINGS NATURAL LAN, P35
  • [5] KILBURY J, 1985, KONTEXTFREIE SYNTAXE
  • [6] LJUNGLOF P, 2002, THESIS GOTEBORG U CH
  • [7] PRINCIPLES AND IMPLEMENTATION OF DEDUCTIVE PARSING
    SHIEBER, SM
    SCHABES, Y
    PEREIRA, FCN
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1995, 24 (1-2): : 3 - 36
  • [8] WIREN M, 1992, THESIS LINKOPING U L
  • [9] RECOGNITION AND PARSING OF CONTEXT-FREE LANGUAGES IN TIME N3
    YOUNGER, DH
    [J]. INFORMATION AND CONTROL, 1967, 10 (02): : 189 - &