An instructor wants to grade answers to descriptive questions automatically. The instructor has a template best answer that she/he has developed and wants to use the same to grade descriptive answers of students. The comparison results between the template and the student provided answer could be categorical (right vs wrong) or continuous (75% similarity). You are expected to develop an AI algorithm that can do this comparison automatically. Please develop an algorithm through any appropriate concept.