Concepedia

Publication | Closed Access

Techniques for automatic memoization with applications to context-free parsing

76

Citations

2

References

1991

Year

Peter Norvig

Unknown Venue

Abstract

It is shown that a process similar to Earley's algorithm can be generated by a simple top-down backtracking parser, when augmented by automatic memoization. The memoized parser has the same complexity as Earley's algorithm, but parses constituents in a different order. Techniques for deriving memo functions are described, with a complete implementation in Common Lisp, and an outline of a macro-based approach for other languages.

References

YearCitations

Page 1