JP2006190235A - Document classifying method, document classifying program and document classifying device - Google Patents

Document classifying method, document classifying program and document classifying device Download PDF

Info

Publication number
JP2006190235A
JP2006190235A JP2005058100A JP2005058100A JP2006190235A JP 2006190235 A JP2006190235 A JP 2006190235A JP 2005058100 A JP2005058100 A JP 2005058100A JP 2005058100 A JP2005058100 A JP 2005058100A JP 2006190235 A JP2006190235 A JP 2006190235A
Authority
JP
Japan
Prior art keywords
document
documents
inter
classification
calculating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005058100A
Other languages
Japanese (ja)
Other versions
JP4545614B2 (en
Inventor
Yosuke Kunishi
洋介 国司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shin Etsu Polymer Co Ltd
Shin Etsu Chemical Co Ltd
Original Assignee
Shin Etsu Polymer Co Ltd
Shin Etsu Chemical Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shin Etsu Polymer Co Ltd, Shin Etsu Chemical Co Ltd filed Critical Shin Etsu Polymer Co Ltd
Priority to JP2005058100A priority Critical patent/JP4545614B2/en
Publication of JP2006190235A publication Critical patent/JP2006190235A/en
Application granted granted Critical
Publication of JP4545614B2 publication Critical patent/JP4545614B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a document classifying method for showing a relationship of similarity between a plurality of documents to be classified in a visually recognizable manner. <P>SOLUTION: A stable document-to-document distance between two documents out of the documents to be classified is calculated depending on a degree of similarity between both documents, and an initially arranged document is selected from the document to be classified and its position coordinate is initialized. In accordance with a difference between the length of a spacing vector to the other initially arranged document and the stable document-to-document distance and the direction of the spacing vector, a step of calculating a document-to-document force vector to be received from the other initially arranged document and a step of calculating the position coordinate at the next processing point depending on the document-to-document force vector are repeated until each initially arranged document is converged, to find a temporary position coordinate. Then, arranged documents are added several times and the temporary position coordinate is calculated, and the step of calculating the document-to-document force vector and a step of updating the position coordinate are repeated until all documents to be classified are finally converged. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、複数の分類対象文書をそれぞれの内容に応じて分類する文書分類方法に関するものである。   The present invention relates to a document classification method for classifying a plurality of documents to be classified according to their contents.

従来の文書分類装置としては、例えば特許文献1ないし3,2に記載されたものがある。特許文献4は、予め組み合わせが決められているノードとアークを視覚的に好適なバランスでディスプレイ空間に配置するグラフィックス作成方法に関する技術である。特許文献1に記載された文書分類装置においては、複数の分類対象文書について、文書間の距離に応じて、各文書を予め与えられた複数のカテゴリの何れかに分類している。また、特許文献2に記載された文書分類装置においては、複数の分類対象文書について各文書の語句ベクトルと、2次元的に配列されたセルの語句ベクトルとの距離に応じて、各文書を上記セルの何れかに分類している。
特開平8−221447号公報 特許第3385297号公報 特開2003−288352号公報 特開2002−312803号公報
Examples of conventional document classification devices include those described in Patent Documents 1 to 3 and 2, for example. Patent Document 4 is a technique related to a graphics creation method in which nodes and arcs whose combinations are determined in advance are arranged in a display space with a visually suitable balance. In the document classification device described in Patent Document 1, each of a plurality of classification target documents is classified into one of a plurality of predetermined categories according to the distance between the documents. Further, in the document classification device described in Patent Document 2, each document is classified as described above according to the distance between the word vector of each document and the word vectors of cells arranged two-dimensionally for a plurality of documents to be classified. It is classified as one of the cells.
Japanese Patent Laid-Open No. 8-222447 Japanese Patent No. 3385297 JP 2003-288352 A JP 2002-312803 A

特許文献1,2に記載された文書分類装置では、カテゴリ単位或いはセル単位で各文書を分類している。これによれば、複数の分類対象文書全体において文書間の内容に応じた位置関係を大まかに知ることができる。しかしながら、これらの文書分類装置では、同一のカテゴリ或いはセルに分類された複数の文書間の位置関係まで知ることができない。仮に、同一のカテゴリ或いはセル内の文書を更に詳細に分類しようとすれば、それらの文書の内容をユーザが一つ一つ確認する必要があり、人手による作業負担が大きくなってしまう。
特許文献3に記載されたスプリングモデルには配置が収束するまでの計算量が膨大になるという問題点があった。また、特許文献4にはディスプレイ空間にノードを順次追加しながら配置する方法が開示されている。しかし、特許文献4のグラフィックス作成方法は、ノード間の相互関係をノード間の距離として表すものではなく、本発明におけるように新規の配置点(ノード、文書)を追加することにより既存の全ての配置点の位置を再構成しなければならないものではない。特許文献4で開示されているノードの追加方法は、基本的には既存のノードを固定しつつ新規のノードを追加していくものであり、追加の際、近傍の既存ノードの位置のみが再構成されるというものである。特許文献4のグラフィックス作成方法には、これを文書分類に適用すると配置点を一つ加えるごとに全ての配置点の位置を再構成しなければならないのでかえって計算量が増大するという問題点があった。
本発明は、上記課題に鑑みてなされたものであり、複数の分類対象文書内における文書間の位置関係を詳細に知ることを可能ならしめ、加えて分類対象文書の数が多くなっても計算量の増大を抑制することを可能ならしめる文書分類方法、文書分類プログラム及び文書分類装置を提供することを目的とする。
In the document classification apparatuses described in Patent Documents 1 and 2, each document is classified in units of categories or cells. According to this, it is possible to roughly know the positional relationship according to the content between documents in the entire plurality of classification target documents. However, these document classification devices cannot know the positional relationship between a plurality of documents classified into the same category or cell. If it is intended to classify documents in the same category or cell in more detail, it is necessary for the user to check the contents of those documents one by one, which increases the burden of manual work.
The spring model described in Patent Document 3 has a problem that the amount of calculation until the arrangement converges becomes enormous. Patent Document 4 discloses a method of arranging nodes while sequentially adding nodes to the display space. However, the graphics creation method of Patent Document 4 does not represent the interrelationship between nodes as a distance between nodes, but adds all the existing arrangement points (nodes, documents) as in the present invention. It is not necessary to reconstruct the positions of the arrangement points. The node addition method disclosed in Patent Document 4 is basically a method of adding a new node while fixing the existing node. At the time of addition, only the position of the existing node in the vicinity is re-executed. It is composed. When the graphics creation method of Patent Document 4 is applied to document classification, the position of all placement points must be reconstructed every time one placement point is added, which in turn increases the amount of calculation. there were.
The present invention has been made in view of the above problems, and makes it possible to know in detail the positional relationship between documents in a plurality of classification target documents, and in addition, even if the number of classification target documents increases. An object of the present invention is to provide a document classification method, a document classification program, and a document classification device that make it possible to suppress an increase in the amount.

本発明の文書分類方法は、複数の分類対象文書をそれぞれの内容に応じて分類する文書分類方法であって、前記分類対象文書のうちの各2文書間の安定文書間距離を、両文書が類似する程度に応じて算出する第1のステップと、前記分類対象文書から初期配置文書を選択する第2のステップと、各前記初期配置文書が表示座標系上で当初配置される位置座標を算出する第3のステップと、配置された前記初期配置文書のうちの各2文書間について、現処理時点(第4ないし6のステップの繰返処理(又は第10及び11のステップの繰返処理)中のある回における第6のステップ(又は第11のステップ)実行前のある時点)における前記表示座標系上の一方の文書から他方の文書への離間ベクトルを算出し、各配置された前記初期配置文書について、前記離間ベクトルの長さと前記安定文書間距離との差及び前記離間ベクトルの方向に基づいて、他のある初期配置文書から受ける文書間力ベクトルを算出する第4のステップと、各配置された前記初期配置文書について、他の各前記初期配置文書から受ける文書間力ベクトルを総和して総和文書間力ベクトルを算出する第5のステップと、各配置された前記初期配置文書について、前記総和文書間力ベクトルに応じて次回処理時点(第4ないし6のステップの繰返処理(又は第10及び11のステップの繰返処理)中の前記ある回の次の回における第6のステップ(又は第11のステップ)実行前のある時点)における位置座標を算出する第6のステップと、前記第4ないし6のステップの繰返処理の実行中に前記初期配置文書の位置座標の収束を判断し、当該繰返処理を終了させる第7のステップと、前記分類対象文書から新たに前記表示座標系に組み入れる次期配置文書を選択する第8のステップと、各前記次期配置文書が前記表示座標系において当初配置される位置座標を算出する第9のステップと、新たに配置された前記次期配置文書について、既存の配置文書から受ける文書間力ベクトルを総和して総和文書間力ベクトルを算出する第10のステップと、新たに配置された前記次期配置文書について、前記総和文書間力ベクトルに応じて次回処理時点における位置座標を算出する第11のステップと、前記第10及び11のステップの繰返処理の実行中に前記次期配置文書の位置座標の収束を判断し、当該繰返処理を終了させる第12のステップとを備えることを特徴とする。   The document classification method of the present invention is a document classification method for classifying a plurality of classification target documents according to their contents, and the distance between stable documents between two documents among the classification target documents is determined by both documents. A first step of calculating according to the degree of similarity; a second step of selecting an initially arranged document from the classification target documents; and calculating position coordinates at which each of the initially arranged documents is initially arranged on a display coordinate system And the current processing point (repeating process of the fourth to sixth steps (or repeating process of the tenth and eleventh steps)) between each of the two documents among the arranged initial placement documents. A distance vector from one document to the other document on the display coordinate system at a certain time before execution of the sixth step (or eleventh step) at a certain time in Placement document A fourth step of calculating an inter-document force vector received from some other initially placed document based on the difference between the length of the spacing vector and the stable inter-document distance and the direction of the spacing vector; A fifth step of calculating a total document inter-force vector by summing up inter-document force vectors received from each of the other initial-arranged documents for the initial-arranged document; According to the inter-document force vector, the sixth step (or the next step after the certain time during the next processing time point (repeating process of the fourth to sixth steps (or repeating process of the tenth and eleventh steps)) (or An eleventh step) a sixth step of calculating position coordinates at a certain point in time) and the execution of the initial arrangement document during the repetition of the fourth to sixth steps. A seventh step of determining the convergence of the position coordinates and terminating the repetition process; an eighth step of selecting a next layout document to be newly incorporated into the display coordinate system from the classification target document; and each next layout A ninth step of calculating a position coordinate at which the document is initially arranged in the display coordinate system; and a sum of inter-document force vectors received from existing arranged documents for the newly arranged next arranged document A tenth step of calculating a force vector; an eleventh step of calculating a position coordinate at the next processing time according to the total inter-document force vector for the newly placed next-placed document; And a twelfth step of determining convergence of the position coordinates of the next arranged document during execution of the repeating process of the eleventh step and ending the repeating process. It is characterized by.

一連のステップを実行することにより、表示座標系において他の分類対象文書と安定文書間距離を保とうとする力が均衡するように分類対象文書が分配される。安定文書間距離は二つの分類対象文書の間の類似度に応じて算出されるので、分類対象文書の分布は、類似度の高い分類対象文書同士が近くに位置し、類似度の低い分類対象文書同士が遠くに位置するようになる。   By executing a series of steps, the classification target document is distributed so that the force to maintain the stable inter-document distance with other classification target documents in the display coordinate system is balanced. Since the stable inter-document distance is calculated according to the similarity between two documents to be classified, the distribution of the documents to be classified is classified objects with a high similarity between the documents to be classified close to each other. Documents are located far away.

単純に全ての分類対象文書について移動処理を一度に行うと、分類対象文書の数が多いとき膨大な計算量になる。また、類似度の大きい分類対象文書の間にこれらの分類対象文書との類似度の小さい分類対象文書が多数存在するとき、移動処理を繰り返してもこれらの分類対象文書が互いに近づかないという問題が生じる。しかし、まず少数の分類対象文書について移動処理を実行し、その後順次別の分類対象文書を加えて移動処理を行うことにより上記のような問題を回避することができる。なお、第9ないし12のステップは、時期配置文書中の全ての文書について一度に行う方法と、一つずつの文書について順次行う方法の両方が考えられる。
本発明の文書分類方法の別の側面は、複数の分類対象文書をそれぞれの内容に応じて分類する文書分類方法であって、前記分類対象文書のうちの各2文書間の安定文書間距離を、両文書が類似する程度に応じて算出する第1のステップと、前記分類対象文書から初期配置文書を選択する第2のステップと、各前記初期配置文書が表示座標系上で当初配置される位置座標を算出する第3のステップと、配置された前記初期配置文書のうちの各2文書間について、現処理時点における前記表示座標系上の一方の文書から他方の文書への離間ベクトルを算出し、各配置された前記初期配置文書について、前記離間ベクトルの長さと前記安定文書間距離との差及び前記離間ベクトルの方向に基づいて、他のある初期配置文書から受ける文書間力ベクトルを算出する第4のステップと、各配置された前記初期配置文書について、他の各前記初期配置文書から受ける文書間力ベクトルを総和して総和文書間力ベクトルを算出する第5のステップと、各配置された前記初期配置文書について、前記総和文書間力ベクトルに応じて次回処理時点における位置座標を算出する第6のステップと、前記第4ないし6のステップの繰返処理の実行中に前記初期配置文書の位置座標の収束を判断し、当該繰返処理を終了させる第7のステップと、前記分類対象文書から新たに前記表示座標系に組み入れる複数の次期配置文書を選択する第8のステップと、前記次期配置文書中の一つについて前記表示座標系において当初配置される位置座標を算出してこれを配置する第9のステップと、前記第9のステップで配置された前記次期配置文書について、既存の配置文書から受ける文書間力ベクトルを総和して総和文書間力ベクトルを算出する第10のステップと、前記第9のステップで配置された前記次期配置文書について、前記総和文書間力ベクトルに応じて次回処理時点における位置座標を算出する第11のステップと、前記第10及び11のステップの繰返処理の実行中に前記第9のステップで配置された前記次期配置文書の位置座標の収束を判断し、この時点での位置を前記第9のステップで配置された前記次期配置文書の仮決め位置とする第12のステップと、前記第9ないし12のステップを前記第8のステップで選択された次期配置文書の全てについて実行した後、全ての配置文書について前記第4ないし7のステップにおける繰返処理を実行する第13のステップと、残存している前記分類対象文書について、前記第8ないし13のステップを実行する第14のステップとを備えることを特徴とする。
本発明の文書分類方法の別の側面によれば、新規の分類対象文書が追加されるごとに行われるのは当該追加文書の位置の仮決めであり、第8のステップで選択された複数の次期配置文書が配置されるごとに全ての配置済み文書の位置の再構成が実行されるので、逆に計算量が増大するのを防止することができる。
本発明の文書分類方法は、各前記分類対象文書が自文書を識別する文書番号を有し、前記第1のステップにおける両文書が類似する程度を当該両文書が引用する前記分類対象文書の文書番号を用いて算出することが好適である。この文書分類方法によると、異なる言語で記載された分類対象文書を対象にすることができる。また、この文書分類方法において自文書を自文書が引用する前記分類対象文書の一つとみなすのが好適である。これにより、類似度の評価対象である2文書のうちの片方が他方を引用している事実を類似度の算出に反映させることができる。
If the transfer processing is simply performed for all the classification target documents at once, the amount of calculation becomes large when the number of classification target documents is large. In addition, there is a problem that when there are many classification target documents with low similarity to these classification target documents among classification target documents with high similarity, these classification target documents do not approach each other even if the moving process is repeated. Arise. However, the above-described problem can be avoided by first executing the movement process for a small number of classification target documents and then sequentially adding another classification target document and performing the movement process. Note that the ninth to twelfth steps may be both a method of performing all the documents in the time-arranged document at once and a method of sequentially performing each of the documents.
Another aspect of the document classification method of the present invention is a document classification method for classifying a plurality of classification target documents according to their contents, wherein a stable inter-document distance between each two documents of the classification target documents is determined. A first step of calculating according to the degree of similarity between the two documents, a second step of selecting an initially placed document from the classification target documents, and each of the initially placed documents is initially placed on a display coordinate system A third step of calculating position coordinates and a distance vector from one document to the other document on the display coordinate system at the time of the current processing is calculated between each two documents of the arranged initial arranged documents. Then, for each of the initially arranged documents arranged, the inter-document force vector received from some other initially arranged document based on the difference between the distance vector length and the stable inter-document distance and the direction of the separation vector. A fifth step of calculating a total inter-document force vector by summing the inter-document force vectors received from each of the other initial arranged documents for each of the arranged initial arranged documents; For each of the initially arranged documents arranged, the sixth step of calculating the position coordinates at the next processing time according to the total inter-document force vector and the execution of the repetition process of the fourth to sixth steps A seventh step of determining convergence of the position coordinates of the initially arranged document and terminating the repetition process; and an eighth step of selecting a plurality of next arranged documents to be newly incorporated in the display coordinate system from the classification target document. A ninth step of calculating a position coordinate that is initially arranged in the display coordinate system for one of the next arranged documents and arranging the position coordinate; A tenth step of calculating the total inter-document force vector by summing up the inter-document force vectors received from the existing arranged document, and the next arranged document arranged in the ninth step. For the eleventh step of calculating the position coordinates at the next processing time according to the total inter-document force vector, and the ninth step during the repetition of the tenth and eleventh steps. A twelfth step of determining the convergence of the position coordinates of the next arranged document and setting the position at this time as a provisional decision position of the next arranged document arranged in the ninth step; After the step is executed for all the next arranged documents selected in the eighth step, the repeating process in the fourth to seventh steps is performed for all the arranged documents. A thirteenth step to be executed and a fourteenth step to execute the eighth to thirteenth steps for the remaining classification target document.
According to another aspect of the document classification method of the present invention, each time a new document to be classified is added, provisional determination of the position of the additional document is performed, and the plurality of documents selected in the eighth step are performed. Every time the next arranged document is arranged, the reconstruction of the positions of all the arranged documents is executed, so that it is possible to prevent the calculation amount from increasing.
In the document classification method of the present invention, each of the classification target documents has a document number for identifying the document itself, and the documents of the classification target documents that the two documents cite the degree of similarity between the two documents in the first step. It is preferable to calculate using a number. According to this document classification method, classification target documents described in different languages can be targeted. Further, in this document classification method, it is preferable to regard the own document as one of the classification target documents cited by the own document. As a result, the fact that one of the two documents that are the evaluation target of the similarity quotes the other can be reflected in the calculation of the similarity.

本発明の好適な形態は、特許請求の範囲中の独立項で特定される形態に、従属項中の構成要素のうち任意のもの(従属項中の構成要素のあらゆる組み合わせ)を付加した形態を含む。   The preferred form of the present invention is a form obtained by adding any of the constituent elements in the dependent claims (any combination of constituent elements in the dependent claims) to the form specified by the independent claims in the claims. Including.

複数の分類対象文書内における文書間の位置関係を詳細に知ることができる。   It is possible to know in detail the positional relationship between documents in a plurality of classification target documents.

以下、添付図面を参照して、本発明の好適な実施形態を詳細に説明する。図1は、本発明による文書分類装置の一実施形態を示すブロック図である。文書分類装置1は、複数の分類対象文書を、各分類対象文書の内容に応じて分類するものである。文書分類装置1は、データベース10、安定文書間距離算出部22、配置文書選択部23、位置座標初期値設定部24、文書間力ベクトル算出部26、及び位置座標更新部28を備えている。データベース10は、分類対象文書DB12、安定文書間距離DB14、位置座標DB16及び文書間力ベクトルDB18を有している。分類対象文書DB12は、複数の分類対象文書を各文書を特定する文書コードに関連付けて格納している。分類対象文書は、分類対象文書DB12に予め格納されているが、適宜の入力手段により必要に応じて入力することもできる。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing an embodiment of a document classification apparatus according to the present invention. The document classification device 1 classifies a plurality of classification target documents according to the contents of each classification target document. The document classification device 1 includes a database 10, a stable inter-document distance calculation unit 22, an arrangement document selection unit 23, a position coordinate initial value setting unit 24, an inter-document force vector calculation unit 26, and a position coordinate update unit 28. The database 10 includes a classification target document DB 12, a stable inter-document distance DB 14, a position coordinate DB 16, and an inter-document force vector DB 18. The classification target document DB 12 stores a plurality of classification target documents in association with document codes that specify each document. The classification target document is stored in the classification target document DB 12 in advance, but can be input as necessary by an appropriate input unit.

安定文書間距離DB14は、安定文書間距離算出部22により算出される安定文書間距離を文書コードに関連付けて格納する。図2は、文書間距離DB14のデータベースの一例を示す構成図である。この図に示すように、各2文書間の安定文書間距離が、それらの文書コード(P0001,P0002,・・・)に関連付けられて格納されている。例えば、この場合、文書(P0001)と文書(P0002)との間の安定文書間距離は、0.005である。   The stable inter-document distance DB 14 stores the stable inter-document distance calculated by the stable inter-document distance calculation unit 22 in association with the document code. FIG. 2 is a configuration diagram illustrating an example of the database of the inter-document distance DB 14. As shown in this figure, the stable inter-document distance between two documents is stored in association with the document codes (P0001, P0002,...). For example, in this case, the stable inter-document distance between the document (P0001) and the document (P0002) is 0.005.

位置座標DB16は、位置座標初期値設定部24により設定される各文書の位置座標の初期値、及び位置座標更新部28により更新された位置座標を文書コードに関連付けて格納する。図3は、位置座標DB16のデータベースの一例を示す構成図である。この図に示すように、各文書の位置座標(X座標,Y座標)が文書コードに関連付けられて格納されている。例えば、この場合、文書(P0003)の位置座標は、(0.5155,0.3417)である。   The position coordinate DB 16 stores the initial value of the position coordinate of each document set by the position coordinate initial value setting unit 24 and the position coordinate updated by the position coordinate update unit 28 in association with the document code. FIG. 3 is a configuration diagram illustrating an example of the database of the position coordinate DB 16. As shown in this figure, the position coordinates (X coordinate, Y coordinate) of each document are stored in association with the document code. For example, in this case, the position coordinates of the document (P0003) are (0.5155, 0.3417).

文書間力ベクトルDB18は、文書間力ベクトル算出部26により算出される総和文書間力ベクトルを文書コードに関連付けて格納する。図4は、総和文書間力ベクトルDB18のデータベースの一例を示す構成図である。この図に示すように、各文書に働く総和文書間力ベクトル(FX,FY)が文書コードに関連付けられて格納されている。例えば、この場合、文書(P0002)の総和文書間力ベクトルは(0.007,‐0.003)である。   The inter-document force vector DB 18 stores the total inter-document force vector calculated by the inter-document force vector calculation unit 26 in association with the document code. FIG. 4 is a configuration diagram illustrating an example of the database of the total inter-document force vector DB 18. As shown in this figure, the total inter-document force vector (FX, FY) working on each document is stored in association with the document code. For example, in this case, the total inter-document force vector of the document (P0002) is (0.007, -0.003).

安定文書間距離算出部22は、分類対象文書DB12に格納されている複数の分類対象文書について、各2文書間の安定文書間距離を、両文書の類似する程度に応じて算出する。この安定文書間距離は、両文書の内容が類似する程度が高いほど小さく、類似する程度が低いほど大きくなる。   The stable inter-document distance calculation unit 22 calculates a stable inter-document distance between two documents for a plurality of classification target documents stored in the classification target document DB 12 according to the degree of similarity between the two documents. The stable inter-document distance decreases as the degree of similarity between both documents increases and decreases as the degree of similarity decreases.

位置座標初期値設定部24は、2次元座標平面上における各文書の位置座標の初期値を設定する。位置座標初期値設定部24における初期値の設定方法の一例を説明する。説明の便宜のため、分類対象文書数をN(Nは2以上の整数)とし、各文書をT(i=1,2,・・・,N)と表すことにする。まず、文書Tと文書T(j=1,2,・・・,N、j≠i)との間の安定文書間距離L(i,j)をテーブルLに読み込む。全ての(i,j)の組について安定文書間距離L(i,j)を読み込んだ後、L(i,j)の平均値Lavgを求める。そして、各文書Tの位置座標(X,Y)を下記式、
=Lavg×rnd
=Lavg×rnd
から求める。ここで、rndは乱数を表している。これにより、各文書の位置座標の初期値が設定される。なお、安定文書間距離L(i,j)は平均値Lavgで除されることにより、正規化される。
The position coordinate initial value setting unit 24 sets the initial value of the position coordinate of each document on the two-dimensional coordinate plane. An example of an initial value setting method in the position coordinate initial value setting unit 24 will be described. For convenience of explanation, the number of documents to be classified is N (N is an integer of 2 or more), and each document is represented as T i (i = 1, 2,..., N). First, the document T i and the document T j reads (j = 1,2, ···, N , j ≠ i) stable document distance L 0 (i, j) between the in table L a. After reading the stable inter-document distance L 0 (i, j) for all (i, j) pairs, the average value L avg of L 0 (i, j) is obtained. Then, the position coordinates (X i , Y i ) of each document T i are expressed by the following equation:
X i = L avg × rnd
Y i = L avg × rnd
Ask from. Here, rnd represents a random number. Thereby, the initial value of the position coordinate of each document is set. The stable inter-document distance L 0 (i, j) is normalized by dividing by the average value L avg .

文書間力ベクトル算出部26は、各文書に働く総和文書間力ベクトルを算出する。総和文書間力ベクトルとは、各文書が他の文書から受ける文書間力のベクトル和である。また、文書間力とは、各2文書の位置座標から求められる座標平面上における距離が上記の文書間距離よりも大きい場合には両文書間に引力が働き、逆に座標平面上における距離が文書間距離よりも小さい場合には両文書間に斥力が働くと仮定して導入した概念である。これらの力の大きさは、座標平面上における距離と文書間距離との差の絶対値が増加するにつれて大きくなり、上記絶対値が減少するにつれて小さくなる。また、座標平面上における距離が安定文書間距離と一致する場合には、両文書間に働く文書間力は0である。   The inter-document force vector calculation unit 26 calculates a total inter-document force vector that works on each document. The total inter-document force vector is a vector sum of inter-document forces that each document receives from other documents. The inter-document force is an attractive force between the two documents when the distance on the coordinate plane obtained from the position coordinates of the two documents is larger than the above-mentioned inter-document distance, and conversely, the distance on the coordinate plane is This is a concept introduced on the assumption that a repulsive force acts between both documents when the distance between the documents is smaller. The magnitude of these forces increases as the absolute value of the difference between the distance on the coordinate plane and the inter-document distance increases, and decreases as the absolute value decreases. When the distance on the coordinate plane matches the stable inter-document distance, the inter-document force acting between the two documents is zero.

文書間力ベクトル算出部26における文書間力ベクトルの算出方法の一例を説明する。まず、文書Tと文書Tの距離L(i,j)をその処理時点(現処理時点)(特に本実施形態では、位置座標の更新について「現処理時点」、「次回処理時点」というとき、「現処理時点」とは、移動処理(全部又は一部の配置文書の各々について、総和文書間力ベクトルを算出してこれに基づき位置座標を更新する処理を位置座標の収束が判断されるまで繰り返す処理)の繰返処理において、ある回が開始する時点を指し、「次回処理時点」とは、当該ある回の次の回が開始する時点を指すものとする。)における両者の位置座標に基づいて、下記式、
L(i,j)={(X−Y+(Xj−Yj0.5
から求める。なお、「その処理時点における両者の位置座標に基づいて」とあるのは、後述するように、各文書Tの位置座標は必要に応じて更新されるため、常に同じ値をとるとは限らないからである。次に、文書Tと文書Tの文書間力f(i,j)を下記式、
f(i,j)=(L(i,j)−L(i,j))/(L(i,j)+ε1)α
から求める。ここで、ε1は、L(i,j)が0のときに対応するための定数であり、例えば1×10−12とされる。αは、安定文書間距離L(i,j)が小さくなるに連れて文書間力f(i,j)が指数関数的に大きくように設定される。こうすることにより、文書間の類似度が高いときにより大きな文書間力が働くようになる。その結果、類似する文書の集団を形成するのが容易になると共に集団が配置される位置が人間の感覚に近いものになり、また分類対象文書数Nが多くなっても容易に収束させることができる。分類対象文書数が比較的少数である場合(Nが50未満の場合)にはα=0.8〜2.3の何れかの値に設定される。Nが100を超える場合にはα=1.8〜2.2の何れかの値に設定することにより容易に収束させることができる。特に、N=101〜3000の場合にはα=2とするのが好適である。特に、分類対象文書を2次元空間にマッピングする場合、αが上記範囲より小さい場合は、移動処理の繰返処理の過程で一部文書の座標が収束せず発散するケースが多くなり、上記範囲より大きい場合は、個々の文書の内容を反映しない均一な文書の集団を形成しやすくなる。αは、例えば0.8〜2.3の何れかの値に設定され、好ましくは2である。次に、文書Tが文書Tから受ける文書間力のX成分fX(i,j)及びY成分fY(i,j)を下記式、
fX(i,j)=f(i,j)×(X−X)/(L(i,j)+ε2)β
fY(i,j)=f(i,j)×(Y−Y)/(L(i,j)+ε2)β
から求める。ここで、ε2は、L(i,j)が0のときに対応するための定数であり、例えば1×10−12とされる。また、βは、例えば0.5に設定される。最後に、各文書Tに働く文書間力の総和のX成分FX及びY成分FYを下記式、
FX=ΣfX(i,j)
FY=ΣfY(i,j)
から求める。ここで、Σは、全ての配置済み文書についての和をとることを意味する。このようにして算出されたFX及びFYを成分とするベクトルが上述の総和文書間力ベクトルである。
An example of a method for calculating the inter-document force vector in the inter-document force vector calculation unit 26 will be described. First, the distance L (i, j) between the document T i and the document T j is referred to as a processing time point (current processing time point) (in particular, in the present embodiment, the update of position coordinates is referred to as “current processing time point” and “next processing time point”). The “current processing time point” refers to the movement process (the process of calculating the total inter-document force vector and updating the position coordinates based on the total or part of each of the arranged documents is determined as the convergence of the position coordinates. In the repetitive processing of (repeating until a certain time), the time point at which a certain time starts is referred to, and the “next processing time point” indicates the time point at which the next time after the certain time starts). Based on the coordinates,
L (i, j) = {(X i −Y i ) 2 + (X j −Y j ) 2 } 0.5
Ask from. Incidentally, the term "based on the position coordinates of the two in the processing time," as will be described later, the position coordinates are updated as required in each document T i, always take the same value Because there is no. Next, the inter-document force f (i, j) between the document T i and the document T j is expressed by the following equation:
f (i, j) = (L 0 (i, j) −L (i, j)) / (L 0 (i, j) + ε1) α
Ask from. Here, ε1 is a constant to cope with when L 0 (i, j) is 0, and is set to 1 × 10 −12 , for example. α is set so that the inter-document force f (i, j) increases exponentially as the stable inter-document distance L 0 (i, j) decreases. By doing so, a greater inter-document force works when the similarity between documents is high. As a result, it becomes easy to form a group of similar documents, the position where the group is arranged is close to the human sense, and it can be easily converged even if the number of classified documents N increases. it can. When the number of classification target documents is relatively small (when N is less than 50), α is set to any value between 0.8 and 2.3. When N exceeds 100, it can be easily converged by setting α to any value of 1.8 to 2.2. In particular, when N = 101 to 3000, α = 2 is preferable. In particular, when mapping a document to be classified into a two-dimensional space, if α is smaller than the above range, there are many cases where the coordinates of some documents do not converge and diverge in the course of repeated movement processing. If it is larger, it becomes easier to form a uniform document group that does not reflect the contents of individual documents. α is set to any value between 0.8 and 2.3, for example, and is preferably 2. Next, the X component fX (i, j) and the Y component fY (i, j) of the inter-document force that the document T i receives from the document T j are expressed by the following equations:
fX (i, j) = f (i, j) × (X i -X j) / (L (i, j) + ε2) β
fY (i, j) = f (i, j) × (Y i -Y j) / (L (i, j) + ε2) β
Ask from. Here, ε2 is a constant to cope with L (i, j) being 0, for example, 1 × 10 −12 . Β is set to 0.5, for example. Finally, the X component FX i and the Y component FY i of the sum of the inter-document forces acting on each document T i are expressed by the following equations:
FX i = Σ j fX (i, j)
FY i = Σ j fY (i, j)
Ask from. Here, Σ j means taking the sum of all placed documents. The vector having FX i and FY i calculated in this way as components is the above-described total inter-document force vector.

位置座標更新部28は、文書間力ベクトル算出部26により算出された総和文書間力ベクトルの絶対値が小さくなるように、各文書の位置座標を更新する。位置座標更新部28における位置座標の更新方法の一例を説明する。すなわち、各文書Tの位置座標(X,Y)は、文書間力ベクトル算出部26により算出された文書間力ベクトル(FX,FY)に基づいて、下記式、
’=X−k×FX
’=Y−k×FY
により更新される。ここで、(X’,Y’)は、更新後の位置座標を表す。また、kは移動係数であり、例えば1×10−23以上1×10−22以下の定数とされる。上記式は、各文書Tを、文書間力ベクトルの向きに、そのベクトルの絶対値の大きさに比例した距離だけ移動させることを意味している。更新された位置座標は、位置座標DB16に格納され、それまで格納されていた位置座標に対して上書きされる。本実施形態において位置座標更新部28は、位置座標の更新と併せて、各文書Tの移動距離の平均値MLを下記式、
ML=Σ{(k×FX+(k×FY0.5
から求める。この平均値MLは、後述する収束条件判定部30による収束条件の判定の際に用いられる。
The position coordinate update unit 28 updates the position coordinates of each document so that the absolute value of the total inter-document force vector calculated by the inter-document force vector calculation unit 26 becomes small. An example of the position coordinate update method in the position coordinate update unit 28 will be described. That is, the position coordinates (X i , Y i ) of each document T i are expressed by the following equation based on the inter-document force vector (FX i , FY i ) calculated by the inter-document force vector calculation unit 26:
X i ′ = X i −k × FX i
Y i ′ = Y i −k × FY i
Updated by Here, (X i ′, Y i ′) represents the updated position coordinates. Further, k is a movement coefficient, for example, a constant not less than 1 × 10 −23 and not more than 1 × 10 −22 . The above formula, each document T i, in the direction of the document between the force vector, which means that is moved by a distance proportional to the magnitude of the absolute value of the vector. The updated position coordinates are stored in the position coordinate DB 16 and are overwritten on the position coordinates stored so far. Position coordinate update section 28 in the present embodiment, in conjunction with the updated coordinates, an average value ML of the movement distance of each document T i the following formula,
ML = Σ {(k × FX i ) 2 + (k × FY i ) 2 } 0.5
Ask from. This average value ML is used when determining the convergence condition by the convergence condition determination unit 30 described later.

文書分類装置1は、収束条件判定部30、表示部32(出力手段)、及び入力部34をさらに備えている。収束条件判定部30は、位置座標更新部28により位置座標が更新された後に、収束条件の判定を行う。例えば、上述の位置座標更新部28において求められた平均値MLが規定値以下になることを収束条件として設定することができる。この収束条件が満たされないときは、収束条件判定部30は、文書間力ベクトル算出部26に更新後の位置座標を用いて再度総和文書間力ベクトルを算出させるとともに、位置座標更新部28にその総和文書間力ベクトルを用いて再度位置座標を更新させる。したがって、位置座標更新部28による位置座標の更新は、上述の収束条件が満たされるまで実行される。   The document classification device 1 further includes a convergence condition determination unit 30, a display unit 32 (output unit), and an input unit 34. The convergence condition determination unit 30 determines the convergence condition after the position coordinates are updated by the position coordinate update unit 28. For example, it can be set as a convergence condition that the average value ML obtained by the position coordinate update unit 28 is equal to or less than a specified value. When the convergence condition is not satisfied, the convergence condition determination unit 30 causes the inter-document force vector calculation unit 26 to calculate the total inter-document force vector again using the updated position coordinates, and causes the position coordinate update unit 28 to The position coordinates are updated again using the total inter-document force vector. Therefore, the update of the position coordinates by the position coordinate update unit 28 is executed until the above convergence condition is satisfied.

表示部32は、上述の収束条件が満たされ、位置座標更新部28による位置座標の更新が終了した後、決定した位置座標に基づいて、各文書T間の座標平面上における相対的な位置関係を可視化して表示する。表示部32における表示方法の一例を説明する。図5は、表示部32による結果表示画面の一例を示す図である。本例では、まず、表示エリア50をm×n個(ここではm=n=4)のセルに区切る。また、後述する入力部34により表示エリアを規定するX座標、Y座標それぞれの最大値(Xmax、Ymax)及び最小値(Xmin、Ymin)を入力する。なお、これらの値を入力せずに、既に決定されている全文書の位置座標から、X座標及びY座標それぞれについて、最大のもの及び最小のものをデフォルト値として用いることもできる。次に、表示部32は、入力されたこれらの値をから、各セルに相当する座標範囲を求める。そして、各セルに含まれる文書の数を、図5に示すように表示する。例えば、この場合、一番右上のセルに含まれる文書数は1である。さらに本例では、各セルに含まれる文書のイメージを作成するとともに、各セルにそのイメージをハイパーリンクさせる。図5に示すように、注目するセルにマウスポインタ52を合わせると、そのセルに含まれる文書を、該当文書リストとして表示させることができる。ここでは、分類対象文書として公開特許公報等の特許文献を想定しており、該当文書リストには特許文献の種別と公報番号とを表示させている。また、これらの表示にはハイパーリンクが貼られているので、例えば「特開平8−○○○○○○号公報」と表示されている部分を画面上でクリックすれば、その公開特許公報のイメージにアクセスして、その内容を見ることができる。 Display unit 32, the convergence condition described above is satisfied, after the updating of the position coordinates by the position coordinate update section 28 has been completed, based on the determined position coordinates, relative position on the coordinate plane between the document T i Visualize and display relationships. An example of a display method on the display unit 32 will be described. FIG. 5 is a diagram illustrating an example of a result display screen by the display unit 32. In this example, first, the display area 50 is divided into m × n cells (here, m = n = 4). Further, the maximum value (X max , Y max ) and the minimum value (X min , Y min ) of the X coordinate and Y coordinate that define the display area are input by the input unit 34 described later. In addition, without inputting these values, the maximum and minimum values of the X coordinate and the Y coordinate can be used as default values from the position coordinates of all documents that have already been determined. Next, the display part 32 calculates | requires the coordinate range corresponded to each cell from these input values. Then, the number of documents included in each cell is displayed as shown in FIG. For example, in this case, the number of documents included in the upper right cell is one. Further, in this example, an image of a document included in each cell is created, and the image is hyperlinked to each cell. As shown in FIG. 5, when the mouse pointer 52 is moved to a cell of interest, the documents included in the cell can be displayed as a corresponding document list. Here, a patent document such as a published patent publication is assumed as a classification target document, and the type of patent document and the publication number are displayed in the corresponding document list. In addition, since hyperlinks are pasted on these displays, for example, if a portion displayed as “JP-A-8-XXXXX” is clicked on the screen, the published patent gazette You can access the image and see its contents.

入力部34は、表示部32により表示される対象となる座標平面上における表示エリア等を入力するためのものであり、例えばキーボードやマウス等が用いられる。例えば、図5の例では、表示エリア50を規定するXmax、Ymax、Xmin、Yminの値を入力部34から入力することができる。入力された情報は、表示部32へと渡される。 The input unit 34 is for inputting a display area or the like on a coordinate plane to be displayed by the display unit 32, and for example, a keyboard or a mouse is used. For example, in the example of FIG. 5, values of X max , Y max , X min , and Y min that define the display area 50 can be input from the input unit 34. The input information is passed to the display unit 32.

次に、文書分類装置1の動作を説明し、併せて本発明による文書分類方法の一実施形態を説明する。図6は、初期処理及び二次元表示座標系において初期配置文書を配置・移動する処理を示すフローチャートである。先ず、安定文書間距離算出部22が、分類対象文書DB12に格納されている分類対象文書を読み込んで各2文書間の安定文書間距離を算出し、算出した安定文書間距離を安定文書間距離DB14に格納させる(S61)。続いて、安定文書間距離算出部22が、文書間距離DB14に格納されている安定文書間距離を読み込んで平均値を算出し(S62)、各安定文書間距離をこの平均値で除することにより正規化して安定文書間距離DB14のデータを更新する(S63)。配置文書選択部23が、最初に表示座標系に配置する分類対象文書である初期配置文書Tをint√N(分類対象文書の総数Nの平方根の小数点以下を切り捨てた値)個選択する(S64)。位置座標初期値設定部24は、上記平均値を用いて各文書の位置座標の初期値を設定し、設定した位置座標の初期値を位置座標DB16に格納させる(S65)。そして、文書間力ベクトル算出部26が、文書間距離DB14に格納されている安定文書間距離及び位置座標DB16に格納されている位置座標を読み込み、それらの値を用いて、各文書に働く総和文書間力ベクトルを算出し、算出した総和文書間力ベクトルを文書間力ベクトルDB18に格納する(S66)。その後、位置座標更新部28が、文書間力ベクトルDB18に格納されている総和文書間力ベクトルを読み込み、そのベクトルに基づいて各文書の位置座標を更新し、更新した位置座標を位置座標DB16に格納させる(S67)。位置座標が更新されると、収束条件判定部30が収束条件の判定を行い、収束条件が満たされていない場合には上記ステップ(S66〜S67)を繰返し実行させる。収束条件が満たされている場合には、新たな分類対象文書を追加していく処理に移る。 Next, the operation of the document classification apparatus 1 will be described, and an embodiment of the document classification method according to the present invention will be described. FIG. 6 is a flowchart showing the initial process and the process of arranging and moving the initially arranged document in the two-dimensional display coordinate system. First, the stable inter-document distance calculation unit 22 reads the classification target document stored in the classification target document DB 12, calculates the stable inter-document distance between the two documents, and calculates the calculated stable inter-document distance as the stable inter-document distance. The data is stored in the DB 14 (S61). Subsequently, the stable inter-document distance calculation unit 22 reads the stable inter-document distance stored in the inter-document distance DB 14 to calculate an average value (S62), and divides each stable inter-document distance by this average value. Is normalized and the data in the stable inter-document distance DB 14 is updated (S63). The arrangement document selection unit 23 selects int√N (a value obtained by rounding down the decimal point of the square root of the total number N of the classification target documents) as the initial arrangement document T k that is the classification target document to be first arranged in the display coordinate system ( S64). The position coordinate initial value setting unit 24 sets the initial value of the position coordinate of each document using the average value, and stores the initial value of the set position coordinate in the position coordinate DB 16 (S65). Then, the inter-document force vector calculation unit 26 reads the stable inter-document distance stored in the inter-document distance DB 14 and the position coordinates stored in the position coordinate DB 16, and uses these values to calculate the total sum applied to each document. The inter-document force vector is calculated, and the calculated total inter-document force vector is stored in the inter-document force vector DB 18 (S66). Thereafter, the position coordinate update unit 28 reads the total document inter-force vector stored in the inter-document force vector DB 18, updates the position coordinates of each document based on the vector, and stores the updated position coordinates in the position coordinate DB 16. Store (S67). When the position coordinates are updated, the convergence condition determination unit 30 determines the convergence condition. If the convergence condition is not satisfied, the above steps (S66 to S67) are repeatedly executed. If the convergence condition is satisfied, the process proceeds to a process of adding a new classification target document.

続いて、本実施形態の効果を説明する。文書分類装置1においては、座標平面上において複数の分類対象文書の位置座標を決定するに際し、各2文書間の座標平面上における距離が安定文書間距離算出部22により算出された安定文書間距離よりも大きければそれらの差に比例した引力が文書間力として両文書間に働き、逆に座標平面上における距離が安定文書間距離よりも小さければそれらの差に比例した斥力が文書間力として両文書間に働くものと仮定したときに、各文書が他の文書から受ける文書間力のベクトル和が文書間力ベクトル算出部26により算出される。ここで、2文書間の文書間力は、両文書の座標平面上における距離が安定文書間距離算出部22により算出される文書間距離から離れるほど大きくなるものであるから、文書間力が極力小さくなるように各文書の位置座標を決定することが望ましい。そこで、各文書の位置座標は、文書間力ベクトルの絶対値が小さくなるように、位置座標更新部28によって更新される。この位置座標の更新は、所定の収束条件が満たされるまで、1回若しくは複数回実行される。位置座標の更新が複数回実行される場合には、2回目以降の各回の更新前に、その時点における各文書の位置座標、すなわち前回の更新後の位置座標に基づいて文書間力ベクトル算出部26による文書間力ベクトルの算出が実行される。これにより、全ての分類対象文書間で整合をとりつつ、各2文書間の座標平面上における距離を安定文書間距離算出部22により算出される文書間距離に近づけることができる。したがって、本実施形態に係る文書分類装置1及び文書分類方法によれば、各2文書間で算出した文書間距離に基づいて各文書の位置座標を決定することができるので、複数の分類対象文書内における文書間の位置関係を詳細に知ることが可能となる。   Then, the effect of this embodiment is demonstrated. In the document classification device 1, when determining the position coordinates of a plurality of classification target documents on the coordinate plane, the distance between the two documents on the coordinate plane is calculated by the stable inter-document distance calculation unit 22. If the distance is larger, the attractive force proportional to the difference acts between the two documents as the inter-document force. Conversely, if the distance on the coordinate plane is smaller than the stable inter-document distance, the repulsive force proportional to the difference is the inter-document force. When it is assumed that the document works between both documents, the vector sum of inter-document forces received by each document from other documents is calculated by the inter-document force vector calculation unit 26. Here, the inter-document force between the two documents increases as the distance between the two documents on the coordinate plane increases away from the inter-document distance calculated by the stable inter-document distance calculation unit 22. It is desirable to determine the position coordinates of each document so as to be small. Therefore, the position coordinate of each document is updated by the position coordinate update unit 28 so that the absolute value of the inter-document force vector becomes smaller. The update of the position coordinates is executed once or a plurality of times until a predetermined convergence condition is satisfied. When the update of the position coordinates is executed a plurality of times, before each update after the second time, based on the position coordinates of each document at that time, that is, the position coordinates after the previous update, the inter-document force vector calculation unit The calculation of the inter-document force vector by 26 is executed. Thus, the distance between the two documents on the coordinate plane can be brought close to the inter-document distance calculated by the stable inter-document distance calculation unit 22 while matching all the classification target documents. Therefore, according to the document classification apparatus 1 and the document classification method according to the present embodiment, the position coordinates of each document can be determined based on the inter-document distance calculated between the two documents. It becomes possible to know in detail the positional relationship between documents in the document.

また、文書分類装置1は、表示部32を備えている。これにより、ユーザは、表示部32による表示を見ることにより、容易に文書間の相対的な位置関係を知ることができる。なお、文書分類装置1に表示部32を設けない構成としてもよい。この場合、例えば、表示部32の代わりに分類結果を出力する出力部を設け、その出力内容を外部のディスプレイ等により表示、或いは外部のプリンタにより印刷させることとしてもよい。   The document classification device 1 also includes a display unit 32. Thereby, the user can easily know the relative positional relationship between documents by viewing the display on the display unit 32. The document classification device 1 may be configured not to include the display unit 32. In this case, for example, an output unit that outputs the classification result may be provided instead of the display unit 32, and the output content may be displayed on an external display or printed by an external printer.

また、文書分類装置1は、表示エリア50(図5参照)に表示される範囲を規定するX座標及びY座標それぞれの最大値及び最小値を入力することのできる入力部34を備えている。これにより、ユーザは、座標平面上の所望の範囲を表示させ、その範囲における文書間の位置関係を詳細に知ることができる。   In addition, the document classification device 1 includes an input unit 34 that can input the maximum value and the minimum value of the X coordinate and the Y coordinate that define the range displayed in the display area 50 (see FIG. 5). As a result, the user can display a desired range on the coordinate plane and know in detail the positional relationship between documents in the range.

なお、位置座標更新部28は、各文書に働く文書間力ベクトルの絶対値を全ての分類対象文書について和をとった値が極小となるまで、位置座標の更新を実行することが好適である。この場合、全ての分類対象文書間で特に高い整合性を保ちつつ、各文書の位置座標を決定することができる。   Note that the position coordinate update unit 28 preferably executes the update of the position coordinates until the absolute value of the inter-document force vector acting on each document becomes the minimum value obtained by summing all the documents to be classified. . In this case, the position coordinates of each document can be determined while maintaining particularly high consistency among all the classification target documents.

図7は、図1の安定文書間距離算出部22の構成の一例を示すブロック図である。安定文書間距離算出部22は、各種文書からワードを抽出するワード抽出部70と、ワード抽出部70によって抽出されたワードを格納する各種データベース80とを備えている。   FIG. 7 is a block diagram showing an example of the configuration of the stable inter-document distance calculation unit 22 in FIG. The stable inter-document distance calculation unit 22 includes a word extraction unit 70 that extracts words from various documents, and various databases 80 that store the words extracted by the word extraction unit 70.

ワード抽出部70は、キー文書からワードをキーワードとして抽出するキーワード抽出部71と、参照文書からワードを参照ワードとして抽出する参照ワード抽出部72と、検索文書からワードを検索ワードとして抽出する検索ワード抽出部73とを有している。ここで、「キー文書」及び「検索文書」の区分は便宜的なものであり、安定文書間距離算出部22においては、文書間距離を求めたい2文書のうちの一方がキー文書、他方が検索文書とされる。また、参照文書とは、キーワード評価値、すなわち各キーワードがキー文書に固有に含まれる程度を表す値を設定する際に参照される文書である。参照文書としては、例えば分類対象文書DB12(図1参照)内の全文書、或いは予めランダムに抽出した分類対象文書DB12内の一部の文書を用いることができる。参照文書は、適宜の入力手段により、必要に応じて安定文書間距離算出部22に入力することができる。また、安定文書間距離算出部22は、参照文書を格納する格納手段(図示せず)を備えている。   The word extraction unit 70 includes a keyword extraction unit 71 that extracts words from the key document as keywords, a reference word extraction unit 72 that extracts words from the reference document as reference words, and a search word that extracts words from the search document as search words. And an extraction unit 73. Here, the classification of “key document” and “search document” is convenient, and in the stable inter-document distance calculation unit 22, one of the two documents whose inter-document distance is desired to be obtained is the key document, and the other is Search document. The reference document is a document that is referred to when setting a keyword evaluation value, that is, a value representing the degree to which each keyword is uniquely included in the key document. As the reference document, for example, all the documents in the classification target document DB 12 (see FIG. 1) or a part of the documents in the classification target document DB 12 extracted in advance at random can be used. The reference document can be input to the stable inter-document distance calculation unit 22 as necessary by an appropriate input unit. Further, the stable inter-document distance calculation unit 22 includes storage means (not shown) for storing a reference document.

抽出部71〜73はいずれも、日本語にあっては、ひらがな、句読点、特殊記号及びスペースを区切記号として或いは形態素解析ツール等を利用して文書内のワードを抽出する機能を有する。また、抽出部71〜73は、いずれも一の文書から重複してワードを抽出しないように、文書から切り出されたワードは、同じ文書から既に切り出されたワードと照合され、一致しないワードのみを抽出する機能を有する。また、抽出部71〜73はいずれも、英語等のアルファベット表記がなされる言語にあっては、特殊記号及び/又はスペースを区切記号として或いは形態素解析ツール等を利用して文書内のワードを抽出する機能を有する。   Each of the extraction units 71 to 73 has a function of extracting words in a document using hiragana, punctuation marks, special symbols, and spaces as delimiters or using a morphological analysis tool or the like in Japanese. In addition, the extraction units 71 to 73 collate words cut out from the document with words already cut out from the same document so that words are not extracted redundantly from one document, and only the words that do not match are extracted. Has a function to extract. In addition, the extraction units 71 to 73 extract words in a document by using special symbols and / or spaces as delimiters or using a morphological analysis tool or the like in a language in which alphabets such as English are used. It has the function to do.

データベース(DB)80は、キーワードDB81、全ワードDB82、評価値DB83、検索ワードDB84、及び類似度DB85を有している。キーワードDB81は、キー文書から抽出したキーワードを格納する。キーワードは、抽出元であるキー文書を特定するキー文書コードに関連付けて格納されている。全ワードDB82は、キー文書から抽出されたキーワードと参照文書から抽出された参照ワードとを格納する。キーワード及び参照ワードは、それぞれの抽出元であるキー文書を特定するキー文書コード及び参照文書を特定する参照文書コードに関連付けて格納されている。評価値DB83は、後述するキーワード評価値計算部91により算出される評価値を格納する。検索ワードDB84は、検索文書から抽出される検索ワードを格納する。検索ワードは、抽出元である検索文書を特定する検索文書コードに関連付けて格納されている。類似度DB85は、後述する類似度計算部92により算出される類似度を格納する。   The database (DB) 80 includes a keyword DB 81, an all word DB 82, an evaluation value DB 83, a search word DB 84, and a similarity DB 85. The keyword DB 81 stores keywords extracted from the key document. The keyword is stored in association with the key document code that identifies the key document that is the extraction source. The all word DB 82 stores a keyword extracted from the key document and a reference word extracted from the reference document. The keyword and the reference word are stored in association with the key document code that specifies the key document that is the extraction source and the reference document code that specifies the reference document. The evaluation value DB 83 stores an evaluation value calculated by a keyword evaluation value calculation unit 91 described later. The search word DB 84 stores search words extracted from the search document. The search word is stored in association with a search document code that specifies a search document as an extraction source. The similarity DB 85 stores the similarity calculated by the similarity calculation unit 92 described later.

なお、上記のキーワード、参照ワード、及び検索ワードは、それぞれ抽出対象となる文書の全体から抽出してもよいし、一部から抽出してもよい。例えば、抽出対象となる文書が特許文献であれば、書誌的事項、要約、請求項、又は実施例等に抽出範囲を限定してもよい。特に、データ量に制限がある場合には、抽出範囲を文書の一部に絞ることが有効となる。また、参照ワードは参照文書の一部から抽出し、キーワード及び検索ワードはそれぞれキー文書及び検索文書の全体から抽出するというように、各ワード毎に適宜抽出範囲を変えることより、いわゆるノイズと漏れの関係を調整することができる。   Note that the keyword, reference word, and search word may be extracted from the entire document to be extracted, or may be extracted from a part thereof. For example, if the document to be extracted is a patent document, the extraction range may be limited to bibliographic items, summaries, claims, or examples. In particular, when the data amount is limited, it is effective to narrow the extraction range to a part of the document. In addition, the reference word is extracted from a part of the reference document, the keyword and the search word are extracted from the entire key document and the search document, respectively. Can be adjusted.

また、安定文書間距離算出部22は、キーワード評価値計算部91、類似度計算部92、及び文書間距離計算部93を備えている。キーワード評価値計算部91は、キー文書と参照文書とを合わせた全文書に共通のキーワードが出現する出現率を算出する機能を有する。参照文書がN個で、その内のB個に共通のキーワードが存在する場合には、全文書内キーワード出現率は、B/(1+N)で算出される。キーワード評価値計算部91は、全ワードDB82に格納されたキーワード及び参照ワードを検索して、同一のキーワード及びキーワードと同一の参照ワードが何個存在するか算出する。ここで、「参照ワード」とは参照文書から抽出したワードに便宜的に付与した名称であるので、「キーワードと同一の参照ワード」とは、すなわち参照文書に含まれるキーワードを意味する。算出されたキーワード数を全文書の数で除することによって、全文書内キーワード出現率を算出する。さらに、キーワード評価値計算部91は、全文書内キーワード出現率の逆数をとって、キーワード評価値を算出する機能を有する。すなわち、キーワード評価値は、(1+N)/Bで算出され、各キーワードがキー文書に固有に含まれる程度を示すものである。   The stable inter-document distance calculation unit 22 includes a keyword evaluation value calculation unit 91, a similarity calculation unit 92, and an inter-document distance calculation unit 93. The keyword evaluation value calculation unit 91 has a function of calculating an appearance rate at which a common keyword appears in all documents including the key document and the reference document. When there are N reference documents and a common keyword exists in B of them, the keyword appearance rate in all documents is calculated as B / (1 + N). The keyword evaluation value calculation unit 91 searches the keywords and reference words stored in the all-word DB 82, and calculates how many reference words are the same as the same keyword and keyword. Here, since the “reference word” is a name given to the word extracted from the reference document for convenience, the “reference word identical to the keyword” means a keyword included in the reference document. The keyword appearance rate in all documents is calculated by dividing the calculated number of keywords by the number of all documents. Further, the keyword evaluation value calculation unit 91 has a function of calculating a keyword evaluation value by taking the reciprocal of the keyword appearance rate in all documents. That is, the keyword evaluation value is calculated by (1 + N) / B and indicates the degree to which each keyword is uniquely included in the key document.

類似度計算部92は、検索文書に含まれる全てのキーワードの評価値を加算し、加算した値を当該検索文書に含まれるキーワードの数で除することにより、キー文書と検索文書とが類似する程度を表す類似度を算出する機能を有する。また、類似度計算部92は、算出した類似度を類似度DB85に格納させる。   The similarity calculation unit 92 adds the evaluation values of all keywords included in the search document, and divides the added value by the number of keywords included in the search document, whereby the key document and the search document are similar. It has a function of calculating the degree of similarity representing the degree. Further, the similarity calculation unit 92 stores the calculated similarity in the similarity DB 85.

文書間距離計算部93は、類似度DB85に格納されている類似度を用いて文書Tと文書Tとの間の安定文書間距離L(i,j)を算出する機能を有する。ここで、安定文書間距離L(i,j)は、下記式、
(i,j)=2/(Sij+Sji
から求められる。ここで、Sijは、文書Tをキー文書とし、文書Tを検索文書としたときの類似度を表し、Sjiは、文書Tをキー文書とし、文書Tを検索文書としたときの類似度を表す。つまり、上記式は、文書Tと文書Tとの間で、キー文書と検索文書の関係を入れ替えて算出された類似度の平均値をとり、さらにその平均値の逆数をとることを意味している。キー文書と検索文書の関係を入れ替えて算出された類似度の平均値を用いるのは、上記のSijとSjiとは必ずしも一致しないからである。このようにして算出される安定文書間距離L(i,j)は、両文書間の類似度が高いほど小さくなり、類似度が低いほど大きくなる。
The inter-document distance calculation unit 93 has a function of calculating a stable inter-document distance L 0 (i, j) between the document T i and the document T j using the similarity stored in the similarity DB 85. Here, the stable inter-document distance L 0 (i, j) is expressed by the following equation:
L 0 (i, j) = 2 / (S ij + S ji )
It is requested from. Here, S ij represents the similarity when the document T i is the key document and the document T j is the search document. S ji is the document T j is the key document and the document T i is the search document. Represents the degree of similarity. That is, the above expression means that the average value of the similarity calculated by switching the relationship between the key document and the search document is taken between the document T i and the document T j, and further, the inverse of the average value is taken. is doing. The reason why the average value of similarity calculated by switching the relationship between the key document and the search document is used is that S ij and S ji do not necessarily match. The stable inter-document distance L 0 (i, j) calculated in this way decreases as the similarity between the two documents increases, and increases as the similarity decreases.

図8は、安定文書間距離を算出する処理(図6の安定文書間距離算出ステップ(S61)のサブルーチン)を示すフローチャートである。まず、キーワード抽出部71がキー文書からキーワードを抽出し、抽出したキーワードをキーワードDB81に格納させる(S81)。また、参照ワード抽出部72が参照文書から参照ワードを抽出し、抽出した参照ワードを全ワードDB82に格納させる(S82)。なお、全ワードDB82には、キーワード抽出部71により抽出されたキーワードも格納される。次に、キーワード評価値計算部91が、全ワードDB82に格納されているキーワード及び参照ワードを読み込み、各キーワードの評価値を計算し、その評価値を評価値DB83に格納させる(S83)。また、文書間距離計算部93が検索文書から検索ワードを抽出し、抽出した検索ワードを検索ワードDB84に格納させる(S84)。次に、類似度計算部92が、評価値DB83に格納されている評価値及び検索ワードDB84に格納されている検索ワードを読み込み、キー文書と検索文書との間の類似度を計算し、その類似度を類似度DB85に格納させる(S85)。最後に、文書間距離計算部93が、類似度DB85に格納されている類似度を読み込み、各文書間の安定文書間距離を計算する(S86)。   FIG. 8 is a flowchart showing a process for calculating a stable inter-document distance (a subroutine of the stable inter-document distance calculating step (S61) in FIG. 6). First, the keyword extraction unit 71 extracts keywords from the key document, and stores the extracted keywords in the keyword DB 81 (S81). Further, the reference word extraction unit 72 extracts the reference word from the reference document, and stores the extracted reference word in the all word DB 82 (S82). Note that the all words DB 82 also stores the keywords extracted by the keyword extraction unit 71. Next, the keyword evaluation value calculation unit 91 reads the keywords and reference words stored in the all-word DB 82, calculates the evaluation value of each keyword, and stores the evaluation value in the evaluation value DB 83 (S83). Further, the inter-document distance calculation unit 93 extracts a search word from the search document, and stores the extracted search word in the search word DB 84 (S84). Next, the similarity calculation unit 92 reads the evaluation value stored in the evaluation value DB 83 and the search word stored in the search word DB 84, calculates the similarity between the key document and the search document, The similarity is stored in the similarity DB 85 (S85). Finally, the inter-document distance calculation unit 93 reads the similarity stored in the similarity DB 85 and calculates the stable inter-document distance between each document (S86).

本実施形態例の安定文書間距離算出部22によれば、各キーワードがキー文書に固有に含まれる程度を示す評価値を用いて2文書間の安定文書間距離を算出するので、両文書が類似する程度を高精度に反映した安定文書間距離を求めることができる。なお、安定文書間距離は、本実施形態例に示す算出方法により算出されるものに限らず、例えば特許文献1,2に記載されているような、語句ベクトル等のベクトル間の距離として算出されるものであってもよい。ただし、2文書の類似する程度を精度良く反映させるためには、本実施形態例に示す算出方法を用いることが好ましい。
本発明が特許文献の分類表示に適用される場合における安定文書間距離を算出する処理の別の実施形態として、重複引用文献を利用する方法が考えられる。図19は、重複引用文献を利用する実施形態の説明を補助するための図である。図20は、この実施形態における処理を示すフローチャートである。まず、文書Tと文書Tとが重複して引用する文献を検出する(S201)。例えば、図19に示されるように、US6713520B2を文書Tとし、US6433090B1を文書Tとする。文書Tには、3つの文献が引用されている(ただし、自文書も引用文献として扱われている。)。文書Tには、23の文献が引用されている(ただし、自文書も引用文献として扱われている。)。これらのうちUS6433090(文書T)のみが重複引用文献として検出される。次に、重複引用文献US6433090の評価値を算出する(S202)。具体的には、他の分類対象文書で当該文献を引用しているものの数の逆数を評価値とする。例えば、重複引用文献US6433090を引用している分類対象文書が文書Tに加えて一つだけ存在すると仮定すると、重複引用文献US6433090の評価値は1/2=0.5となる。次に、こうして算出された重複引用文献の評価値に基づいて文書Tと文書Tとの類似度を算出する(S203)。具体的には、重複引用文献の評価値を合算して得られる値を文書Tの引用文献数と文書Tの引用文献数との和で除した値を類似度とする。本例では、重複引用文献はUS6433090のみであり、その評価値は0.5である。したがって、重複引用文献の評価値を合算して得られる値は0.5である。文書Tの引用文献数と文書Tの引用文献数との和は、3+23=26である。したがって、文書Tと文書Tとの類似度は0.5/26≒0.019となる。最後に、類似度に基づいて文書Tと文書Tとの間の安定文書間距離を算出する(S204)。具体的には、類似度の逆数(26/0.5=52)を安定文書間距離とする。なお、この実施形態では、重複引用文献を引用している他の分類対象文書の数の逆数を評価値としたが、この方法は分類対象文書の件数が100件未満(好ましくは50件未満)の場合に特に有用である。これに代えて、分類対象文書の件数が2000件未満の場合には、重複引用文献を引用している他の分類対象文書の数の平方根の逆数を評価値とすることもできる。また、100件を超える場合は評価値を1に固定するのが望ましい。S201において処理時間を短縮するために、予め分類対象文書ごとに自文書の文献番号とこれを引用する他の分類対象文書の文献番号とを示すテーブルを用意しておくことが考えられる。
According to the stable inter-document distance calculation unit 22 of the present exemplary embodiment, the stable inter-document distance between two documents is calculated using an evaluation value indicating the degree to which each keyword is inherently included in the key document. A stable inter-document distance that reflects the degree of similarity with high accuracy can be obtained. Note that the stable inter-document distance is not limited to the one calculated by the calculation method shown in this embodiment, and is calculated as a distance between vectors such as word vectors as described in Patent Documents 1 and 2, for example. It may be a thing. However, in order to accurately reflect the degree of similarity between the two documents, it is preferable to use the calculation method shown in this embodiment.
As another embodiment of the process for calculating the stable inter-document distance when the present invention is applied to the classification display of patent documents, a method using duplicate citations can be considered. FIG. 19 is a diagram for assisting the description of the embodiment using the duplicate citations. FIG. 20 is a flowchart showing the processing in this embodiment. First, a document cited by duplicating the document T i and the document T j is detected (S201). For example, as shown in FIG. 19, the US6713520B2 the document T i, the document T j of US6433090B1. The document T i, 3 single documents are cited (but is also self-document treated as references.). 23 documents are cited in the document T j (however, the document itself is also treated as a cited document). Of these, only US6433090 (document T j ) is detected as a duplicate citation. Next, the evaluation value of the double cited document US6433090 is calculated (S202). More specifically, the reciprocal of the number of documents classified as other classification target documents is used as the evaluation value. For example, the classification target document cites duplicate references US6433090 is assuming there is only one addition to document T i, the evaluation value of the duplicate references US6433090 becomes 1/2 = 0.5. Next, the similarity between the document T i and the document T j is calculated on the basis of the evaluation value of the duplicate cited document calculated in this way (S203). Specifically, the value obtained by adding the evaluation values of the overlapping cited documents is divided by the sum of the number of cited documents of the document T i and the number of cited documents of the document T j is set as the similarity. In this example, the only cited reference is US6433090, and its evaluation value is 0.5. Therefore, the value obtained by adding the evaluation values of the cited references is 0.5. The sum of the number of documents cited in the document T i and the number of documents cited in the document T j is 3 + 23 = 26. Therefore, the similarity between the document T i and the document T j is 0.5 / 26≈0.019. Finally, a stable inter-document distance between the document T i and the document T j is calculated based on the similarity (S204). Specifically, the reciprocal of the similarity (26 / 0.5 = 52) is set as the stable inter-document distance. In this embodiment, the reciprocal of the number of other classification target documents that cite the duplicate citation is used as the evaluation value. However, in this method, the number of classification target documents is less than 100 (preferably less than 50). It is particularly useful in the case of. Instead, when the number of classification target documents is less than 2,000, the reciprocal of the square root of the number of other classification target documents quoting duplicate citations can be used as the evaluation value. Moreover, when the number exceeds 100, it is desirable to fix the evaluation value to 1. In order to shorten the processing time in S201, it is conceivable to prepare a table indicating the document number of its own document and the document number of another classification target document that cites it in advance for each classification target document.

図9は、図6の総和文書間力ベクトル算出ステップ(S66)のサブルーチンを示すフローチャートである。まず、文書間力ベクトル算出部26が、位置座標DB16に格納されている各文書の位置座標を読み込み、その位置座標から各2文書間の座標平面上における距離(離間ベクトルの長さ)を算出する(S91)。また、文書間力ベクトル算出部26は、文書間距離DB14に格納されている安定文書間距離を読み込み、その安定文書間距離と前ステップS91で計算した距離とを用いて、文書間力を算出する(S92)。さらに、文書間力ベクトル算出部26は、離間ベクトルに基づいて文書間力のX成分及びY成分を算出し(S93)、ある文書に対して他の配置済み文書から働く文書間力の総和をベクトル和として求めることにより、総和文書間力ベクトルを算出する(S94)。そして、全ての配置済み文書について総和文書間力ベクトルが算出された場合にはフローが終了し、総和文書間力ベクトルが算出されていない文書がある場合には、上記ステップ(S91〜S94)が繰り返される(S95)。   FIG. 9 is a flowchart showing a subroutine of the total inter-document force vector calculation step (S66) of FIG. First, the inter-document force vector calculation unit 26 reads the position coordinates of each document stored in the position coordinate DB 16, and calculates the distance on the coordinate plane between the two documents (the length of the separation vector) from the position coordinates. (S91). The inter-document force vector calculation unit 26 reads the stable inter-document distance stored in the inter-document distance DB 14 and calculates the inter-document force using the stable inter-document distance and the distance calculated in the previous step S91. (S92). Further, the inter-document force vector calculation unit 26 calculates the X component and the Y component of the inter-document force based on the separation vector (S93), and calculates the sum of the inter-document forces working from other arranged documents for a certain document. By calculating as a vector sum, a total inter-document force vector is calculated (S94). Then, when the total document inter-force vector is calculated for all the arranged documents, the flow ends. When there is a document for which the total inter-document force vector is not calculated, the above steps (S91 to S94) are performed. Repeated (S95).

図10は、図6の位置座標の更新ステップ(S67)のサブルーチンを示すフローチャートである。まず、位置座標更新部28が、文書間力ベクトルDB18に格納されている文書間力ベクトルを読み込み、そのベクトルに応じて各文書の移動、すなわち位置座標の変更を行う(S101)。その後、位置座標更新部28は、収束条件の判定に用いられる、各文書の移動距離の平均値を算出する(S102)。S68において、移動距離の平均値が閾値を下回ることを収束条件とすることができる。また、これに代えてint√N回位置座標の更新ステップを繰り返したことを収束条件とすることもできる。   FIG. 10 is a flowchart showing a subroutine of the position coordinate update step (S67) of FIG. First, the position coordinate update unit 28 reads an inter-document force vector stored in the inter-document force vector DB 18, and moves each document, that is, changes the position coordinate according to the vector (S101). Thereafter, the position coordinate update unit 28 calculates an average value of the moving distances of the respective documents used for determining the convergence condition (S102). In S <b> 68, the convergence condition can be that the average value of the movement distance is less than the threshold value. Alternatively, the convergence condition may be that the position coordinate update step is repeated int√N times.

図11は、表示座標系に追加の配置文書を加えていく処理を示すフローチャートである。図11を参照して、図6に示した初期配置文書の配置・移動処理が終了してから、順次追加の配置文書を加えていって、全ての分類対象文書の配置・移動を完了させる処理を説明する。   FIG. 11 is a flowchart showing processing for adding an additional arrangement document to the display coordinate system. Referring to FIG. 11, after the arrangement / movement process of the initial arrangement document shown in FIG. 6 is completed, additional arrangement documents are sequentially added to complete the arrangement / movement of all the classification target documents. Will be explained.

配置文書選択部23が、次に表示座標系に加える時期配置文書を、int(mm/10)(ただし、mmは既に表示座標系に配置済みの分類対象文書の数)個無作為に選択する(S111)。ただし、分類対象文書の残りの個数がint(mm/10)に満たない場合には、残存している分類対象文書全てが時期配置文書になる。初期配置文書の配置・移動処理の直後に追加される時期配置文書の数は、int{(int√N)/10}個となる。   The arrangement document selection unit 23 randomly selects the next arrangement document to be added to the display coordinate system int (mm / 10) (where mm is the number of classification target documents already arranged in the display coordinate system). (S111). However, when the remaining number of classification target documents is less than int (mm / 10), all the remaining classification target documents become time-arranged documents. The number of time-arranged documents added immediately after the arrangement / movement process of the initial arrangement document is int {(int√N) / 10}.

位置座標初期値設定部24が、時期配置文書が最初に設置される表示座標系上の位置座標を算出する(S112)。本実施形態では、時期配置文書は、最も安定文書間距離が短い配置済み分類対象文書の近傍に位置するように初期設定される。具体的には、位置座標初期値設定部24は、安定文書間距離DB14を参照して、L(c,mm+k)が最小値となるcを求め(ただし、c=1〜mm)、時期配置文書Tの位置座標の初期値を(X,Y)=(X+ε,Y+ε)(ε:定数)とする。また、以上に代えて初期配置文書の場合と同様に時期配置文書の初期値を乱数により決定してもよい。 The position coordinate initial value setting unit 24 calculates the position coordinates on the display coordinate system where the time placement document is first installed (S112). In the present embodiment, the time-arranged document is initially set so as to be positioned in the vicinity of the arranged classification target document having the shortest stable inter-document distance. Specifically, the position coordinate initial value setting unit 24 refers to the stable inter-document distance DB 14 to obtain c where L 0 (c, mm + k) is the minimum value (where c = 1 to mm). The initial value of the position coordinates of the arrangement document T k is (X k , Y k ) = (X c + ε, Y c + ε) (ε: constant). Instead of the above, the initial value of the time-arranged document may be determined by a random number as in the case of the initial-arranged document.

ある時期配置文書の位置座標が初期値に設定された後、文書間力ベクトル算出部26が、当該時期配置文書が他の配置済み分類対象文書から受ける現在の総和文書間力ベクトルを算出する(S113)。位置座標更新部28が、この総和文書間力ベクトルに基づき当該時期配置文書の位置座標を更新する(S114)。収束条件判定部30が、当該時期配置文書の今回の移動量が閾値以下であること又はS113〜S115の処理が所定の回数実行されたことをもって当該時期配置文書の位置座標の収束を判断する(S115)。収束が判断されなかった場合には、当該時期配置文書について再びS113〜S115の処理が繰り返される。   After the position coordinates of a certain time-arranged document are set to initial values, the inter-document force vector calculation unit 26 calculates the current total inter-document force vector received by the time-arranged document from other arranged classification target documents ( S113). The position coordinate update unit 28 updates the position coordinates of the time-arranged document based on the total inter-document force vector (S114). The convergence condition determination unit 30 determines the convergence of the position coordinates of the time-arranged document when the current movement amount of the time-arranged document is equal to or smaller than the threshold value or when the processes of S113 to S115 are executed a predetermined number of times ( S115). If convergence is not determined, the processing of S113 to S115 is repeated again for the time-arranged document.

時期配置文書のうちの他の文書についても、順次S112〜S115の処理が行われる。時期配置文書中の全ての文書について配置・移動処理が完了した場合には、今回表示座標系に加えられた時期配置文書を含む全ての配置済み文書について位置計算(S66〜S68の処理)が√N回行われる(S117)。このように、時期配置文書の全てを一度に配置して移動処理(全部又は一部の配置文書の各々について、総和文書間力ベクトルを算出してこれに基づき位置座標を更新する処理を位置座標の収束が判断されるまで繰り返す処理)を行う代わりに、他の配置済み文書の位置座標を固定しつつ一つずつ順次時期配置文書の配置・移動処理を行って全ての時期配置文書の位置座標を仮決めし、さらに今回の時期配置文書を含む全ての配置済み文書についての配置・移動処理を行うことにより、移動処理の繰返回数を減少させることができる。未配置の分類対象文書についてS111〜S117の処理が行われる。ただし、未配置の分類対象文書がなくなった場合には、この時点で配置・移動処理が終了する。   The processes of S112 to S115 are sequentially performed for other documents among the time-arranged documents. When the arrangement / movement processing is completed for all the documents in the time-arranged document, the position calculation (processing in S66 to S68) is performed for all the arranged documents including the time-arranged document added to the display coordinate system this time. This is performed N times (S117). In this way, all the time-arranged documents are arranged at a time and moved (the process of calculating the total inter-document force vector and updating the position coordinates based on the total or part of the arranged documents is performed using the position coordinates. Instead of repeating the process until the convergence is determined, the position coordinates of all the time-arranged documents are processed one by one by sequentially placing and moving the time-arranged documents one by one while fixing the position coordinates of the other arranged documents. , And the placement / movement process for all the arranged documents including the current time-arranged document is performed, whereby the number of repetitions of the movement process can be reduced. The processing of S111 to S117 is performed on the unallocated classification target document. However, when there is no unallocated classification target document, the arrangement / movement process ends at this point.

図12は、図11の結果表示ステップ(出力ステップ)のサブルーチンを示すフローチャートである。まず、表示部32が、表示エリアをm×n個のセルに区切る(S121)。ここで、入力部34により表示エリアを規定するX座標及びY座標それぞれの最大値及び最小値を入力する(S122)。この入力は、ユーザが行うものである。次に、表示部32は、入力部34より入力された上記の値に基づいて、各セルに相当する座標範囲を算出する(S123)。そして、表示部32は、各セルの座標範囲内に位置座標を有する文書数を表示エリアに表示する(S124)。また、表示部32は、各セルに含まれる文書のイメージを作成するとともに(S125)、各セルに文書のイメージをハイパーリンクさせる(S126)。   FIG. 12 is a flowchart showing a subroutine of the result display step (output step) in FIG. First, the display unit 32 divides the display area into m × n cells (S121). Here, the maximum value and the minimum value of the X coordinate and the Y coordinate defining the display area are input by the input unit 34 (S122). This input is performed by the user. Next, the display unit 32 calculates a coordinate range corresponding to each cell based on the above-described value input from the input unit 34 (S123). Then, the display unit 32 displays the number of documents having position coordinates within the coordinate range of each cell in the display area (S124). The display unit 32 creates an image of the document included in each cell (S125) and hyperlinks the image of the document to each cell (S126).

図13(a)及び図13(b)は、図1の表示部32による結果表示の変形例を説明するための図である。図に示される表示エリア50は、図5に対応するものである。本例では、表示エリア50内の一部を新たな表示エリアとして指定することにより、その部分を表示エリア50全体に再表示させることができる。例えば、図13(a)において中央の4つのセル(外枠を太線で示している)を指定した場合、この指定した部分が、図13(b)に示すように、表示エリア50全体に再表示される。このとき、表示エリア50内のセル数は不変であるので、指定した部分はより細かいセルに分割されている。例えば、図13(a)において文書数が「5」と表示されているセルは、図13(b)において右上の4つのセルに対応している。したがって、この4つのセルの文書数の和は5となっている。表示エリアの指定は、例えば図1の入力部34に座標値を入力することにより、或いは画面上においてマウスで選択することにより行うことができる。   FIGS. 13A and 13B are diagrams for explaining a modification of the result display by the display unit 32 of FIG. The display area 50 shown in the figure corresponds to FIG. In this example, by designating a part of the display area 50 as a new display area, the part can be displayed again on the entire display area 50. For example, if four cells in the center (the outer frame is indicated by a thick line) are designated in FIG. 13A, the designated portion is re-displayed in the entire display area 50 as shown in FIG. 13B. Is displayed. At this time, since the number of cells in the display area 50 is unchanged, the designated portion is divided into finer cells. For example, the cell in which the number of documents is displayed as “5” in FIG. 13A corresponds to the upper right four cells in FIG. Therefore, the sum of the number of documents in the four cells is 5. The designation of the display area can be performed, for example, by inputting coordinate values to the input unit 34 in FIG. 1 or by selecting with a mouse on the screen.

図14は、図1の表示部32による結果表示の変形例を説明するための図である。本例において表示部32は、表示エリア54d内のプロットエリア54pに、各文書の表示座標系(二次元表示座標系)における位置座標をプロットして表示する。各プロット56には、対応する文書を特定できるように、各文書のタイトル等がテキストボックス53(「テキストボックス」とは、プロットされた文書の属性を表示するための一定の形状及び大きさの小エリアをいう。ただし、属性情報の表示量に応じて何段階かの異なる形状又は大きさのテキストボックスを設定することも考えられる。)内に表示される。テキストボックス53が表示エリア54dからはみ出すことがないように、プロットエリア54pは表示エリア54aからテキストボックス53のサイズ分(複数段階の形状又は大きさのテキストボックスが設定されている場合には、最も長い縦径又は横径の分)だけ内側に縮小されている。すなわち、表示エリア54aの各角に位置する点線と表示エリア54aの枠で囲われる領域はテキストボックス53と同じ大きさ及び形状になっている。ここでは、分類対象文書として公開特許公報を想定しており、その文献番号として出願番号が表示されている。また、表示されているテキストボックス53あるいは文献番号には、ハイパーリンクが貼られており、画面上で文献番号をクリックすることによりその文書のイメージにアクセスすることができる。また、テクストボックス53には文献番号の他に発明の名称や出願人、要約から切り出したキーワードを表示させることができ、これを行えば分類内容の把握が一層容易となる。   FIG. 14 is a diagram for explaining a modified example of the result display by the display unit 32 of FIG. In this example, the display unit 32 plots and displays the position coordinates of each document in the display coordinate system (two-dimensional display coordinate system) in the plot area 54p in the display area 54d. Each plot 56 has a text box 53 (“text box” having a certain shape and size for displaying the attributes of the plotted document so that the corresponding document can be identified. This is a small area, but it is also possible to set text boxes of several different shapes or sizes depending on the display amount of attribute information. In order to prevent the text box 53 from protruding from the display area 54d, the plot area 54p corresponds to the size of the text box 53 from the display area 54a (when a text box having a plurality of shapes or sizes is set, It is reduced inward by the length of the long vertical or horizontal diameter. That is, the area surrounded by the dotted line located at each corner of the display area 54 a and the frame of the display area 54 a has the same size and shape as the text box 53. Here, an open patent publication is assumed as a document to be classified, and an application number is displayed as the document number. Further, a hyperlink is pasted on the displayed text box 53 or the document number, and the document image can be accessed by clicking the document number on the screen. In addition to the document number, the text box 53 can display the name of the invention, the applicant, and a keyword cut out from the summary, which makes it easier to grasp the classification contents.

図15は、図14の変形例に係るフローチャートを示している。まず、ユーザが表示エリア54aを規定するX座標及びY座標それぞれの最大値及び最小値を入力する(S151)。この入力は、図1の入力部34より行うことができる。表示部32はプロットエリア54pを設定する(S152)。表示部32は、プロットエリア54p内にある各文書の位置座標をプロットし、プロット56と関連付けてテキストボックス53を表示する(S153)。さらに、表示部32は、各プロットに文書イメージをハイパーリンクさせる(S154)。なお、図14の表示例では、表示の一部領域を指定し、これを新たな表示エリアとして拡大表示する、或いは、表示エリアの一点、例えばエリア中心部のテキストボックスをマウスポインタで指定し、これを中心に拡大/縮小表示することができる。また、指定した1又は2以上のテキストボックスの内容を表計算ソフト等のワークシート上にコピーすることで、分類に続く作業をより一層容易にすることができる。   FIG. 15 shows a flowchart according to a modification of FIG. First, the user inputs the maximum value and the minimum value of the X coordinate and the Y coordinate that define the display area 54a (S151). This input can be performed from the input unit 34 of FIG. The display unit 32 sets the plot area 54p (S152). The display unit 32 plots the position coordinates of each document in the plot area 54p, and displays the text box 53 in association with the plot 56 (S153). Further, the display unit 32 hyperlinks the document image to each plot (S154). In the display example of FIG. 14, a partial area of the display is specified, and this is enlarged and displayed as a new display area, or one point of the display area, for example, a text box at the center of the area is specified with the mouse pointer. It is possible to display an enlarged / reduced display around this. Also, by copying the contents of one or more designated text boxes onto a worksheet such as spreadsheet software, the work following the classification can be made easier.

図16は、図1の表示部32による結果表示の変形例を説明するための図である。本例において、表示部32は、ユーザが指定した基準文書の位置座標を基点として、座標平面上において表示半径内に位置座標をもつ文書を該当文書として表示する。基準文書及び表示半径の指定は、図1の入力部34より行うことができる。また、基準文書は、分類対象文書DB12に格納されている分類対象文書の中から選ばれる。図16において表示画面57内の右側に、該当文書リストが表示されている。これらの表示には、ハイパーリンクが貼られている。ここでは、基準文書から表示半径内に4つの文書が存在する。また、このリストは、基準文書からの距離が近い順にソートされて表示されている。さらに、本例では、表示画面57内の左側に、表示エリア58が設けられている。この表示エリア58には、基準文書を中心として各文書の位置座標がプロットされ、併せて基準文書を中心として表示半径を半径とする円59が表示される。この円59は、表示半径を再指定する際の目安とすることができる。各プロットに付されている数字は、該当文書リストにおける番号に対応している。本例によれば、基準文書に類似する文書を検索することができる。また、この場合、基準文書を色又は字体等を変える所謂ハイライト表示で表示することにより、目標とする基準文書とそれに類似する文書の位置関係の把握が容易になる。   FIG. 16 is a diagram for explaining a modification of the result display by the display unit 32 of FIG. In this example, the display unit 32 displays a document having a position coordinate within a display radius on the coordinate plane as a corresponding document with the position coordinate of the reference document designated by the user as a base point. Designation of the reference document and the display radius can be performed from the input unit 34 in FIG. The reference document is selected from the classification target documents stored in the classification target document DB 12. In FIG. 16, the corresponding document list is displayed on the right side in the display screen 57. Hyperlinks are pasted on these displays. Here, there are four documents within the display radius from the reference document. In addition, this list is sorted and displayed in order from the shortest distance from the reference document. Further, in this example, a display area 58 is provided on the left side in the display screen 57. In the display area 58, the position coordinates of each document are plotted with the reference document as the center, and a circle 59 having the display radius as the center with the reference document as the center is displayed. This circle 59 can be used as a guide when redesignating the display radius. The numbers attached to each plot correspond to the numbers in the corresponding document list. According to this example, a document similar to the reference document can be searched. Further, in this case, by displaying the reference document in a so-called highlight display in which the color or font is changed, it becomes easy to grasp the positional relationship between the target reference document and a similar document.

図17は、図16の変形例に係るフローチャートを示している。まず、ユーザが図1の入力部34より基準文書、及び表示変形を入力する(S171,S172)。すると、表示部32は、位置座標DB16に格納されている各文書の位置座標を読み込み、基準文書から表示半径内の距離にある文書を該当文書リストとして表示する(S173)。さらに、表示部32は、該当文書リストに表示される文書のイメージをハイパーリンクさせる(S174)。ここで、ユーザは、必要に応じて、ハイパーリンクを辿ることにより表示された文書のイメージにアクセスし、その内容を確認する(S175)。そして、表示半径を再指定して検索し直すときは、上記ステップ(S172〜S175)を繰り返し実行し、検索し直さないときはフローを終了する(S176)。   FIG. 17 shows a flowchart according to a modification of FIG. First, the user inputs a reference document and display deformation from the input unit 34 in FIG. 1 (S171, S172). Then, the display unit 32 reads the position coordinates of each document stored in the position coordinate DB 16, and displays the documents located within the display radius from the reference document as a corresponding document list (S173). Further, the display unit 32 hyperlinks the image of the document displayed in the corresponding document list (S174). Here, the user accesses the image of the document displayed by following the hyperlink as necessary, and confirms the content (S175). When the search radius is specified again and the search is performed again, the above steps (S172 to S175) are repeated, and when the search is not performed again, the flow is terminated (S176).

最後に、図18を参照して、文書分類装置1のハードウェア構成について説明する。図18は、図1の文書分類装置1のハードウェア構成を示すブロック図である。図18に示すように、文書分類装置1は、物理的には、制御装置1a、メモリ1b、格納装置1c、入力装置1d、及び表示装置1eを備えて構成される。これら各装置は、バス1fを介して相互に各種信号の入出力が可能な様に電気的に接続されている。   Finally, the hardware configuration of the document classification device 1 will be described with reference to FIG. FIG. 18 is a block diagram showing a hardware configuration of the document classification device 1 of FIG. As shown in FIG. 18, the document classification device 1 physically includes a control device 1a, a memory 1b, a storage device 1c, an input device 1d, and a display device 1e. These devices are electrically connected to each other via a bus 1f so that various signals can be input and output.

具体的には、制御装置1aは例えばCPU(CentralProcessing Unit)であり、メモリ1bはRAM(RandomAccess Memory)といった揮発性の半導体メモリである。格納装置1cはHDD(Hard Disc Drive)を始めとする不揮発性の磁気ディスクである。入力装置1dは例えばキーボードやマウスであり、表示装置1eはLCD(Liquid Crystal Display)やCRT(Cathode Ray Tube)ディスプレイである。   Specifically, the control device 1a is, for example, a CPU (Central Processing Unit), and the memory 1b is a volatile semiconductor memory such as a RAM (Random Access Memory). The storage device 1c is a non-volatile magnetic disk such as an HDD (Hard Disc Drive). The input device 1d is, for example, a keyboard or a mouse, and the display device 1e is an LCD (Liquid Crystal Display) or a CRT (Cathode Ray Tube) display.

上記ハードウェア構成と機能的構成との対応関係を以下に示す。文書分類装置1に関して、データベース10の有する機能は、物理的な構成要素としての格納装置1cにより実現される。安定文書間距離算出部22、位置座標初期値設定部24、文書間力ベクトル算出部26、位置座標更新部28、収束条件判定部30の有する各機能は、制御装置1aが所定のプログラムを実行することにより実現される。入力部34の有する各機能は入力装置1dにより実現される。なお、表示部32の有する各機能は、制御装置1a及び表示装置1eにより実現される。すなわち、制御装置1aが所定の演算を施すことにより分類結果の表示内容を確定し、表示装置1eがその内容に従って分類結果を表示する。   The correspondence between the hardware configuration and the functional configuration is shown below. Regarding the document classification device 1, the functions of the database 10 are realized by the storage device 1c as a physical component. Each function of the stable inter-document distance calculation unit 22, the position coordinate initial value setting unit 24, the inter-document force vector calculation unit 26, the position coordinate update unit 28, and the convergence condition determination unit 30 is executed by the control device 1a. It is realized by doing. Each function of the input unit 34 is realized by the input device 1d. In addition, each function which the display part 32 has is implement | achieved by the control apparatus 1a and the display apparatus 1e. That is, the control device 1a performs a predetermined calculation to determine the display content of the classification result, and the display device 1e displays the classification result according to the content.

本発明による文書分類装置及び文書分類方法は、上記実施形態に限定されるものではなく、様々な変形が可能である。例えば、2次元の座標平面上において各文書の位置座標を決定する構成を示したが、その座標平面は1次元であってもよい。このとき、各文書は1本の直線上に位置座標を有することになるが、この場合も便宜的に1次元の「座標平面」と呼ぶことにする。また、3次元以上に拡張して、各文書の位置座標を決定する構成としてもよい。   The document classification apparatus and the document classification method according to the present invention are not limited to the above-described embodiments, and various modifications can be made. For example, although the configuration in which the position coordinates of each document are determined on a two-dimensional coordinate plane is shown, the coordinate plane may be one-dimensional. At this time, each document has position coordinates on one straight line. In this case, too, it is referred to as a one-dimensional “coordinate plane” for convenience. Alternatively, the position coordinates of each document may be determined by extending to three or more dimensions.

また、各文書の移動距離の平均値が規定値以下となることを収束条件としたが、収束条件はこれに限られない。例えば、各文書の移動距離の最大値が規定値以下となることを収束条件としてもよい。   Further, although the convergence condition is that the average value of the moving distance of each document is equal to or less than a specified value, the convergence condition is not limited to this. For example, the convergence condition may be that the maximum value of the moving distance of each document is not more than a specified value.

また、位置座標の更新の際に用いられる移動係数kは、常に一定の値である必要はない。ある程度収束が進んだ後、収束速度を上げるために、各文書の移動距離の平均値の増減如何によって移動係数kを加減する構成としてもよい。例えば、移動距離の平均値が前回の更新後よりも大きければk’=k×0.01(k’:加減後の移動係数)とし、小さければk’=k×1.03とする。   Further, the movement coefficient k used for updating the position coordinates does not always need to be a constant value. After the convergence has progressed to some extent, the movement coefficient k may be adjusted depending on whether the average value of the movement distance of each document is increased or decreased in order to increase the convergence speed. For example, if the average value of the movement distance is larger than that after the previous update, k ′ = k × 0.01 (k ′: movement coefficient after addition / subtraction), and if it is smaller, k ′ = k × 1.03.

複数の特許文献の間の類似度の関係を視覚で認識できるように示すことができる。   It can show so that the relationship of the similarity between several patent documents can be recognized visually.

本発明による文書分類装置の一実施形態を示すブロック図である。It is a block diagram which shows one Embodiment of the document classification device by this invention. 文書間距離DB14のデータベースの一例を示す構成図である。It is a block diagram which shows an example of the database of inter-document distance DB14. 位置座標DB16のデータベースの一例を示す構成図である。It is a block diagram which shows an example of the database of position coordinate DB16. 文書間力ベクトルDB18のデータベースの一例を示す構成図である。It is a block diagram which shows an example of the database of document force vector DB18. 表示部32による結果表示画面の一例を示す図である。It is a figure which shows an example of the result display screen by the display part. 初期処理及び二次元表示座標系において初期配置文書を配置・移動する処理を示すフローチャートである。It is a flowchart which shows the process which arrange | positions and moves an initial arrangement document in an initial process and a two-dimensional display coordinate system. 図1の安定文書間距離算出部22の構成の一例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of a configuration of a stable inter-document distance calculation unit 22 in FIG. 1. 図7の安定文書間距離算出部22の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the stable document distance calculation part 22 of FIG. 図6の総和文書間力ベクトル算出ステップ(S66)のサブルーチンを示すフローチャートである。It is a flowchart which shows the subroutine of the total document inter-force vector calculation step (S66) of FIG. 図6の位置座標の更新ステップ(S67)のサブルーチンを示すフローチャートである。It is a flowchart which shows the subroutine of the update step (S67) of the position coordinate of FIG. 表示座標系に追加の配置文書を加えていく処理を示すフローチャートである。It is a flowchart which shows the process which adds an additional arrangement | positioning document to a display coordinate system. 図6の結果表示ステップのサブルーチンを示すフローチャートである。It is a flowchart which shows the subroutine of the result display step of FIG. (a)及び(b)は、図1の表示部32による結果表示の変形例を説明するための図である。(A) And (b) is a figure for demonstrating the modification of the result display by the display part 32 of FIG. 図1の表示部32による結果表示の変形例を説明するための図である。It is a figure for demonstrating the modification of the result display by the display part of FIG. 図14の変形例に係るフローチャートを示している。15 shows a flowchart according to a modification of FIG. 図1の表示部32による結果表示の変形例を説明するための図である。It is a figure for demonstrating the modification of the result display by the display part of FIG. 図16の変形例に係るフローチャートを示している。FIG. 17 shows a flowchart according to a modification of FIG. 図1の文書分類装置1のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the document classification device 1 of FIG. 重複引用文献を利用して安定文書間距離を算出する実施形態の説明を補助するための図である。It is a figure for assisting description of embodiment which calculates the distance between stable documents using a duplication reference document. 重複引用文献を利用して安定文書間距離を算出する実施形態における処理を示すフローチャートである。It is a flowchart which shows the process in embodiment which calculates the distance between stable documents using a duplication reference document.

符号の説明Explanation of symbols

1…文書分類装置、10…データベース、12…分類対象文書DB、14…文書間距離DB、16…位置座標DB、18…文書間力ベクトルDB、22…安定文書間距離算出部、23…配置文書選択部、24…位置座標初期値設定部、26…文書間力ベクトル算出部、28…位置座標更新部、30…収束条件判定部、32…表示部、34…入力部、53…テキストボックス、54a…表示エリア、54p…プロットエリア、56…プロット。

DESCRIPTION OF SYMBOLS 1 ... Document classification apparatus, 10 ... Database, 12 ... Classification object DB, 14 ... Inter-document distance DB, 16 ... Position coordinate DB, 18 ... Inter-document force vector DB, 22 ... Stable inter-document distance calculation part, 23 ... Arrangement Document selection unit, 24 ... Position coordinate initial value setting unit, 26 ... Inter-document force vector calculation unit, 28 ... Position coordinate update unit, 30 ... Convergence condition determination unit, 32 ... Display unit, 34 ... Input unit, 53 ... Text box 54a ... display area, 54p ... plot area, 56 ... plot.

Claims (20)

複数の分類対象文書をそれぞれの内容に応じて分類する文書分類方法であって、
前記分類対象文書のうちの各2文書間の安定文書間距離を、両文書が類似する程度に応じて算出する第1のステップと、
前記分類対象文書から初期配置文書を選択する第2のステップと、
各前記初期配置文書が表示座標系上で当初配置される位置座標を算出する第3のステップと、
配置された前記初期配置文書のうちの各2文書間について、現処理時点における前記表示座標系上の一方の文書から他方の文書への離間ベクトルを算出し、各配置された前記初期配置文書について、前記離間ベクトルの長さと前記安定文書間距離との差及び前記離間ベクトルの方向に基づいて、他のある初期配置文書から受ける文書間力ベクトルを算出する第4のステップと、
各配置された前記初期配置文書について、他の各前記初期配置文書から受ける文書間力ベクトルを総和して総和文書間力ベクトルを算出する第5のステップと、
各配置された前記初期配置文書について、前記総和文書間力ベクトルに応じて次回処理時点における位置座標を算出する第6のステップと、
前記第4ないし6のステップの繰返処理の実行中に前記初期配置文書の位置座標の収束を判断し、当該繰返処理を終了させる第7のステップと、
前記分類対象文書から新たに前記表示座標系に組み入れる次期配置文書を選択する第8のステップと、
各前記次期配置文書が前記表示座標系において当初配置される位置座標を算出する第9のステップと、
新たに配置された前記次期配置文書について、既存の配置文書から受ける文書間力ベクトルを総和して総和文書間力ベクトルを算出する第10のステップと、
新たに配置された前記次期配置文書について、前記総和文書間力ベクトルに応じて次回処理時点における位置座標を算出する第11のステップと、
前記第10及び11のステップの繰返処理の実行中に前記次期配置文書の位置座標の収束を判断し、当該繰返処理を終了させる第12のステップとを備えることを特徴とする文書分類方法。
A document classification method for classifying a plurality of documents to be classified according to their contents,
A first step of calculating a stable inter-document distance between each two documents of the classification target document according to the degree of similarity between both documents;
A second step of selecting an initially arranged document from the classification target documents;
A third step of calculating position coordinates where each of the initial placement documents is initially placed on a display coordinate system;
A distance vector from one document on the display coordinate system to the other document at the time of the current processing is calculated between each two documents of the arranged initial arranged documents, and the arranged initial arranged documents are calculated. A fourth step of calculating an inter-document force vector received from a certain other initial arrangement document based on a difference between a length of the separation vector and the stable inter-document distance and a direction of the separation vector;
A fifth step of calculating a total inter-document force vector by summing up inter-document force vectors received from each other initial-arranged document for each of the initially arranged documents;
A sixth step of calculating the position coordinates at the next processing time according to the total inter-document force vector for each of the arranged initial arranged documents;
A seventh step of determining convergence of the position coordinates of the initially arranged document during execution of the repetition process of the fourth to sixth steps and terminating the repetition process;
An eighth step of selecting a next layout document to be newly incorporated into the display coordinate system from the classification target document;
A ninth step of calculating a position coordinate at which each next placement document is initially placed in the display coordinate system;
A tenth step of calculating a total document inter-force vector by summing up inter-document force vectors received from existing arranged documents for the newly arranged next-arranged document;
An eleventh step of calculating the position coordinates at the next processing time in accordance with the total inter-document force vector for the newly placed next-placed document;
A document classification method comprising: a twelfth step of determining convergence of position coordinates of the next arranged document during execution of the repetition processing of the tenth and eleventh steps and ending the repetition processing. .
前記第4のステップにおいて、
前記文書間力ベクトルの長さは、前記離間ベクトルの長さと前記安定文書間距離との差の絶対値の大きさに応じ、
前記文書間力ベクトルの方向は、前記離間ベクトルと同一方向又はその反対方向であり、前記離間ベクトルの長さが前記安定文書間距離よりも大きい場合に前記他のある初期配置文書に引き寄せられる方向となり、前記離間ベクトルの長さが前記安定文書間距離よりも小さい場合に前記他のある初期配置文書に反発する方向となることを特徴とする請求項1記載の文書分類方法。
In the fourth step,
The length of the inter-document force vector depends on the absolute value of the difference between the distance vector length and the stable inter-document distance.
The direction of the inter-document force vector is the same direction as the separation vector or the opposite direction, and the direction of the separation vector is drawn toward the other initial arrangement document when the length of the separation vector is larger than the stable inter-document distance. 2. The document classification method according to claim 1, wherein when the length of the separation vector is smaller than the stable inter-document distance, the document classification method is repelled by the other initial arranged document.
前記第7のステップにおいて、
前記分類対象文書の数をNとしたとき、
√N回前記第4ないし6のステップの繰返処理が行われたことをもって収束が判断されることを特徴とする請求項1記載の文書分類方法。
In the seventh step,
When the number of classification target documents is N,
2. The document classification method according to claim 1, wherein convergence is determined when the fourth to sixth steps are repeated N times.
更に次期の配置文書について前記第8ないし12のステップが繰り返されることを特徴とする請求項1記載の文書分類方法。 The document classification method according to claim 1, wherein the eighth to twelfth steps are repeated for the next arranged document. 前記分類対象文書の数をNとしたとき、前記初期配置文書の数は√N以上(√N+100)以下であり、
従前に前記表示座標系に配置された前記分類対象文書の数をNとしたとき、次期の配置文書の数をNの0.01倍以上1倍以下とすることを特徴とする請求項4記載の文書分類方法。
When the number of classification target documents is N, the number of the initially arranged documents is not less than √N and not more than (√N + 100).
When the number of the classifying target document disposed in the display coordinate system previously with N k, claims, characterized in that the number of next placement document than 1 times 0.01 times the N k 4. The document classification method according to 4.
前記次期配置文書について、一つずつ順次前記第10ないし12のステップを行い、
前記第12のステップにおいて、
処理中の前記時期配置文書について前記第11のステップで算出された総和文書間力ベクトルが閾値以下であったときに収束が判断されることを特徴とする請求項1記載の文書分類方法。
Steps 10 to 12 are sequentially performed on the next arranged document one by one.
In the twelfth step,
2. The document classification method according to claim 1, wherein convergence is determined when the total inter-document force vector calculated in the eleventh step is less than or equal to a threshold value for the time-arranged document being processed.
前記第9のステップにおいて、
各前記次期配置文書が前記表示座標系において当初配置される位置座標を乱数で決定することを特徴とする請求項6記載の文書分類方法。
In the ninth step,
The document classification method according to claim 6, wherein the position coordinates at which each of the next arranged documents is initially arranged in the display coordinate system are determined by random numbers.
前記第9のステップにおいて、
各前記次期配置文書が前記表示座標系において当初配置される位置座標を、最も前記安定文書間距離が小さい従前に配置された文書の近傍とすることを特徴とする請求項6記載の文書分類方法。
In the ninth step,
7. The document classification method according to claim 6, wherein a position coordinate at which each next arranged document is initially arranged in the display coordinate system is set to a neighborhood of a previously arranged document having the smallest stable inter-document distance. .
前記次期配置文書について、一つずつ順次前記第10ないし12のステップを行い、その後前記次期配置文書を含む全ての配置文書について前記第4ないし7のステップにおけるの繰返処理を一定回数実行することを特徴とする請求項1記載の文書分類方法。 The tenth to twelfth steps are sequentially performed on the next arranged document one by one, and then the repetition process in the fourth to seventh steps is executed a predetermined number of times for all the arranged documents including the next arranged document. The document classification method according to claim 1. 前記初期配置文書が前記分類対象文書の中から無作為に選択されることを特徴とする請求項1記載の文書分類方法。 The document classification method according to claim 1, wherein the initial arrangement document is randomly selected from the classification target documents. 表示手段の表示エリア中のプロットエリアに前記表示座標系上の前記分類対象文書の収束した位置座標のマークをプロットし、プロットされた各前記分類対象文書の標示を含むテキストボックスを前記マークと関連付けて表示エリアに表示するステップを備え、
前記プロットエリアが、前記表示エリアの枠から前記テキストボックスのサイズ分だけ内側に縮小されることを特徴とする請求項1記載の文書分類方法。
A mark of the converged position coordinates of the classification target document on the display coordinate system is plotted in a plot area in the display area of the display means, and a text box including a label of each of the plotted classification target documents is associated with the mark Step to display in the display area,
The document classification method according to claim 1, wherein the plot area is reduced inward by a size of the text box from a frame of the display area.
複数の分類対象文書をそれぞれの内容に応じて分類する文書分類方法であって、
前記分類対象文書のうちの各2文書間の安定文書間距離を、両文書が類似する程度に応じて算出する第1のステップと、
前記分類対象文書から初期配置文書を選択する第2のステップと、
各前記初期配置文書が表示座標系上で当初配置される位置座標を算出する第3のステップと、
配置された前記初期配置文書のうちの各2文書間について、現処理時点における前記表示座標系上の一方の文書から他方の文書への離間ベクトルを算出し、各配置された前記初期配置文書について、前記離間ベクトルの長さと前記安定文書間距離との差及び前記離間ベクトルの方向に基づいて、他のある初期配置文書から受ける文書間力ベクトルを算出する第4のステップと、
各配置された前記初期配置文書について、他の各前記初期配置文書から受ける文書間力ベクトルを総和して総和文書間力ベクトルを算出する第5のステップと、
各配置された前記初期配置文書について、前記総和文書間力ベクトルに応じて次回処理時点における位置座標を算出する第6のステップと、
前記第4ないし6のステップの繰返処理の実行中に前記初期配置文書の位置座標の収束を判断し、当該繰返処理を終了させる第7のステップと、
前記分類対象文書から新たに前記表示座標系に組み入れる複数の次期配置文書を選択する第8のステップと、
各前記次期配置文書中の一つについてが前記表示座標系において当初配置される位置座標を算出してこれを配置する第9のステップと、
新たに前記第9のステップで配置された前記次期配置文書について、既存の配置文書から受ける文書間力ベクトルを総和して総和文書間力ベクトルを算出する第10のステップと、
新たに前記第9のステップで配置された前記次期配置文書について、前記総和文書間力ベクトルに応じて次回処理時点における位置座標を算出する第11のステップと、
前記第10及び11のステップの繰返処理の実行中に前記次期配置文書前記第9のステップで配置された前記次期配置文書の位置座標の収束を判断し、当該繰返処理を終了させこの時点での位置を前記第9のステップで配置された前記次期配置文書の仮決め位置とする第12のステップと、
前記第9ないし12のステップを前記第8のステップで選択された次期配置文書の全てについて実行した後、全ての配置文書について前記第4ないし7のステップにおける繰返処理を実行する第13のステップと、
残存している前記分類対象文書について、前記第8ないし13のステップを実行する第14のステップとを備えることを特徴とする文書分類方法。
A document classification method for classifying a plurality of documents to be classified according to their contents,
A first step of calculating a stable inter-document distance between each two documents of the classification target document according to the degree of similarity between both documents;
A second step of selecting an initially arranged document from the classification target documents;
A third step of calculating position coordinates where each of the initial placement documents is initially placed on a display coordinate system;
A distance vector from one document on the display coordinate system to the other document at the time of the current processing is calculated between each two documents of the arranged initial arranged documents, and the arranged initial arranged documents are calculated. A fourth step of calculating an inter-document force vector received from a certain other initial arrangement document based on a difference between a length of the separation vector and the stable inter-document distance and a direction of the separation vector;
A fifth step of calculating a total inter-document force vector by summing up inter-document force vectors received from each other initial-arranged document for each of the initially arranged documents;
A sixth step of calculating the position coordinates at the next processing time according to the total inter-document force vector for each of the arranged initial arranged documents;
A seventh step of determining convergence of the position coordinates of the initially arranged document during execution of the repetition process of the fourth to sixth steps and terminating the repetition process;
An eighth step of selecting a plurality of next arranged documents to be newly incorporated into the display coordinate system from the classification target documents;
A ninth step of calculating and arranging position coordinates initially arranged in the display coordinate system for one of the next arranged documents;
A tenth step of calculating a total inter-document force vector by summing up inter-document force vectors received from existing arranged documents for the next-arranged document newly arranged in the ninth step;
An eleventh step of calculating position coordinates at the next processing time in accordance with the total inter-document force vector for the next arranged document newly arranged in the ninth step;
During the execution of the repeating process of the tenth and eleventh steps, the convergence of the position coordinates of the next arranged document arranged in the ninth step is determined, and the repeating process is terminated at this time. A twelfth step in which the position at is a provisionally determined position of the next arranged document arranged in the ninth step;
After executing the ninth to twelfth steps for all the next arranged documents selected in the eighth step, the thirteenth step for executing the repeating process in the fourth to seventh steps for all the arranged documents. When,
A document classification method comprising: a fourteenth step of executing the eighth to thirteenth steps for the remaining classification target document.
各前記分類対象文書が自文書を識別する文書番号を有し、
前記第1のステップにおける両文書が類似する程度を当該両文書が引用する前記分類対象文書の文書番号を用いて算出することを特徴とする請求項1ないし12のいずれか1項に記載の文書分類方法。
Each classification target document has a document number for identifying its own document,
The document according to any one of claims 1 to 12, wherein a degree of similarity between both documents in the first step is calculated using a document number of the classification target document cited by both documents. Classification method.
前記第1のステップにおける両文書が重複して引用する前記分類対象文書の数を当該両文書のそれぞれにおける引用数の和で除した値を当該両文書が類似する程度を表す値とすることを特徴とする請求項13に記載の文書分類方法。 A value obtained by dividing the number of documents to be classified cited in both documents in the first step by the sum of the number of citations in each of the two documents is set as a value representing the degree of similarity between the two documents. The document classification method according to claim 13, wherein: ある前記分類対象文書を引用する前記分類対象文書の数の逆数を当該前記分類対象文書の評価値とし、
前記第1のステップにおける両文書が重複して引用する前記分類対象文書の評価値の和を当該両文書のそれぞれにおける引用数の和で除した値を当該両文書が類似する程度を表す値とすることを特徴とする請求項13に記載の文書分類方法。
The reciprocal of the number of classification target documents that cite a certain classification target document is used as the evaluation value of the classification target document,
A value representing a degree of similarity between the two documents obtained by dividing the sum of the evaluation values of the classification target documents cited by both documents in the first step by the sum of the number of citations in each of the documents; The document classification method according to claim 13, wherein:
自文書を自文書が引用する前記分類対象文書の一つとみなすことを特徴とする請求項13ないし15のいずれか1項に記載の文書分類方法。 16. The document classification method according to claim 13, wherein the document is regarded as one of the classification target documents cited by the document. 前記分類対象文書が特許文献であり、
自文書を基礎とする優先権が主張された外国特許出願に係る外国特許文献で引用されている前記分類対象文書を自文書が引用する前記分類対象文書の一つとみなすことを特徴とする請求項13ないし15のいずれか1項に記載の文書分類方法。
The classification target document is a patent document,
The classification object document cited in a foreign patent document related to a foreign patent application for which priority is claimed based on the own document is regarded as one of the classification object documents cited by the own document. The document classification method according to any one of 13 to 15.
指定された前記分類対象文書から前記表示座標系上で閾値距離の範囲内に位置する前記分類対象文書のみを表示手段に表示することを特徴とする請求項1ないし17のいずれか1項に記載の文書分類方法。 18. The display unit displays only the classification target document located within a range of a threshold distance on the display coordinate system from the specified classification target document. 18. Document classification method. コンピュータシステムに、請求項1ないし181のいずれか1項に記載の各ステップを実行させることを特徴とする文書分類プログラム。 181. A document classification program for causing a computer system to execute the steps according to any one of claims 1 to 181. 複数の分類対象文書をそれぞれの内容に応じて分類する文書分類装置であって、
前記分類対象文書のうちの各2文書間の安定文書間距離を、両文書が類似する程度に応じて算出する第1のステップを実行する手段と、
前記分類対象文書から初期配置文書を選択する第2のステップを実行する手段と、
各前記初期配置文書が表示座標系上で当初配置される位置座標を算出する第3のステップを実行する手段と、
配置された前記初期配置文書のうちの各2文書間について、現処理時点における前記表示座標系上の一方の文書から他方の文書への離間ベクトルを算出し、各配置された前記初期配置文書について、前記離間ベクトルの長さと前記安定文書間距離との差及び前記離間ベクトルの方向に基づいて、他のある初期配置文書から受ける文書間力ベクトルを算出する第4のステップを実行する手段と、
各配置された前記初期配置文書について、他の各前記初期配置文書から受ける文書間力ベクトルを総和して総和文書間力ベクトルを算出する第5のステップを実行する手段と、
各配置された前記初期配置文書について、前記総和文書間力ベクトルに応じて次回処理時点における位置座標を算出する第6のステップを実行する手段と、
前記第4ないし6のステップの繰返処理の実行中に前記初期配置文書の位置座標の収束を判断し、当該繰返処理を終了させる第7のステップを実行する手段と、
前記分類対象文書から新たに前記表示座標系に組み入れる次期配置文書を選択する第8のステップを実行する手段と、
各前記次期配置文書が前記表示座標系において当初配置される位置座標を算出する第9のステップを実行する手段と、
新たに配置された前記次期配置文書について、既存の配置文書から受ける文書間力ベクトルを総和して総和文書間力ベクトルを算出する第10のステップを実行する手段と、
新たに配置された前記次期配置文書について、前記総和文書間力ベクトルに応じて次回処理時点における位置座標を算出する第11のステップを実行する手段と、
前記第10及び11のステップの繰返処理の実行中に前記次期配置文書の位置座標の収束を判断し、当該繰返処理を終了させる第12のステップを実行する手段とを備えることを特徴とする文書分類装置。
A document classification device for classifying a plurality of classification target documents according to their contents,
Means for executing a first step of calculating a stable inter-document distance between each two documents of the classification target documents according to the degree of similarity between the two documents;
Means for executing a second step of selecting an initially arranged document from the classification target documents;
Means for performing a third step of calculating position coordinates at which each of the initial placement documents is initially placed on a display coordinate system;
A distance vector from one document on the display coordinate system to the other document at the time of the current processing is calculated between each two documents of the arranged initial arranged documents, and the arranged initial arranged documents are calculated. Means for performing a fourth step of calculating an inter-document force vector received from some other initial placed document based on a difference between a length of the separation vector and the stable inter-document distance and a direction of the separation vector;
Means for performing a fifth step of calculating a total inter-document force vector by summing up inter-document force vectors received from each other initial-arranged document for each of the initially arranged documents;
Means for executing a sixth step for calculating the position coordinates at the next processing time in accordance with the total inter-document force vector for each placed initial placed document;
Means for determining a convergence of the position coordinates of the initially arranged document during execution of the repetition process of the fourth to sixth steps, and executing a seventh step of ending the repetition process;
Means for executing an eighth step of selecting a next layout document to be newly incorporated into the display coordinate system from the classification target document;
Means for performing a ninth step of calculating a position coordinate at which each next placement document is initially placed in the display coordinate system;
Means for executing a tenth step of calculating a total inter-document force vector by summing up inter-document force vectors received from existing arranged documents for the newly arranged next-arranged document;
Means for executing an eleventh step of calculating position coordinates at the next processing time in accordance with the total inter-document force vector for the newly arranged next arranged document;
Means for executing a twelfth step of determining the convergence of the position coordinates of the next arranged document during the execution of the repeating process of the tenth and eleventh steps and ending the repeating process. Document classification device.
JP2005058100A 2004-12-09 2005-03-02 Document classification program and document classification apparatus Expired - Fee Related JP4545614B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005058100A JP4545614B2 (en) 2004-12-09 2005-03-02 Document classification program and document classification apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004357206 2004-12-09
JP2005058100A JP4545614B2 (en) 2004-12-09 2005-03-02 Document classification program and document classification apparatus

Publications (2)

Publication Number Publication Date
JP2006190235A true JP2006190235A (en) 2006-07-20
JP4545614B2 JP4545614B2 (en) 2010-09-15

Family

ID=36797364

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005058100A Expired - Fee Related JP4545614B2 (en) 2004-12-09 2005-03-02 Document classification program and document classification apparatus

Country Status (1)

Country Link
JP (1) JP4545614B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008090510A (en) * 2006-09-29 2008-04-17 Shin Etsu Polymer Co Ltd Document classification device and method
CN112818823A (en) * 2021-01-28 2021-05-18 建信览智科技(北京)有限公司 Text extraction method based on bill content and position information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08255173A (en) * 1995-03-16 1996-10-01 Fuji Xerox Co Ltd Clustering device
JPH11219369A (en) * 1998-02-03 1999-08-10 Fujitsu Ltd Information presentation device
JP2000082068A (en) * 1998-09-07 2000-03-21 Hitachi Ltd Document retrieval system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08255173A (en) * 1995-03-16 1996-10-01 Fuji Xerox Co Ltd Clustering device
JPH11219369A (en) * 1998-02-03 1999-08-10 Fujitsu Ltd Information presentation device
JP2000082068A (en) * 1998-09-07 2000-03-21 Hitachi Ltd Document retrieval system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008090510A (en) * 2006-09-29 2008-04-17 Shin Etsu Polymer Co Ltd Document classification device and method
CN112818823A (en) * 2021-01-28 2021-05-18 建信览智科技(北京)有限公司 Text extraction method based on bill content and position information
CN112818823B (en) * 2021-01-28 2024-04-12 金科览智科技(北京)有限公司 Text extraction method based on bill content and position information

Also Published As

Publication number Publication date
JP4545614B2 (en) 2010-09-15

Similar Documents

Publication Publication Date Title
JP5079367B2 (en) Hierarchical clustering with real-time updates
US8918348B2 (en) Web-scale entity relationship extraction
US7769771B2 (en) Searching a document using relevance feedback
US9916304B2 (en) Method of creating translation corpus
JP2007133516A (en) Document sorting method, document sorting program and document sorting device
US10255355B2 (en) Method and system for information retrieval and aggregation from inferred user reasoning
JP6888484B2 (en) A search program, a search method, and an information processing device on which the search program operates.
AU2018205185A1 (en) Scalable font pairing with asymmetric metric learning
US20120054601A1 (en) Methods and systems for automated creation, recognition and display of icons
US20210056304A1 (en) Document information evaluating device, document information evaluating method, and document information evaluating program
US20040070624A1 (en) Program and method for displaying a radar chart
CN114287000A (en) Information retrieval and/or visualization method
US20170132484A1 (en) Two Step Mathematical Expression Search
US20190303437A1 (en) Status reporting with natural language processing risk assessment
JP3356519B2 (en) Document information retrieval device
JP2021064132A (en) Question sentence output method, computer program and information processing device
JP4545614B2 (en) Document classification program and document classification apparatus
JP5141152B2 (en) Text analysis program, text analysis method, and text analysis apparatus
JP2016110256A (en) Information processing device and information processing program
JP6303669B2 (en) Document retrieval device, document retrieval system, document retrieval method, and program
JP4453440B2 (en) Visual information classification method and apparatus, program, and storage medium recording visual information classification program
JP4994199B2 (en) Machine learning apparatus and machine learning method
Yousif et al. Shape clustering using k-medoids in architectural form finding
Aalam et al. Comparative study of data mining tools used for clustering
JP2008090510A (en) Document classification device and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070815

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100413

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100611

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100629

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100630

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130709

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130709

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees