In the case where a document when there is a transaction and a document completed with a short answer exist in the same document data, words appearing in a topic having a high frequency or the modifications involving the words are weighed heavily, and words or the like appearing in a topic completed with a relatively short answer are evaluated lightly.