Chart parser using the Earley algorithm according to the account in James F. Allen, Natural Language Understanding