Techniques for Automatic Memoization with Applications to Context-Free Parsing

Peter Norvig