The invention discloses a homework correction device. The homework correction device comprises an input module, a recognition module, a
knowledge base module, an
inference rule base module, an automatic revising module, an automatic checking module, an automatic correction module and a recording module, wherein the input module is used for acquiring text information or picture information of homework to be corrected; the recognition module is used for recognizing the text information or picture information as knowledge points; the
knowledge base module is used for expressing the knowledge points through
predicate logic; the
inference rule base module is used for establishing an
inference rule according to the generally acknowledged truth, the theorem, the definition and the formula; the automatic revising module is used for discovering errors occurring in the solving process and obtaining the follow-up correct solving process through the
backtracking technology; the automatic checkingmodule is used for checking the completeness of the solving process of students; the automatic correction module is used for calling the recognition module, the
knowledge base module, the inference rule base module, the automatic revising module and the automatic checking module for automatically correcting and revising the homework, and storing the correction result; the recording module is usedfor recording the automatically revised part of the homework or the incomplete part in automatic checking, and the knowledge points and the inference rule relevant to the parts.