Index Grammar Correction