Shaw's phrase structure memorization program