Functional chart parsing of context-free grammars
This paper implements a simple and elegant version of bottom-up Kilbury chart parsing (Kilbury, 1985; Wir´en, 1992). 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...
Gespeichert in:
Veröffentlicht in: | Journal of Functional Programming 2004-11, Vol.14 (6), p.669 |
---|---|
1. Verfasser: | |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | This paper implements a simple and elegant version of bottom-up Kilbury chart parsing
(Kilbury, 1985; Wir´en, 1992). 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 doesnt 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. |
---|---|
DOI: | 10.1017/S0956796804005106 |