In a method which can be executed on a computer for detecting a degree of similarity between two documents which include a text object, a non-text object or a composite thereof, the method comprises a step to convert each document data into a digraph and to store the same; and a step to calculate a degree of similarity between the converted digraphs by an arithmetic processing of the computer taking into consideration of an importance of the object. 上記課題を解決するために第1の態様として、2つの文書データの類似度判定を支援するコンピュータで実行可能な方法であって、前記文書はテキスト、非テキスト、若しくはそれらの混在からなるオブジェクトを含んでおり、前記文書データの各々を有向グラフに変換して記憶するステップと、変換された有向グラフ間の類似度を前記コンピュータの演算処理により計算するステップであって、オブジェクトの重要度を用いて、前記類似度を計算するステップを有する方法、を提供する。 - 特許庁