Update EarleyParser class