[Problem] To provide a context analysis device that is able to utilize contextual features comprehensively and efficiently to perform context analysis with high precision. [Solution] A context analysis device 160 that includes: an analysis control unit 230 that detects a predicate from which a subject or the like has been omitted, and a supplement candidate therefor; and an anaphor/omission analysis unit 216 that determines a word that should be supplemented. The anaphor/omission analysis unit 216 includes: word vector generation units 206, 208, 210, and 212, which, for supplement candidates, generate multiple types of word vectors from a text 204; a learned weighting neural network 214 (or LSTM) which, for each supplement candidate, inputs a word vector and calculates a score indicating a probability that the word vector is the omitted word; and a list storage unit 234 and a supplement processing unit 236, which determine the supplement candidate having the best score. The word vectors at least include multiple word vectors each of which is extracted using character strings in the entire text other than the analysis subject and the candidates. Other words, such as deictic words, can be processed in the same manner.
CONTEXT ANALYSIS DEVICE AND COMPUTER PROGRAM THEREFOR