Iterative and Interactive Method for Grammar Selection