A text classifier 90 for answer identification makes it possible to identify, with high accuracy, an answer candidate for a question, by effectively using background knowledge relating to the question, in order to extract an answer candidate to the question, the text classifier 90 including: a Bidirectional Encoder Representations from Transformers (BERT) that receives, as input, a question and an answer candidate; a knowledge integration transformer that receives the output of the BERT as input; a background knowledge expression generator that receives a question and an answer as input, and outputs a vector group of background knowledge expressions for the question; and a vector transformation unit that transforms the question and the answer candidate, respectively, to embedded vectors, and inputs same to the background knowledge expression generator. The knowledge integration transformer receives the background knowledge expression vector group as attention, and outputs a label indicating whether the answer candidate includes the correct answer to the question.
TEXT CLASSIFIER FOR ANSWER IDENTIFICATION, BACKGROUND KNOWLEDGE EXPRESSION GENERATOR, TRAINING DEVICE THEREFOR, AND COMPUTER PROGRAM