Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4309933B2 - Document classification apparatus and classification method - Google Patents
[go: Go Back, main page]

JP4309933B2 - Document classification apparatus and classification method - Google Patents

Document classification apparatus and classification method Download PDF

Info

Publication number
JP4309933B2
JP4309933B2 JP2007153244A JP2007153244A JP4309933B2 JP 4309933 B2 JP4309933 B2 JP 4309933B2 JP 2007153244 A JP2007153244 A JP 2007153244A JP 2007153244 A JP2007153244 A JP 2007153244A JP 4309933 B2 JP4309933 B2 JP 4309933B2
Authority
JP
Japan
Prior art keywords
document
classification
category
viewpoint
vector
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.)
Expired - Fee Related
Application number
JP2007153244A
Other languages
Japanese (ja)
Other versions
JP2008305268A (en
Inventor
祐介 佐藤
真 岩山
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2007153244A priority Critical patent/JP4309933B2/en
Publication of JP2008305268A publication Critical patent/JP2008305268A/en
Application granted granted Critical
Publication of JP4309933B2 publication Critical patent/JP4309933B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、文書分類装置及び文書分類方法に係り、詳細には、取得した対象文書群に対する分類精度の向上に関する。   The present invention relates to a document classification device and a document classification method, and more particularly to improvement of classification accuracy for an acquired target document group.

従来、例えば文書検索システムなどにより収集した大量の文書を、それら文書の内容にしたがっていくつかのカテゴリに分類する場合がある。このような大量文書の分類を行う場合、クラスタリングなどの機械的な方法を用いて自動で分類するのが一般的である。ここで言う機械分類とは、文書内の単語の出現頻度に基づいた特徴量をベクトルの要素として、そのベクトル間の類似度を元に分類する方法である。   Conventionally, a large number of documents collected by, for example, a document search system may be classified into several categories according to the contents of the documents. When such a large number of documents are classified, it is generally classified automatically using a mechanical method such as clustering. The machine classification referred to here is a method of classifying a feature quantity based on the appearance frequency of a word in a document as a vector element based on the similarity between the vectors.

しかし、機械による自動分類は短時間に大量の文書を分類できるが、精度が低いためユーザの意図どおりの分類とならないことが多い。したがって、その機械分類結果を人手で再度精査するという二度手間が発生してしまっていた。   However, automatic classification by machine can classify a large amount of documents in a short time, but because of low accuracy, it is often not classified as intended by the user. Therefore, it has been troublesome to manually re-examine the machine classification result again.

上述した問題に対して、ユーザの分類意図を制約として機械分類に組み込むことで精度を向上させる方法がある。分類を行う際には、ある文書とある文書が必ず同じカテゴリに属することが事前にわかっている場合がある。例えば非特許文献1は、このような事前知識を分類の際の制約として機械分類に組み込むことでユーザの意図に合った分類結果を実現している。詳細には、任意の2つの文書が必ず同じカテゴリに属することがわかっている場合にはMust-link、異なるカテゴリである場合にはCannot-linkと呼ばれる制約を付与し、類似度よりもこれらの制約を優先した分類を行うことで精度を向上させる。   In order to solve the above-described problem, there is a method of improving accuracy by incorporating the user's classification intention into the machine classification as a constraint. When classifying, it may be known in advance that a document and a document always belong to the same category. For example, Non-Patent Document 1 realizes a classification result that matches the user's intention by incorporating such prior knowledge into machine classification as a restriction in classification. Specifically, we give a constraint called Must-link if any two documents are known to belong to the same category, and Cannot-link if they are in different categories. Improve accuracy by classifying constraints with priority.

Wagstaff, K., Cardie, C., Rogers, S. & Schroedl, S. Constrained K-Means clustering with background knowledge. Proc. of the 18th International Conference on Machine Learning. pp.577-584. 2001.Wagstaff, K., Cardie, C., Rogers, S. & Schroedl, S. Constrained K-Means clustering with background knowledge.Proc. Of the 18th International Conference on Machine Learning.pp.577-584. 2001.

しかし、上記の方法は文書と文書との間に付与する制約であるため、文書とカテゴリとの間に付与する必要がある場合には対応できない。また、「任意の2文書が同じ(異なる)カテゴリに属する」という情報しかもたない制約であるため、類似度による分類結果が異なる2文書間にMust-linkがはられた場合に、どちらのカテゴリに双方を属させるべきかという問題を解決できない。   However, since the above method is a restriction applied between documents, it cannot be applied when it is necessary to add between documents and categories. In addition, since the restriction has only information that “any two documents belong to the same (different) category”, when a Must-link is placed between two documents with different classification results based on similarity, which category The problem of whether both should belong to cannot be solved.

本発明によれば、機械分類によって得られる表形式の分類マップに対して、ユーザがあるカテゴリから別のカテゴリに文書を移動させると、その文書と移動先のカテゴリとの間に同分類制約を設定する。この同分類制約は、移動先のカテゴリに含まれる文書により計算した重心を新たな文書(同分類制約文書)として作成し、その作成された同分類制約文書と被移動文書との間で設定する。さらには、上記同分類制約で結んだ2文書のうち、被移動文書には移動フラグを設定する。   According to the present invention, when a user moves a document from a certain category to another category with respect to a tabular classification map obtained by machine classification, the same classification constraint is placed between the document and the destination category. Set. The same classification constraint is set between the created classification restriction document and the moved document by creating a centroid calculated by a document included in the destination category as a new document (same classification restriction document). . Furthermore, a movement flag is set for the moved document among the two documents connected by the same classification constraint.

一方、手動による分類マップ修正後の機械分類では、各文書をベクトルの類似度に従って分類するが、ある文書に同分類制約で結ばれた文書が存在し、かつ、それらの文書間で類似度による分類結果が異なる場合には、移動フラグのある文書を移動フラグのない文書と同じカテゴリに属させる。   On the other hand, in the machine classification after manual classification map correction, each document is classified according to the similarity of the vectors, but there is a document that is linked to the same classification constraint in a certain document, and the similarity between the documents depends on the similarity. If the classification results are different, the document with the movement flag belongs to the same category as the document without the movement flag.

このように、手動分類によって設定される同分類制約文書と移動フラグを機械分類の際に利用することで、ユーザの分類意図を反映させた精度の高い分類結果を得ることができる。   As described above, by using the same classification restriction document and movement flag set by manual classification at the time of machine classification, a highly accurate classification result reflecting the user's classification intention can be obtained.

図1は、本発明の一実施例である文書分類装置全体の構成図である。本文書分類装置は、情報端末10と、文書データDB110、分類操作DB111、書誌情報DB112、分類マップDB113の4つのデータベース、ネットワーク114で構成される。情報端末10と4つのデータベースはネットワーク114で接続されているが、4つのデータベースを情報端末10の内部に含めてもよい。   FIG. 1 is a block diagram of the entire document classification apparatus according to an embodiment of the present invention. The document classification apparatus includes an information terminal 10, a document data DB 110, a classification operation DB 111, a bibliographic information DB 112, and a classification map DB 113, and a network 114. The information terminal 10 and the four databases are connected by the network 114, but the four databases may be included in the information terminal 10.

情報端末10は、CPU101、メモリ102、キーボード・マウス103、ディスプレイ104、機械分類制御部105、同分類制約文書生成部106、手動分類制御部107、文書表示部108、データ通信部109からなる。   The information terminal 10 includes a CPU 101, a memory 102, a keyboard / mouse 103, a display 104, a machine classification control unit 105, a classification restriction document generation unit 106, a manual classification control unit 107, a document display unit 108, and a data communication unit 109.

CPU101は、機械分類制御部105、同分類制約文書生成部106、手動分類制御部107、文書表示部108、データ通信部109に記憶された各種プログラムを呼び出して実行することによって各種処理を行う。メモリ102は、CPU101が各種処理に使用するデータを一時的に記憶するワークエリアを提供する。キーボード・マウス103は、ユーザが情報を入力する手段として用いる。ディスプレイ104には、分類結果等を表示する。データ通信部109は、ネットワークインターフェイスである。例えばTCP/IPプロトコルを用いて通信可能なLANカードで構成される。情報端末10は、データ通信部109によりネットワーク114上に配置されたデータベースと通信することができる。   The CPU 101 performs various processes by calling and executing various programs stored in the machine classification control unit 105, the classification restriction document generation unit 106, the manual classification control unit 107, the document display unit 108, and the data communication unit 109. The memory 102 provides a work area for temporarily storing data used by the CPU 101 for various processes. The keyboard / mouse 103 is used as a means for a user to input information. The display 104 displays the classification result and the like. The data communication unit 109 is a network interface. For example, it is composed of a LAN card that can communicate using the TCP / IP protocol. The information terminal 10 can communicate with a database arranged on the network 114 by the data communication unit 109.

文書データDB110には、文書に含まれる単語の頻度情報が格納されている。分類操作DB111には、機械分類制御部105、同分類制約文書生成部106、手動分類制御部107より得られた各種処理結果が格納されている。書誌情報DB112には、作成者や作成日といった文書の書誌情報が格納されている。分類マップDB113には、作成した分類マップのカテゴリ情報が格納されている。   The document data DB 110 stores frequency information of words included in the document. In the classification operation DB 111, various processing results obtained from the machine classification control unit 105, the same classification constraint document generation unit 106, and the manual classification control unit 107 are stored. The bibliographic information DB 112 stores bibliographic information of documents such as creator and creation date. The classification map DB 113 stores category information of the created classification map.

図2は、図1における手動分類制御部107の構成図である。
固定フラグ生成部201は、ユーザからカテゴリ固定指示があった場合に、対象とする文書に固定フラグを生成する。移動フラグ生成部202は、ユーザがあるカテゴリから別のカテゴリへと文書を移動した場合に、対象とする文書に移動フラグを生成する。カテゴリ分割制御部203は、カテゴリを複数に分割し、分割したカテゴリへの文書の移動を行った場合の固定フラグと移動フラグの制御を行う。カテゴリ結合制御部204は、複数のカテゴリを1つに集約した場合の固定フラグと移動フラグの制御を行う。
FIG. 2 is a configuration diagram of the manual classification control unit 107 in FIG.
The fixed flag generation unit 201 generates a fixed flag for a target document when a category fixing instruction is issued from the user. The movement flag generation unit 202 generates a movement flag for the target document when the user moves the document from one category to another category. The category division control unit 203 divides the category into a plurality of categories, and controls the fixed flag and the movement flag when the document is moved to the divided category. The category combination control unit 204 controls the fixed flag and the movement flag when a plurality of categories are integrated into one.

図3を用いて、機械分類制御部105、同分類制約文書生成部106、手動分類制御部107、文書表示部108で行う処理の概要を説明する。図3は、本発明の一実施例の文書分類装置の処理フロー図である。以降では、図3の処理フローと図17の分類結果表示例に則り、各種分類処理(機械分類制御部105、同分類制約文書生成部106、手動分類制御部107)とDB(文書データDB110、分類操作DB111、書誌情報DB112、分類マップDB113)の詳細を説明する。   An overview of processing performed by the machine classification control unit 105, the classification restriction document generation unit 106, the manual classification control unit 107, and the document display unit 108 will be described with reference to FIG. FIG. 3 is a process flow diagram of the document classification apparatus according to the embodiment of the present invention. Thereafter, in accordance with the processing flow of FIG. 3 and the classification result display example of FIG. 17, various classification processes (machine classification control unit 105, classification restriction document generation unit 106, manual classification control unit 107) and DB (document data DB 110, Details of the classification operation DB 111, the bibliographic information DB 112, and the classification map DB 113) will be described.

まず、ユーザがキーボード・マウス103を用いて、検索システム等により収集した文書集合を本発明の文書分類装置に入力する。対象文書集合を受け取った文書分類装置は(S301)、集合中の文書に分類結果情報が付与されていない場合、機械分類制御部105に対象文書集合を渡し、初期機械分類を実行する(S302,S303)。また、対象文書集合に分類が付与されている場合、文書分類装置は対象文書集合を文書表示部108に渡し、文書表示部108は分類結果をディスプレイ104に表示する(S304)。ここで、上記対象文書集合に分類が付与されている場合とは、例えば本発明の文書分類装置にて対象文書集合を以前に分類した結果等を意味する。   First, a user uses a keyboard / mouse 103 to input a document set collected by a search system or the like into the document classification apparatus of the present invention. The document classification apparatus that has received the target document set (S301) passes the target document set to the machine classification control unit 105 and executes initial machine classification when the classification result information is not given to the documents in the set (S302, S303). If the target document set is classified, the document classification device passes the target document set to the document display unit 108, and the document display unit 108 displays the classification result on the display 104 (S304). Here, the case where a classification is given to the target document set means, for example, a result of previously classifying the target document set by the document classification apparatus of the present invention.

機械分類制御部105が初期機械分類(S303)を実行する際には、ユーザは対象文書集合の分割カテゴリ数を入力する。そして、対象文書集合と分割カテゴリ数を受け取った機械分類制御部105は初期機械分類を実行する(S303)。なお、ここで行う初期機械分類では、一般的な階層的クラスタリング法とK-Means法を組み合わせる。例えば、階層的クラスタリング法を用いて上記分割カテゴリ数でのクラスタリングを行い、その分類結果から各カテゴリの重心を求め、その重心を初期重心としてK-Means法により得られた結果を最終的な初期機械分類結果とする。また、K-Means法に用いる初期重心を得る方法として、階層的クラスタリング法を用いるのではなく、初期重心とする文書をユーザが直接入力してもよい。なお、階層的クラスタリング法やK-Means法については、例えば「The Elements of Statistical Learning: Data Mining, Inference, and Prediction, Trevor Hastie, Robert Tibshirani, Jerome H. Friedman, Springer-Verlag, 2001」等を参照されたい。   When the machine classification control unit 105 executes the initial machine classification (S303), the user inputs the number of division categories of the target document set. Upon receiving the target document set and the number of division categories, the machine classification control unit 105 executes initial machine classification (S303). In addition, in the initial machine classification performed here, a general hierarchical clustering method and a K-Means method are combined. For example, clustering is performed with the number of divided categories using the hierarchical clustering method, the centroid of each category is obtained from the classification result, and the result obtained by the K-Means method with the centroid as the initial centroid is used as the final initial result. Use machine classification results. Further, as a method for obtaining the initial centroid used in the K-Means method, the user may directly input a document having the initial centroid instead of using the hierarchical clustering method. For the hierarchical clustering method and K-Means method, see, for example, `` The Elements of Statistical Learning: Data Mining, Inference, and Prediction, Trevor Hastie, Robert Tibshirani, Jerome H. Friedman, Springer-Verlag, 2001 '' I want to be.

次に、対象文書集合のカテゴリが決定すると、機械分類制御部105は文書表示部108に分類結果を渡し、文書表示部108は分類結果をディスプレイ104に表示する(S304)。   Next, when the category of the target document set is determined, the machine classification control unit 105 passes the classification result to the document display unit 108, and the document display unit 108 displays the classification result on the display 104 (S304).

図17は、対象文書集合の分類結果の表示例1701である。分類マップ1702に示すように、縦と横の2軸により分類結果を表示している。この例では、行成分(縦軸)を書誌情報DB112より得た文書の「作成者」情報1703、列成分(横軸)を機械分類により分類したカテゴリ情報1704として文書1705を配置している。図17の例では、行成分に作成者情報を用いているが、書誌情報DB112に登録されている項目から自由に選択できる。また、1706は該当文書のカテゴリを固定するためのチェックボックスであり、1707は機械分類を行うためのボタンであり、1708は文書を別のカテゴリへと移動するためのボタンであり、1709はカテゴリの分割を行うためのボタンであり、1710はカテゴリの結合を行うためのボタンである。   FIG. 17 is a display example 1701 of the classification result of the target document set. As shown in the classification map 1702, the classification results are displayed by two axes, vertical and horizontal. In this example, the document 1705 is arranged as “creator” information 1703 of a document obtained from the bibliographic information DB 112 with row components (vertical axis) and category information 1704 with column components (horizontal axis) classified by machine classification. In the example of FIG. 17, creator information is used as the row component, but it can be freely selected from items registered in the bibliographic information DB 112. Reference numeral 1706 is a check box for fixing the category of the corresponding document, 1707 is a button for performing machine classification, 1708 is a button for moving the document to another category, and 1709 is a category. The button 1710 is a button for dividing the categories, and 1710 is a button for combining the categories.

分類対象文書集合のマップ表示後、ユーザは機械分類(S306)と手動分類(S308)を試行錯誤的に繰り返す(S305−S309)ことによって、思い通りの分類マップ1702を完成させていく。以下では、まず初めに文書データDB110、分類操作DB111、書誌情報DB112、分類マップDB113の構成を説明した後、図17の分類マップ1702とチェックボックス1706及びボタン1707〜1710の各機能を用いた、機械分類と手動分類操作の詳細について説明する。   After displaying the map of the classification target document set, the user repeats the machine classification (S306) and manual classification (S308) by trial and error (S305-S309), thereby completing the desired classification map 1702. In the following, the configuration of the document data DB 110, the classification operation DB 111, the bibliographic information DB 112, and the classification map DB 113 will be described first, and then the classification map 1702, check box 1706, and buttons 1707 to 1710 in FIG. Details of the machine classification and manual classification operations will be described.

図13に、文書データDB110に格納するデータのデータ形式とデータ例を示す。1301は格納する文書を識別する番号である。1302には対応する文書に特徴的な単語とその出現頻度が格納されている。   FIG. 13 shows a data format and data example of data stored in the document data DB 110. Reference numeral 1301 denotes a number for identifying a document to be stored. 1302 stores words characteristic of the corresponding document and their appearance frequencies.

図14に、分類操作DB111に格納するデータのデータ形式とデータ例を示す。1401は格納する文書を識別する番号である。1402は対応する文書が分類マップ1702で属している列を識別する番号である。1403は対応する文書を別のカテゴリへと手動分類により移動した場合の、移動元の列の識別番号である。この値が0の場合は、対応する文書の移動が無かったことを表す。1404は分類マップ1702での対応する文書の固定フラグチェックボックス1706の状態を表す0,1値であり、0がオフの状態、1がオンの状態を示す。1405は対応する文書と同分類制約関係にある文書の識別番号である。この値が0の場合は、同分類制約文書が無いことを表す。また、−1の場合は、この文書が同分類制約文書であることを示す。図14の例の場合、文書idが2の文書は、文書idが20の文書と同分類制約関係にあることを示している。   FIG. 14 shows a data format and an example of data stored in the classification operation DB 111. Reference numeral 1401 denotes a number for identifying a document to be stored. Reference numeral 1402 denotes a number for identifying a column to which the corresponding document belongs in the classification map 1702. Reference numeral 1403 denotes an identification number of the source column when the corresponding document is moved to another category by manual classification. When this value is 0, it indicates that the corresponding document has not been moved. Reference numeral 1404 denotes 0 and 1 values indicating the state of the fixed flag check box 1706 of the corresponding document in the classification map 1702, where 0 indicates an off state and 1 indicates an on state. Reference numeral 1405 denotes an identification number of a document having the same classification constraint relationship as the corresponding document. When this value is 0, it indicates that there is no same classification restriction document. In the case of -1, this indicates that this document is the same classification restriction document. In the example of FIG. 14, the document with the document id 2 indicates that the document with the document id 20 has the same classification constraint relationship.

図15に、書誌情報DB112に格納するデータのデータ形式とデータ例を示す。1501は格納する文書を識別する番号である。1502は作成日、1503は作成者、1504はその文書に付与しているなんらかの分類、1505はタイトルである。本データ形式はあくまでも一例であり、何を列要素として定義すべきかは対象文書の種類にもよる。   FIG. 15 shows a data format and data example of data stored in the bibliographic information DB 112. Reference numeral 1501 denotes a number for identifying a document to be stored. 1502 is a creation date, 1503 is a creator, 1504 is some classification assigned to the document, and 1505 is a title. This data format is merely an example, and what should be defined as a column element depends on the type of target document.

図16に、分類マップDB113に格納するデータのデータ形式とデータ例を示す。1601は分類マップ中のカテゴリを識別する番号である。カテゴリ名1602は対応するカテゴリの名前である。   FIG. 16 shows the data format and data example of data stored in the classification map DB 113. Reference numeral 1601 denotes a number for identifying a category in the classification map. The category name 1602 is the name of the corresponding category.

図4は、機械分類操作(S306)の処理フローである。機械分類では機械分類制御部105が対象文書集合を受け取った後(S401)、それら文書に関する同分類制約文書を生成し(S402)、上記対象文書集合と上記同分類制約文書を用いて機械分類を実行する(S403)。最後に分類操作DB111内の全ての文書の移動フラグを0に更新する(S404)。以下では、同分類制約文書生成と機械分類の詳細を説明する。   FIG. 4 is a processing flow of the machine classification operation (S306). In the machine classification, after the machine classification control unit 105 receives the target document set (S401), the same classification restriction document related to the documents is generated (S402), and the machine classification is performed using the target document set and the same classification restriction document. Execute (S403). Finally, the movement flags of all documents in the classification operation DB 111 are updated to 0 (S404). In the following, details of the classification constraint document generation and machine classification will be described.

図5は、同分類制約文書を生成(S402)するための処理フローである。機械分類制御部105は、対象文書を取得し(S501)、その文書の移動フラグを分類操作DB111より得る(S502)。移動フラグが0であった場合は(S502→No)、本同分類制約文書生成処理を終了する。移動フラグが1以上であった場合(S502→Yes)、機械分類制御部105は分類操作DB111より該文書の同分類制約文書idを取得する。同分類制約文書idが1以上であった場合(S503→Yes)、機械分類制御部105は同分類制約文書idと同じ文書idをもつ文書エントリを文書データDB110より削除し(S504)、同分類制約文書生成部106に対象文書を渡す。そして、同分類制約文書生成部106は新たな同分類制約文書を生成する(S505)。また、S503において同分類制約文書idが0であった場合も(S503→No)、同分類制約文書を生成(S505)して本同分類制約文書生成処理を終了する。上記フローに従うのは、以下の4つのケースである。分類操作DB111において対象文書の、
・Case1:移動フラグが0、かつ同分類制約文書idが0、
・Case2:移動フラグが0、かつ同分類制約文書idが1以上、
・Case3:移動フラグが1以上、かつ同分類制約文書idが0、
・Case4:移動フラグが1以上、かつ同分類制約文書idが1以上
の場合である。まず、Case1は対象とする文書の移動が1度も行われていない場合であり、同分類制約文書は生成せずに処理を終了する(S502→No)。Case2は、過去に移動が行われたことがあるが、直前の手動分類操作では移動が行われなかった文書の場合であり、これについても同分類制約文書を生成せずに処理を終了する(S502→No)。Case3は、その文書に初めて移動があった場合であり、同分類制約文書生成処理を実行する(S503→No)。Case4は、過去に移動が行われことがあり、かつ直前の手動分類においても移動が行われた場合であり(例えば、手動による文書の移動→機械分類実行→該文書を再度手動により移動→機械分類実行、とした場合)、この場合は直前の移動処理を優先するため、現在保持している同分類制約文書を削除し、直前の移動処理に従って新規に同分類制約文書を生成する(S503→Yes)。
FIG. 5 is a processing flow for generating the classification restriction document (S402). The machine classification control unit 105 acquires the target document (S501), and obtains a movement flag of the document from the classification operation DB 111 (S502). If the movement flag is 0 (S502 → No), the classification restriction document generation process is terminated. When the movement flag is 1 or more (S502 → Yes), the machine classification control unit 105 acquires the same classification restriction document id of the document from the classification operation DB 111. When the same classification restriction document id is 1 or more (S503 → Yes), the machine classification control unit 105 deletes the document entry having the same document id as the same classification restriction document id from the document data DB 110 (S504). The target document is passed to the constraint document generation unit 106. Then, the classification restriction document generation unit 106 generates a new classification restriction document (S505). If the same classification constraint document id is 0 in S503 (S503 → No), the same classification constraint document is generated (S505), and the same classification constraint document generation processing is terminated. The following four cases follow the above flow. In the classification operation DB 111, the target document
Case 1: The movement flag is 0 and the classification restriction document id is 0.
Case 2: The movement flag is 0, and the classification restriction document id is 1 or more.
Case 3: The movement flag is 1 or more and the classification restriction document id is 0.
Case 4: When the movement flag is 1 or more and the classification restriction document id is 1 or more. First, Case 1 is a case where the target document has never been moved, and the process ends without generating the same classification constraint document (S502 → No). Case 2 is a case where the document has been moved in the past but has not been moved by the previous manual classification operation, and the processing is terminated without generating the same classification constraint document ( S502 → No). Case 3 is a case where the document has moved for the first time, and executes the same classification constraint document generation process (S503 → No). Case 4 is a case where movement has been performed in the past and movement has been performed in the previous manual classification (for example, manual document movement → machine classification execution → manually moving the document again → machine) In this case, since the immediately preceding movement process is prioritized, the currently held same classification restriction document is deleted, and a new same classification restriction document is generated according to the previous movement process (S503 → Yes).

図6Aは、同分類制約文書生成(S505)の処理フローである。同分類制約文書生成部106は、機械分類制御部105より対象文書を取得する(S601)。次に、同分類制約文書生成部106は、上記対象文書の列idと等しい列idをもつ文書群の文書idを分類操作DB111より取得し(S602)、文書データDB110中の対応する文書データの単語頻度情報を用いて重心を計算する(S603)。最後に、各種DBへ上記重心をエントリとして保存する(S604)。   FIG. 6A is a processing flow of classification restriction document generation (S505). The classification constraint document generation unit 106 acquires the target document from the machine classification control unit 105 (S601). Next, the classification constraint document generation unit 106 acquires the document id of the document group having the column id equal to the column id of the target document from the classification operation DB 111 (S602), and stores the corresponding document data in the document data DB 110. The center of gravity is calculated using the word frequency information (S603). Finally, the center of gravity is stored as an entry in various DBs (S604).

図5の同分類制約文書生成処理から図6Aの同分類制約文書生成処理への一連の動作例を、図14の文書idが2の文書を例にとり説明する(文書idが2の文書は上記のCase4に相当する)。まず、分類操作DB111より、文書idが2の文書の移動フラグが1以上であることから(S502→Yes)、同分類制約文書idの値を取得する(S503)。その値が20であることから(S503→Yes)、文書idが20の文書を文書データDB110、分類操作DB111、書誌情報DB112より探索する。本例では、各DBの最下部の文書が、文書idが20の文書であり、それらのエントリを削除する(S504)。そして、分類操作DB111中の列id値(=2)を用いて同分類制約文書の生成処理を行う(S601へ)。分類操作DB111から列id値が2である文書を全て抽出し(S602)、それら文書で形成する重心を計算する(S603)。本例の場合、文書idが2の文書と同じ列idをもつのは、図14より、文書idが3と5の文書であり、重心は文書idが2の文書も含めた3つの文書の文書データDB110の値に従って以下のとおり計算する。
通信 端末 キャリア ターミナル ‥‥ 輻輳 ‥‥
(8+7+8)/3 (4+3+3)/3 (0+0+0)/3 (1+2+1)/3 ‥‥ (0+0+0)/3 ‥‥
An example of a series of operations from the same-classification constraint document generation process of FIG. 5 to the same-classification constraint document generation process of FIG. 6A will be described by taking a document with a document id of 2 in FIG. Equivalent to Case 4). First, since the movement flag of the document with the document id 2 is 1 or more from the classification operation DB 111 (S502 → Yes), the value of the classification restriction document id is acquired (S503). Since the value is 20 (S503 → Yes), the document with the document id 20 is searched from the document data DB 110, the classification operation DB 111, and the bibliographic information DB 112. In this example, the lowermost document of each DB is a document with a document id of 20, and these entries are deleted (S504). Then, using the column id value (= 2) in the classification operation DB 111, processing for generating the same classification constraint document is performed (to S601). All documents having a column id value of 2 are extracted from the classification operation DB 111 (S602), and the center of gravity formed by these documents is calculated (S603). In this example, the documents having the same column id as the document with the document id of 2 are the documents with the document ids of 3 and 5, as shown in FIG. The following calculation is performed according to the value of the document data DB 110.
Communication terminal Carrier terminal ... Congestion ...
(8 + 7 + 8) / 3 (4 + 3 + 3) / 3 (0 + 0 + 0) / 3 (1 + 2 + 1) / 3 ... (0 + 0 + 0) / 3 ...

上記で計算した重心(文書)の文書idを21として3つのDBへエントリを登録する。文書データDB110には、上記計算により得られた単語頻度情報をエントリとして登録する。分類操作DB111には、列idを(文書idが2の列idと同じ値である)2、移動フラグ、固定フラグを0、同分類制約文書idを−1としたエントリを登録する。書誌情報DB112には、文書id以外は全て空としたエントリを登録する。また、分類操作DB111中の文書idが2のエントリの同分類制約文書idの値を21に変更する(S604)。上記文書idが2のエントリにおける同分類制約文書生成処理により得られる文書データDB110と分類操作DB111の結果の一例を図6Bと図6Cに示す。以上で同分類制約文書の生成処理が終了する。   The entry is registered in the three DBs with the document id of the center of gravity (document) calculated as 21 as 21. In the document data DB 110, word frequency information obtained by the above calculation is registered as an entry. In the classification operation DB 111, an entry with a column id (the document id is the same value as the column id of 2) 2, a movement flag, a fixed flag 0, and a classification restriction document id −1 is registered. In the bibliographic information DB 112, entries that are all empty except for the document id are registered. In addition, the value of the classification restriction document id of the entry whose document id is 2 in the classification operation DB 111 is changed to 21 (S604). 6B and 6C show examples of the results of the document data DB 110 and the classification operation DB 111 obtained by the same classification constraint document generation process for the entry with the document id of 2. This completes the classification constraint document generation process.

図18は、機械分類結果(S403)を取得するための処理フローである。機械分類制御部105は、分類を行う対象文書群を取得し(S1801)、各カテゴリの重心を計算する(S1802)。重心は、分類操作DB111の列idが同じ文書を同カテゴリとみなして計算する。この際、分類操作DB111の同分類制約文書idが−1の文書は重心計算に含めない。次に、上記重心との類似度により各文書を対応するカテゴリへ分類する(S1803)。類似度による分類方法は後に図7を用いて詳述する。全ての文書の分類が終了した後、その分類結果を用いて重心を再計算し(S1804)、(旧重心−新重心)の2乗値Vを計算する(S1805)。この新重心の計算の際も、分類操作DB111の同分類制約文書idが−1の文書は含めない。上記Vの値が予め設定した閾値よりも大きい場合は旧重心を新重心に更新し(S1806)、再度各文書の類似度による分類を行い(S1805→No)、小さい場合は機械分類を終了する(S1805→Yes)。   FIG. 18 is a processing flow for acquiring the machine classification result (S403). The machine classification control unit 105 acquires a target document group to be classified (S1801), and calculates the center of gravity of each category (S1802). The center of gravity is calculated by regarding documents with the same column id in the classification operation DB 111 as the same category. At this time, a document whose classification restriction document id is −1 in the classification operation DB 111 is not included in the centroid calculation. Next, each document is classified into a corresponding category based on the similarity to the center of gravity (S1803). The classification method based on the similarity will be described in detail later with reference to FIG. After all the documents are classified, the center of gravity is recalculated using the classification result (S1804), and the square value V of (old center of gravity−new center of gravity) is calculated (S1805). Also in the calculation of the new center of gravity, a document whose classification restriction document id is −1 in the classification operation DB 111 is not included. If the value of V is larger than a preset threshold value, the old center of gravity is updated to the new center of gravity (S1806), classification is performed again based on the similarity of each document (S1805 → No), and if it is smaller, the machine classification is terminated. (S1805 → Yes).

図7は、文書を類似度により分類する(S1803)処理フローである。同分類制約文書がある場合はその制約に従い、ない場合は類似度により分類する。機械分類制御部105は対象文書(文書iとする)を取得し(S701)、文書iの固定フラグの値を分類操作DB111より調べる(S702)。固定フラグの値が1である場合は本分類処理を終了し(S702→No)、0であった場合は(S702→Yes)重心との類似度により文書iを分類する(この分類結果をc_iとする)(S703)。次に、文書iの同分類制約文書idが1以上であるかどうかを分類操作DB111より調べる(S704)。1以上でない場合は文書iの分類操作DB111における列idをc_iとして処理を終了する(S704→No)。1以上である場合はそのidと対応した文書を文書データ110より取得する(文書jとする)(S704→Yes)。そして、文書jを類似度により分類し(S705)、文書iの分類結果c_iと文書jの分類結果c_jを比較する(S706)。c_iとc_jが等しい場合は文書iの分類操作DB111における列idをc_iとして処理を終了する(S706→No)。c_iとc_jが等しくない場合は(S706→Yes)、文書iと文書jの移動フラグを分類操作DB111より調べ、移動フラグが0である文書の分類結果を0でない分類結果と同じにして処理を終了する(S707)。例えば、図14において文書iを文書idが2の文書、文書jを文書idが20の文書とした場合、文書idが20の文書の移動フラグが0であるから、文書idが2の文書の列idを(文書idが20の文書の列idである)3に更新する。   FIG. 7 is a processing flow for classifying documents by similarity (S1803). If there is the same classification restriction document, the document is classified according to the restriction. The machine classification control unit 105 acquires the target document (referred to as document i) (S701), and checks the value of the fixed flag of the document i from the classification operation DB 111 (S702). If the value of the fixed flag is 1, this classification process is terminated (S702 → No), and if it is 0 (S702 → Yes), the document i is classified based on the similarity to the center of gravity (this classification result is c_i). (S703). Next, it is checked from the classification operation DB 111 whether or not the classification restriction document id of the document i is 1 or more (S704). If it is not 1 or more, the column id in the classification operation DB 111 of the document i is set as c_i, and the process is ended (S704 → No). If it is 1 or more, the document corresponding to the id is acquired from the document data 110 (referred to as document j) (S704 → Yes). Then, the document j is classified based on the similarity (S705), and the classification result c_i of the document i is compared with the classification result c_j of the document j (S706). If c_i is equal to c_j, the column id in the classification operation DB 111 for document i is set to c_i, and the process is terminated (S706 → No). If c_i and c_j are not equal (S706 → Yes), the movement flag of the document i and the document j is checked from the classification operation DB 111, and the classification result of the document whose movement flag is 0 is made the same as the non-zero classification result. The process ends (S707). For example, in FIG. 14, if the document i is a document with a document id of 2 and the document j is a document with a document id of 20, the movement flag of the document with a document id of 20 is 0. The column id is updated to 3 (which is the column id of the document whose document id is 20).

以上が機械分類結果取得(S306)処理の説明である。機械分類終了の後、文書表示部108が分類操作DB111、書誌情報DB112、分類マップDB113に従って分類結果を表示する。その際、分類操作DB111における同分類制約文書idが−1の文書は制約のための仮想的な文書なので表示しない。   The above is the description of the machine classification result acquisition (S306) process. After the machine classification is completed, the document display unit 108 displays the classification result according to the classification operation DB 111, the bibliographic information DB 112, and the classification map DB 113. At that time, the document with the same classification restriction document id −1 in the classification operation DB 111 is not displayed because it is a virtual document for restriction.

図8は、手動分類操作(S308)の操作フローである。手動分類には、文書カテゴリの固定(S802)、文書の移動(S803)、カテゴリの分割(S804)、カテゴリの結合(S805)があり、これらの操作を繰り返し行うことができる(S801、S806)。   FIG. 8 is an operation flow of the manual classification operation (S308). Manual classification includes document category fixing (S802), document movement (S803), category division (S804), and category combination (S805), and these operations can be repeated (S801, S806). .

文書カテゴリの固定(S802)とは、その文書が以降の機械分類実行後も常に該当するカテゴリに分類されるようにするための操作であり、図17に示す分類マップ1702に表示されている各文書の先頭にあるチェックボックス1706をオンにすると「固定」機能が有効となる。図9に、カテゴリの固定に関する固定フラグ生成部201の処理フローを示す。固定フラグ生成部201は、対応する文書の文書識別番号を取得し(S901)、分類操作DB111中の対応する文書の固定フラグの値を変更する(S902)。チェックボックス1706がオンになった場合は固定フラグ1404を1に、オフになった場合は0に設定する。なお、S901で取得する対象文書が複数であった場合には、その文書数だけこの処理を繰り返す。   The document category fixing (S802) is an operation for always classifying the document into the corresponding category after the subsequent machine classification execution, and each document displayed on the classification map 1702 shown in FIG. When the check box 1706 at the head of the document is turned on, the “fix” function is enabled. FIG. 9 shows a processing flow of the fixed flag generation unit 201 related to category fixing. The fixed flag generation unit 201 acquires the document identification number of the corresponding document (S901), and changes the value of the fixed flag of the corresponding document in the classification operation DB 111 (S902). The fixed flag 1404 is set to 1 when the check box 1706 is turned on, and is set to 0 when the check box 1706 is turned off. If there are a plurality of target documents to be acquired in step S901, this process is repeated for the number of documents.

文書の移動(S803)とは、文書を現在のカテゴリから別のカテゴリへと移動する操作である。ユーザは移動したい文書を分類マップ1702から選択した後、移動ボタン1708をクリックし、移動先のカテゴリを選択する。図10にカテゴリ移動に関する移動フラグ生成部202の処理フローを示す。移動フラグ生成部202は、対応する文書の文書idを取得する(S1001)。そして、分類操作DB111の対応する文書の移動フラグを移動元の列の識別番号に変更し(S1002)、列idを移動先の列の識別番号に変更する(S1003)。最後に、該文書の固定フラグ1404が1である場合は0に設定する(S1004)。0の場合は変更しない。例えば、図17の分類マップ1702において、図14の分類操作DB111の文書idが1である文書を分類Bへと移動した場合には、移動フラグに1を、(図16の分類マップDB113より、分類Bのカテゴリidは2であるから)列idに2を設定する。なお、S1001で取得する対象文書が複数であった場合には、その文書数だけこの処理を繰り返す。   The document movement (S803) is an operation of moving the document from the current category to another category. The user selects a document to be moved from the classification map 1702 and then clicks a move button 1708 to select a destination category. FIG. 10 shows a processing flow of the movement flag generation unit 202 regarding category movement. The movement flag generation unit 202 acquires the document id of the corresponding document (S1001). Then, the migration flag of the corresponding document in the classification operation DB 111 is changed to the identification number of the source column (S1002), and the column id is changed to the identification number of the destination column (S1003). Finally, if the fixed flag 1404 of the document is 1, it is set to 0 (S1004). If 0, do not change. For example, in the classification map 1702 of FIG. 17, when a document whose document id is 1 in the classification operation DB 111 of FIG. 14 is moved to the classification B, the movement flag is set to 1 (from the classification map DB 113 of FIG. Set the column id to 2 (because the category id of classification B is 2). If there are a plurality of target documents to be acquired in S1001, this process is repeated for the number of documents.

カテゴリの分割(S804)とは、既存のカテゴリを2つに分割する操作である。分割操作は、新規に空のカテゴリを分類マップ1702に作成し、そのカテゴリに文書を移動する2つのステップにより実現する。図11にカテゴリ分割に関するカテゴリ分割制御部203の処理フローを示す。ユーザは図17の分割ボタン1709をクリックし、新規に作成するカテゴリのカテゴリ名を入力する。カテゴリ分割制御部203は上記操作を受けて、該カテゴリ名をもつ空の列を分類マップ1702に追加し(S1101)、重複のないカテゴリidとユーザが入力したカテゴリ名を設定したエントリを分類マップDB113に作成する(S1102)。その後、ユーザは新規に追加された空のカテゴリに文書を移動する。それに伴ってカテゴリ分割制御部203は文書の移動処理を行う(S1103)。空のカテゴリ追加後の文書移動操作はS803の処理と同様であるので省略する。   The category division (S804) is an operation of dividing an existing category into two. The division operation is realized by two steps of creating a new empty category in the classification map 1702 and moving the document to the category. FIG. 11 shows a processing flow of the category division control unit 203 related to category division. The user clicks the division button 1709 in FIG. 17 and inputs the category name of the newly created category. In response to the above operation, the category division control unit 203 adds an empty column having the category name to the classification map 1702 (S1101), and adds an entry in which the category id without duplication and the category name input by the user are set. Created in the DB 113 (S1102). Thereafter, the user moves the document to the newly added empty category. Accordingly, the category division control unit 203 performs document movement processing (S1103). Since the document moving operation after adding an empty category is the same as the processing in S803, the description is omitted.

カテゴリの結合(S805)とは、既存のカテゴリを1つに集約する操作である。ユーザは結合ボタン1710をクリックし、結合したい複数のカテゴリ(以下、結合対象カテゴリ群と呼ぶ)と結合後のカテゴリ名を入力して結合する。図12Aにカテゴリ結合に関するカテゴリ結合制御部204の処理フローを示す。カテゴリ結合制御部204は、結合対象カテゴリ群のカテゴリidを取得する(S1201)。その後、空のカテゴリを分類マップ1702に作成し(S1202)、重複のないカテゴリidと、ユーザが入力したカテゴリ名をもつエントリを分類マップDB113に追加する(S1203)。次に、結合対象カテゴリ群内にある全ての文書を新たに作成した該カテゴリ内に移動して(S1204)、これらの文書の列idに上記新規カテゴリのカテゴリidを、また、移動フラグが結合対象カテゴリ群のいずれかの列id値であった場合は、その値を0に設定する(S1205)。最後に、空となった結合対象カテゴリ群を全て削除し(S1206)、分類マップDB113にある結合対象カテゴリのエントリを削除する(S1207)。   The combination of categories (S805) is an operation of combining existing categories into one. The user clicks a combining button 1710 and inputs a plurality of categories to be combined (hereinafter referred to as a combination target category group) and a combined category name to combine them. FIG. 12A shows a processing flow of the category combination control unit 204 related to category combination. The category combination control unit 204 acquires the category id of the combination target category group (S1201). Thereafter, an empty category is created in the classification map 1702 (S1202), and an entry having a category id without duplication and a category name input by the user is added to the classification map DB 113 (S1203). Next, all the documents in the combination target category group are moved to the newly created category (S1204), the category id of the new category is combined with the column id of these documents, and the movement flag is combined. If it is any column id value of the target category group, the value is set to 0 (S1205). Finally, all the join target category groups that are empty are deleted (S1206), and the join target category entries in the classification map DB 113 are deleted (S1207).

例えば、図17の分類マップ1702の分類Aと分類Bを結合して分類Xを新たに作成する場合を考える。まず初めにカテゴリ情報1704が分類Xである空の列を分類マップ1702に作成し、分類マップDB113にカテゴリidが5、カテゴリ名が分類Xのエントリを追加する。次に、分類操作DB111のエントリのうち、列idが1、もしくは2である文書(図14の例では文書idが1と2と3と5の文書)の列idを5に更新し、さらに、それらの文書のうち、移動フラグが結合対象カテゴリの列id値と等しい文書(図14の例では文書idが3の文書)の移動フラグを0に更新する。そして、分類マップ1702の分類Aと分類Bの列を削除し、分類マップDB113の対応するエントリも削除して結合処理を終了する。結合処理終了後の分類操作DB111の状態を図12Bに示す。   For example, consider a case where a new category X is created by combining the categories A and B of the category map 1702 in FIG. First, an empty column whose category information 1704 is classification X is created in the classification map 1702, and an entry whose category id is 5 and category name is classification X is added to the classification map DB 113. Next, among the entries in the classification operation DB 111, the column id of the document whose column id is 1 or 2 (in the example of FIG. 14, the documents with document ids 1, 2, 3, and 5) is updated to 5, Of these documents, the movement flag of the document whose movement flag is equal to the column id value of the combination target category (the document whose document id is 3 in the example of FIG. 14) is updated to 0. Then, the columns of classification A and classification B in the classification map 1702 are deleted, the corresponding entries in the classification map DB 113 are also deleted, and the combining process is terminated. The state of the classification operation DB 111 after the end of the combining process is shown in FIG. 12B.

以上で手動分類操作(S308)の説明を終わる。
上述した第一の実施例に係る発明によれば、手動による文書移動に対して、移動先のカテゴリの重心と被移動文書を同分類制約文書で結ぶことにより、カテゴリに対する分類の制約を可能とした。また、この同分類制約文書と移動フラグ、固定フラグを組み合わせることで、繰り返し行う機械分類の際にも、ユーザが指定したカテゴリへと分類が可能となり、得られる分類マップにユーザの分類意図を反映した精度の高い文書分類マップを作成することができる。
This is the end of the description of the manual classification operation (S308).
According to the invention according to the first embodiment described above, for manual document movement, it is possible to restrict classification for a category by connecting the centroid of the destination category and the moved document with the same classification restriction document. did. In addition, by combining this classification restriction document with the movement flag and fixed flag, it is possible to classify into the category specified by the user even in repeated machine classification, and the classification intention of the user is reflected in the obtained classification map A highly accurate document classification map can be created.

上記第一の実施例では、機械分類の結果を列成分に配置し、行成分に文書作成者といった書誌情報による分類を配置していた(図17)。機械分類の結果とは、本発明では分類対象文書を、その内容の違い(実際にはベクトルの類似度)により分類した結果のことであるが、第二の実施例では行成分についても機械分類の結果を配置する。つまり、文書を2つの観点(内容)により分類し、分類マップを作成する。例えば、特許文書を分類対象文書とした場合、特許文書には「従来技術」、「技術課題」、「解決手段」、「発明の効果」といった観点がある。したがって、列成分を技術課題、行成分を解決手段とした観点による二軸のマップを作成できる。図24は、分類対象文書群をプラズマディスプレイパネル技術に関する特許文書、列成分2403を技術課題、行成分2404を解決手段とした二軸の分類マップの一例を示す図である。   In the first embodiment, the result of the machine classification is arranged in the column component, and the classification based on the bibliographic information such as the document creator is arranged in the row component (FIG. 17). The result of machine classification is a result of classifying documents to be classified according to the difference in contents (actually vector similarity) in the present invention. In the second embodiment, machine classification is also performed for row components. Place the result of. That is, a document is classified from two viewpoints (contents), and a classification map is created. For example, when a patent document is a classification target document, the patent document has viewpoints such as “conventional technology”, “technical problem”, “solution”, and “effect of the invention”. Therefore, it is possible to create a biaxial map from the viewpoint of using the column component as a technical problem and the row component as a solution. FIG. 24 is a diagram showing an example of a biaxial classification map in which a classification target document group is a patent document relating to plasma display panel technology, a column component 2403 is a technical problem, and a row component 2404 is a solution.

本実施例を実現するためには、ベクトル空間モデルにより機械分類を行う際の文書のベクトル化において、その文書固有の観点を表す単語によりベクトルを生成する必要がある。第二の実施例では、第一の実施例に、文書の観点に従った上記ベクトル生成技術を組み合わせた文書分類装置について詳述する。また、二軸の観点による分類マップとなっても、基本的な処理は第一の実施例とほぼ変わらない。機械/手動いずれの分類操作であっても、行に対する分類指示であった場合は第一の実施例に示した操作を行に対して、列に対する場合は列に対して行う。以下の説明においては、第一の実施例に係る文書分類装置と同様の点については説明を省略し、異なる点のみについて説明する。   In order to realize the present embodiment, in the vectorization of a document when machine classification is performed using a vector space model, it is necessary to generate a vector using a word representing a viewpoint unique to the document. In the second embodiment, a document classification apparatus will be described in detail in which the vector generation technique according to the document viewpoint is combined with the first embodiment. Further, even if the classification map is based on the biaxial viewpoint, the basic processing is almost the same as in the first embodiment. For both machine and manual classification operations, if the instruction is a classification for a row, the operation shown in the first embodiment is performed for the row, and for a column, the operation is performed for the column. In the following description, the description of the same points as those of the document classification apparatus according to the first embodiment will be omitted, and only different points will be described.

第一の実施例と異なるのは、文書分類装置の構成図(図19)、特徴ベクトル生成部1906、文書データDB1911(図20)、分類操作DB1912(図21A)、分類マップDB1914(図22)、観点DB1915(図23)、同分類制約文書DB1916(図21B)、分類マップの表示例(図24)である。   The difference from the first embodiment is a block diagram of a document classification device (FIG. 19), a feature vector generation unit 1906, a document data DB 1911 (FIG. 20), a classification operation DB 1912 (FIG. 21A), and a classification map DB 1914 (FIG. 22). , Viewpoint DB 1915 (FIG. 23), classification restriction document DB 1916 (FIG. 21B), and classification map display example (FIG. 24).

図19は、本発明の第二の実施例である文書分類装置全体の構成図である。第一の実施例の構成図とは、特徴ベクトル生成部1906と観点DB1915が追加されている点で異なる。その他のDBについても、DB内のデータの構成に第一の実施例とは異なる点があるので、以降ではまず初めに各差異について述べ、その次に図24の分類マップ表示例を用いて第二の実施例について詳述する。   FIG. 19 is a block diagram of the entire document classification apparatus according to the second embodiment of the present invention. It differs from the block diagram of the first embodiment in that a feature vector generation unit 1906 and a viewpoint DB 1915 are added. Regarding other DBs, the data structure in the DB is different from that of the first embodiment. Therefore, in the following, each difference will be described first, and then the classification map display example of FIG. The second embodiment will be described in detail.

特徴ベクトル生成部1906とは、システム側で予め定義した観点にしたがって、文書データDB1911の全文データ中のその観点に関する記述のある部位を抽出し、その部位に特徴的な単語の頻度に基づいて特徴ベクトルを生成する。   The feature vector generation unit 1906 extracts a part having a description related to the viewpoint in the full text data of the document data DB 1911 according to a viewpoint defined in advance by the system side, and features based on the frequency of words characteristic of the part. Generate a vector.

図20に、文書データDB1911に格納するデータのデータ形式とデータ例を示す。2001は格納する文書を識別する番号である。2002には対応する文書の全文データが格納されている。   FIG. 20 shows a data format and data example of data stored in the document data DB 1911. Reference numeral 2001 denotes a number for identifying a document to be stored. 2002 stores the full-text data of the corresponding document.

図21Aに、分類操作DB1912に格納するデータのデータ形式とデータ例を示す。行と列それぞれの分類操作結果を格納する。第一の実施例では列に対するid1402、移動フラグ1403、固定フラグ1404であったが、本実施例では行と列の両方に対してid、移動フラグ、固定フラグ、同分類制約文書idを格納する。   FIG. 21A shows the data format and data example of the data stored in the classification operation DB 1912. Stores the classification operation results for each row and column. In the first embodiment, the ID 1402, the movement flag 1403, and the fixed flag 1404 for the column are stored. In this embodiment, the ID, the movement flag, the fixed flag, and the classification restriction document ID are stored for both the row and the column. .

図22に、分類マップDB1914に格納するデータのデータ形式とデータ例を示す。行と列それぞれのカテゴリ名を格納する。軸種2203はカテゴリ名が行の名前なのか列の名前なのかを示す値で、0の場合が列、1の場合が行であることを示す。観点2204とはそのカテゴリが観点DB1915で定義されたどの観点に関する名前であるかを示す識別番号が格納される。   FIG. 22 shows a data format and data example of data stored in the classification map DB 1914. Stores the category name for each row and column. The axis type 2203 is a value indicating whether the category name is a row name or a column name, and 0 indicates a column and 1 indicates a row. The viewpoint 2204 stores an identification number indicating which viewpoint the category is defined in the viewpoint DB 1915.

図23に、観点DB1915に格納するデータのデータ形式とデータ例を示す。観点id2301はシステム側で予め定義された観点の識別番号、観点名2302はその名前を示す。   FIG. 23 shows a data format and an example of data stored in the viewpoint DB 1915. The viewpoint id 2301 indicates the identification number of the viewpoint defined in advance on the system side, and the viewpoint name 2302 indicates the name.

図21Bに、同分類制約文書DB1916に格納するデータのデータ形式とデータ例を示す。同分類制約文書の生成処理(図25、S2503)により生成した制約文書を格納する。制約文書id2110は分類操作DB1912中の行/列同分類制約文書idと対応している。   FIG. 21B shows a data format and a data example of data stored in the classification restriction document DB 1916. The restriction document generated by the classification restriction document generation process (FIG. 25, S2503) is stored. The restriction document id 2110 corresponds to the same row / column classification restriction document id in the classification operation DB 1912.

図24は行と列の両方をカテゴリ(観点)により分類して作成したマップの表示例である。本実施例の冒頭でも述べたとおり、分類対象文書群をプラズマディスプレイパネル技術に関する特許文書、列成分2403を技術課題、行成分2404を解決手段として分類マップを作成した一例である。本実施例においては、行と列それぞれに対して分類固定のためのチェックボックス(2406,2407)がある点が第一の実施例とは異なる。   FIG. 24 is a display example of a map created by classifying both rows and columns by category (viewpoint). As described at the beginning of the present embodiment, this is an example in which a classification map is created with a group of documents to be classified as a patent document relating to plasma display panel technology, a column component 2403 as a technical problem, and a row component 2404 as a solution. This embodiment is different from the first embodiment in that there are check boxes (2406 and 2407) for fixing the classification for each row and column.

本実施例における情報端末20での操作フローは基本的に図3と同じである。ただ、本実施例においては、初期機械分類結果の取得ステップ(S303)において、分割カテゴリ数に加えて、行/列成分それぞれをシステムが提供するどの観点で分類するかをユーザが選択する。   The operation flow at the information terminal 20 in this embodiment is basically the same as that shown in FIG. However, in the present embodiment, in the initial machine classification result acquisition step (S303), in addition to the number of division categories, the user selects from which viewpoint the system provides each row / column component.

図25は、機械分類操作の処理フローである。ユーザがどの軸(行/列/行と列の両方)に対して機械分類処理を実行したのかの情報を得るステップ(S2502)がある点で、図4に示した第一の実施例の処理フローとは異なる。行、列のどちらか一方に対する機械分類指示であった場合は第一の実施例と同じ処理を対応する軸に行う。両方の軸に対してであった場合も同様で、いずれか一方を分類した後、もう一方を分類する。また、同分類制約文書の生成(S2503)により生成した同分類制約文書の単語頻度情報を、第一の実施例では文書データDB110に格納していたが、本実施例では同分類制約文書DB1916に格納する。   FIG. 25 is a processing flow of the machine classification operation. The processing of the first embodiment shown in FIG. 4 is that there is a step (S2502) of obtaining information on which axis (row / column / both rows and columns) the machine classification processing is executed by the user. It is different from the flow. If it is a machine classification instruction for either a row or a column, the same processing as in the first embodiment is performed on the corresponding axis. The same applies to both axes, after classifying one of them and then classifying the other. Further, the word frequency information of the classification restriction document generated by the generation of the classification restriction document (S2503) is stored in the document data DB 110 in the first embodiment, but in the classification restriction document DB 1916 in the present embodiment. Store.

図26は、機械分類結果を取得するための処理フローである。ユーザが機械分類処理を指定した軸(行/列/両方)が、どの観点に関する軸なのかを分類マップDB1914と観点DB1915より取得し、文書データDB1911を用いてその観点に対応した全文の部位から特徴ベクトルを特徴ベクトル生成部1906が生成するステップS2602がある点で、図18に示した第一の実施例の処理フローとは異なる。また、S2604における類似度の分類では、処理フローは図7と同じであるが、同分類制約文書を類似度により分類する(S705)際に参照する単語頻度情報が、第一の実施例では文書データDB110であるのに対して、本実施例では同分類制約文書DB1916を参照する。ここで言う特徴ベクトルとは、観点の記述されている部位において、その文書に特有の単語やキーワードにより構成したベクトルのことを指す。こうした、文書やその文書の特定の部位に特有の単語の抽出やベクトルの構成方法については、「情報検索アルゴリズム、北研二 津田和彦 獅々堀正幹著、共立出版、2002」が詳しい。   FIG. 26 is a processing flow for acquiring the machine classification result. It is obtained from the classification map DB 1914 and the viewpoint DB 1915 which axis the axis (row / column / both) for which the user designates the machine classification processing is the axis related to the viewpoint, and from the full-text part corresponding to the viewpoint using the document data DB 1911. It differs from the processing flow of the first embodiment shown in FIG. 18 in that there is step S2602 in which the feature vector generation unit 1906 generates a feature vector. In the similarity classification in S2604, the processing flow is the same as in FIG. 7, but the word frequency information referred to when classifying the same classification restriction document by similarity (S705) is the document in the first embodiment. In contrast to the data DB 110, the present embodiment refers to the same classification constraint document DB 1916. The feature vector referred to here refers to a vector composed of words and keywords peculiar to the document in the part where the viewpoint is described. For details on extraction of words specific to a document and a specific part of the document and a method of constructing a vector, “Information Retrieval Algorithm, Kenji Kita, Kazuhiko Tsuda, Masami Sasabori, Kyoritsu Shuppan, 2002” is detailed.

上述した第二の実施例に係る発明によれば、対象とする文書集合をより詳細に文書の内容(観点)に従って分類できる。例えば、特許文書を分類対象とした場合、行に「発明の課題」、列に「発明の解決手段」とした分類マップを作成することで、どういった観点の技術に開発の余地があるのかが一見してわかるような図を従来の文書分類装置よりも少ない労力で作成可能となる。   According to the invention according to the second embodiment described above, the target document set can be classified in more detail according to the content (viewpoint) of the document. For example, if patent documents are classified, creating a classification map with "invention issues" in the rows and "invention solving means" in the columns, there is room for development in the technology from which viewpoints Can be created with less effort than a conventional document classification apparatus.

上記第一の実施例ではユーザが文書を手動分類により移動する度に、同分類制約文書の文書ベクトルを作成し、各種DBにエントリを登録していた。第三の実施例では、作成した文書ベクトルそのものではなく、3つの文書の文書idを登録する。そうすることで、機械分類において同分類制約文書の文書ベクトルが必要となった際に、その3文書で形成する重心を計算し、第一の実施例で登録していたのと同様の同分類制約文書が得られるようにする。したがって、DBに必要とする記憶容量を節約することが可能となる。なお、登録する文書idを3つとしているが、それ以上としてもよい。以下の説明においては、第一の実施例に係る文書分類装置と同様の点については説明を省略し、異なる点のみについて説明する。   In the first embodiment, every time a user moves a document by manual classification, a document vector of the classification restriction document is created and an entry is registered in various DBs. In the third embodiment, the document ids of three documents are registered instead of the created document vector itself. By doing so, when the document vector of the same classification restriction document is required in the machine classification, the center of gravity formed by the three documents is calculated, and the same classification as that registered in the first embodiment Make sure that the constraint document is available. Therefore, the storage capacity required for the DB can be saved. Although three document ids are registered, it may be more than that. In the following description, the description of the same points as those of the document classification apparatus according to the first embodiment will be omitted, and only different points will be described.

第一の実施例と異なるのは、文書分類装置の構成図(図27)、代表文書計算制御部2706、分類操作DB2712(図28)である。   The difference from the first embodiment is a block diagram of the document classification device (FIG. 27), a representative document calculation control unit 2706, and a classification operation DB 2712 (FIG. 28).

図27は、本発明の第三の実施例である文書分類装置全体の構成図である。第一の実施例の構成図とは、代表文書計算制御部2706が追加されている点で異なる。代表文書計算制御部2706では、同分類制約文書として移動先カテゴリの重心ベクトルを計算した際に、その重心ベクトルと重心が略等しくなるような複数の文書、例えば3つの文書を選択する。   FIG. 27 is a block diagram of the entire document classification apparatus according to the third embodiment of the present invention. It differs from the block diagram of the first embodiment in that a representative document calculation control unit 2706 is added. The representative document calculation control unit 2706 selects a plurality of documents, for example, three documents, whose centroid vectors are substantially equal to the centroid when the centroid vectors of the destination category are calculated as the classification restriction documents.

図28に、分類操作DB2712に格納するデータのデータ形式とデータ例を示す。第一の実施例では、同分類制約文書idとして、実際に各種DBへ登録された重心ベクトル文書のidを登録していたが、本第三の実施例では、代表文書計算制御部2706が選択した3文書のidを登録する。   FIG. 28 shows a data format and an example of data stored in the classification operation DB 2712. In the first embodiment, the ID of the centroid vector document actually registered in various DBs is registered as the same classification constraint document id. However, in the third embodiment, the representative document calculation control unit 2706 selects Register the ids of the three documents.

図29、図30は、本第三の実施例における同分類制約文書を用いた機械分類処理のフローである。   FIGS. 29 and 30 are flow charts of machine classification processing using the same classification restriction document in the third embodiment.

図29は、同分類制約文書取得の処理フローである。第一の実施例ではS504において、各種DBに登録されている重心ベクトルのエントリを削除したが、本実施例では、S2904において分類操作DB2712の同分類制約文書idを削除するのみとしている。また、S2905において、移動先カテゴリの重心を計算した後、代表文書計算制御部2706が代表する3文書を選択し、それら3文書を分類操作DB2712に登録する。代表3文書の選び方としては、例えばカテゴリ内文書のうち真の重心に最も近い3文書を選択する方法や、カテゴリ内文書から3つを選択する全ての組み合わせの中から、真の重心と3文書による重心が最も近い3文書を選択する方法などが考えられる。   FIG. 29 is a processing flow for obtaining the same classification constraint document. In the first embodiment, the entry of the center of gravity vector registered in the various DBs is deleted in S504, but in this embodiment, only the same classification constraint document id in the classification operation DB 2712 is deleted in S2904. In step S2905, after calculating the center of gravity of the destination category, the representative document calculation control unit 2706 selects three documents represented, and registers these three documents in the classification operation DB 2712. As a method of selecting the representative three documents, for example, a method of selecting the three documents closest to the true centroid among the documents in the category, or the true centroid and the three documents from all combinations of selecting three from the documents in the category A method of selecting the three documents having the closest centroids by the method is conceivable.

図30は、機械文類結果取得の処理フローである。S3004において同分類制約文書idを取得した後、それらのidを用いて重心ベクトルを計算するステップS3005を追加している。計算した重心ベクトルはメモリ2702上に一時的に保持され、本処理フローが終了すると削除される。   FIG. 30 is a processing flow for acquiring a machine sentence result. After obtaining the same classification constraint document id in S3004, step S3005 for calculating a centroid vector using those ids is added. The calculated center-of-gravity vector is temporarily stored in the memory 2702, and is deleted when this processing flow ends.

上述した第三の実施例に係る発明によれば、重心を計算することでその文書ベクトルと等しいベクトルが得られるような3文書を登録しておくことによって、同分類制約文書ベクトルそのものを記録しておくよりも、必要とするDBの記憶容量を節約することが可能となる。なお、上記実施例では第一の実施例との違いを説明したが、第二の実施例についても同様である。   According to the above-described invention according to the third embodiment, by registering three documents such that a vector equal to the document vector can be obtained by calculating the center of gravity, the classification restriction document vector itself is recorded. It is possible to save the required DB storage capacity rather than keeping it. In the above embodiment, the difference from the first embodiment has been described, but the same applies to the second embodiment.

第一の実施例における文書分類装置の構成例を示すブロック図。FIG. 2 is a block diagram illustrating a configuration example of a document classification device in the first embodiment. 第一の実施例における手動分類制御部の構成例を示す図。The figure which shows the structural example of the manual classification control part in a 1st Example. 第一の実施例における情報端末における処理の一例を示すフロー図。The flowchart which shows an example of the process in the information terminal in a 1st Example. 第一の実施例における機械分類結果取得処理の一例を示すフロー図。The flowchart which shows an example of the machine classification result acquisition process in a 1st Example. 第一の実施例における同分類制約文書取得処理の一例を示すフロー図。The flowchart which shows an example of the same classification | category restrictions document acquisition process in a 1st Example. 第一の実施例における同分類制約文書生成処理の一例を示すフロー図。The flowchart which shows an example of the classification | category restrictions document production | generation process in a 1st Example. 第一の実施例における同分類制約文書生成処理によって変化した文書データDBの例を示す図。The figure which shows the example of document data DB changed by the same classification | category restrictions document production | generation process in a 1st Example. 第一の実施例における同分類制約文書生成処理によって変化した分類操作DBの例を示す図。The figure which shows the example of classification operation DB changed by the same classification | category restrictions document production | generation process in a 1st Example. 第一の実施例における各文書のカテゴリ重心との類似度による分類処理の一例を示すフロー図。The flowchart which shows an example of the classification process by the similarity with the category gravity center of each document in a 1st Example. 第一の実施例における手動分類結果取得処理の一例を示すフロー図。The flowchart which shows an example of the manual classification result acquisition process in a 1st Example. 第一の実施例における固定フラグ生成処理の一例を示すフロー図。The flowchart which shows an example of the fixed flag production | generation process in a 1st Example. 第一の実施例における移動フラグ生成処理の一例を示すフロー図。The flowchart which shows an example of the movement flag production | generation process in a 1st Example. 第一の実施例におけるカテゴリの分割処理制御処理の一例を示すフロー図。The flowchart which shows an example of the division | segmentation process control process of the category in a 1st Example. 第一の実施例におけるカテゴリの結合処理制御処理の一例を示すフロー図。The flowchart which shows an example of the combination process control process of the category in a 1st Example. 第一の実施例におけるカテゴリの結合処理によって変化した分類操作DBの例を示す図。The figure which shows the example of classification operation DB changed by the combination process of the category in a 1st Example. 第一の実施例における文書データDBの構成例を示す図。The figure which shows the structural example of document data DB in a 1st Example. 第一の実施例における分類操作DBの構成例を示す図。The figure which shows the structural example of classification operation DB in a 1st Example. 第一の実施例における書誌情報DBの構成例を示す図。The figure which shows the structural example of bibliographic information DB in a 1st Example. 第一の実施例における分類マップDBの構成例を示す図。The figure which shows the structural example of the classification map DB in a 1st Example. 第一の実施例における分類マップの表示画面の例を示す図。The figure which shows the example of the display screen of the classification map in a 1st Example. 第一の実施例における機械分類結果取得処理の一例を示すフロー図。The flowchart which shows an example of the machine classification result acquisition process in a 1st Example. 第二の実施例における文書分類装置の構成例を示すブロック図。The block diagram which shows the structural example of the document classification | category apparatus in a 2nd Example. 第二の実施例における文書データDBの構成例を示す図。The figure which shows the structural example of document data DB in a 2nd Example. 第二の実施例における分類操作DBの構成例を示す図。The figure which shows the structural example of classification operation DB in a 2nd Example. 第二の実施例における同分類制約文書DBの構成例を示す図。The figure which shows the structural example of the classification restriction | limiting document DB in a 2nd Example. 第二の実施例における分類マップDBの構成例を示す図。The figure which shows the structural example of the classification map DB in a 2nd Example. 第二の実施例における観点DBの構成例を示す図。The figure which shows the structural example of viewpoint DB in a 2nd Example. 第二の実施例における分類マップの表示画面の例を示す図。The figure which shows the example of the display screen of the classification map in a 2nd Example. 第二の実施例における機械分類結果取得処理の一例を示すフロー図。The flowchart which shows an example of the machine classification result acquisition process in a 2nd Example. 第二の実施例における機械分類結果取得処理の一例を示すフロー図。The flowchart which shows an example of the machine classification result acquisition process in a 2nd Example. 第三の実施例における文書分類装置全体のブロック図及び情報端末のブロック図の一例。FIG. 10 is an example of a block diagram of an entire document classification device and a block diagram of an information terminal in a third embodiment. 第三の実施例における分類操作DBの構成例を示す図。The figure which shows the structural example of classification operation DB in a 3rd Example. 第三の実施例における同分類制約文書取得処理の一例を示すフロー図。The flowchart which shows an example of the classification restrictions document acquisition process in a 3rd Example. 第三の実施例における各文書のカテゴリ重心との類似度による分類処理の一例を示すフロー図。The flowchart which shows an example of the classification process by the similarity with the category gravity center of each document in a 3rd Example.

符号の説明Explanation of symbols

10:情報端末、101:CPU、102:メモリ、103:キーボード・マウス、104:ディスプレイ、105:機械分類制御部、106:同分類制約文書生成部、107:手動分類制御部、108:文書表示部、109:データ通信部、110:文書データDB、111:分類操作DB、112:書誌情報DB、113:分類マップDB、114:ネットワーク 10: Information terminal, 101: CPU, 102: Memory, 103: Keyboard / mouse, 104: Display, 105: Machine classification control unit, 106: Same classification restriction document generation unit, 107: Manual classification control unit, 108: Document display 109: Data communication unit 110: Document data DB 111: Classification operation DB 112: Bibliographic information DB 113: Classification map DB 114: Network

Claims (10)

文書データベース内の文書をカテゴリ分けした分類マップを表示する表示部と、
前記表示部に表示された分類マップに対して操作を行う操作入力部と、
前記文書データベース中の文書を与えられた数のカテゴリに分類分けする初期分類と、その後前記操作入力部によって加えられた修正を反映した再分類とを実行する機械分類制御部と、
同分類制約文書生成部とを有し、
前記初期分類において、前記機械分類制御部は、文書に含まれる単語を要素とし単語の出現頻度に基づいて計算した数値を要素の値とするベクトル間の類似度をもとに前記文書データベース中の文書を前記与えられた数のカテゴリに分類分けし、
前記操作入力部によって、あるカテゴリに属する文書を他のカテゴリに移動する操作が行われたとき、
前記同分類制約文書生成部は、移動先のカテゴリに属する文書群の重心ベクトルに対応する同分類制約文書を生成し、前記移動された文書を前記同分類制約文書に関連付けし、
前記機械分類制御部は、各カテゴリに属する文書群の重心ベクトルをそれぞれ計算し、文書を表すベクトルと前記重心ベクトルとの類似度により各文書を対応するカテゴリに再分類すると共に前記移動された文書を当該文書が関連付けられた同分類制約文書と同じカテゴリに分類し、
前記表示部に前記機械分類制御部による再分類の結果を反映した分類マップを表示する
ことを特徴とする文書分類装置。
A display unit that displays a classification map that categorizes the documents in the document database;
An operation input unit for operating the classification map displayed on the display unit;
A machine classification control unit that performs initial classification to classify documents in the document database into a given number of categories, and then reclassification that reflects the corrections made by the operation input unit;
A classification constraint document generation unit,
In the initial classification, the machine classification control unit includes a word in the document database based on similarity between vectors having a word included in a document as an element and a numerical value calculated based on the appearance frequency of the word as an element value. Classify documents into the given number of categories,
When an operation for moving a document belonging to a certain category to another category is performed by the operation input unit,
The same-classification constraint document generation unit generates a same-classification constraint document corresponding to a centroid vector of a document group belonging to a destination category, associates the moved document with the same-classification constraint document,
The machine classification control unit calculates a centroid vector of a document group belonging to each category, reclassifies each document into a corresponding category based on a similarity between a vector representing the document and the centroid vector, and moves the moved document. Are classified into the same category as the same classification constraint document with which the document is associated,
A document classification apparatus, wherein a classification map reflecting a result of reclassification by the machine classification control unit is displayed on the display unit.
請求項1記載の文書分類装置において、前記分類マップは、一方の軸にカテゴリを配置し他方の軸に文書の書誌事項の情報を配置した2次元マップであることを特徴とする文書分類装置。   2. The document classification apparatus according to claim 1, wherein the classification map is a two-dimensional map in which categories are arranged on one axis and bibliographic information of the document is arranged on the other axis. 請求項1記載の文書分類装置において、前記操作入力部によって特定の文書を現在のカテゴリに固定する操作が行われたとき、当該文書に対しては前記再分類によるカテゴリの変更を行わないことを特徴とする文書分類装置。   2. The document classification apparatus according to claim 1, wherein when an operation for fixing a specific document to a current category is performed by the operation input unit, the category is not changed by the reclassification for the document. Feature document classification device. 請求項1記載の文書分類装置において、前記操作入力部によって新規なカテゴリが作成され、1つのカテゴリに属する文書群の一部を前記新規なカテゴリに移す操作が行われたとき、前記新規なカテゴリに移された文書群の各文書に対して、前記あるカテゴリに属する文書を他のカテゴリに移動する操作が行われたときと同様の処理を行うことを特徴とする文書分類装置。   The document classification apparatus according to claim 1, wherein a new category is created by the operation input unit, and an operation for moving a part of a group of documents belonging to one category to the new category is performed. A document classification apparatus, wherein the same processing as when an operation of moving a document belonging to a certain category to another category is performed on each document of the document group moved to (1). 文書データベース内の文書を、一方の軸に第1の観点でのカテゴリを配置し他方の軸に第2の観点でのカテゴリを配置してカテゴリ分けした2次元の分類マップを表示する表示部と、
文書中の前記第1の観点に関する記述のある部位に含まれる単語を要素とし単語の出現頻度に基づいて計算した数値を要素の値とする第1のベクトルを生成し、前記第2の観点に関する記述のある部位に含まれる単語を要素とし単語の出現頻度に基づいて計算した数値を要素の値とする第2のベクトルを生成する特徴ベクトル生成部と、
前記表示部に表示された分類マップに対して操作を行う操作入力部と、
前記文書データベース中の文書を与えられた数の第1の観点のカテゴリと第2の観点のカテゴリに分類分けする初期分類と、その後前記操作入力部によって加えられた修正を反映した再分類とを実行する機械分類制御部と、
同分類制約文書生成部とを有し、
前記初期分類において、前記機械分類制御部は、前記第1のベクトル間の類似度をもとに前記文書データベース中の文書を前記与えられた数の第1の観点のカテゴリに分類分けすると共に、前記第2のベクトル間の類似度をもとに前記文書データベース中の文書を前記与えられた数の第2の観点のカテゴリに分類分けし、
前記操作入力部によって、前記第1の観点のあるカテゴリに属する文書を当該第1の観点の他のカテゴリに移動する操作が行われたとき、
前記同分類制約文書生成部は、移動先のカテゴリに属する文書群の第1のベクトルの重心ベクトルに対応する同分類制約文書を生成し、前記移動された文書を前記同分類制約文書に関連付けし、
前記機械分類制御部は、前記第1の観点の各カテゴリに属する文書群の第1のベクトルの重心ベクトルをそれぞれ計算し、各文書を当該文書の前記第1のベクトルと前記重心ベクトルとの類似度により対応する第1の観点のカテゴリに再分類すると共に、前記移動された文書を当該文書が関連付けられた同分類制約文書と同じ第1の観点のカテゴリに分類し、
前記表示部に前記機械分類制御部による再分類の結果を反映した分類マップを表示し、
前記操作入力部によって、前記第2の観点のあるカテゴリに属する文書を当該第2の観点の他のカテゴリに移動する操作が行われたとき、
前記同分類制約文書生成部は、移動先のカテゴリに属する文書群の第2のベクトルの重心ベクトルに対応する同分類制約文書を生成し、前記移動された文書を前記同分類制約文書に関連付けし、
前記機械分類制御部は、前記第2の観点の各カテゴリに属する文書群の第2のベクトルの重心ベクトルをそれぞれ計算し、各文書を当該文書の前記第2のベクトルと前記重心ベクトルとの類似度により対応する第2の観点のカテゴリに再分類する共に、前記移動された文書を当該文書が関連付けられた同分類制約文書と同じ第2の観点のカテゴリに分類し、
前記表示部に前記機械分類制御部による再分類の結果を反映した分類マップを表示することを特徴とする文書分類装置。
A display unit for displaying a two-dimensional classification map in which documents in a document database are categorized by arranging a category in a first viewpoint on one axis and a category in a second viewpoint on the other axis; ,
A first vector having a word included in a part having a description related to the first viewpoint in the document as an element and a numerical value calculated based on the appearance frequency of the word as an element value is generated, and the second aspect A feature vector generating unit that generates a second vector having a value included in a part of the description as an element and a numerical value calculated based on the appearance frequency of the word;
An operation input unit for operating the classification map displayed on the display unit;
An initial classification for classifying the documents in the document database into a given number of first viewpoint categories and second viewpoint categories, and then a reclassification reflecting the corrections made by the operation input unit; A machine classification control unit to execute;
A classification constraint document generation unit,
In the initial classification, the machine classification control unit classifies the documents in the document database into the given number of first viewpoint categories based on the similarity between the first vectors, Classifying the documents in the document database into the given number of second viewpoint categories based on the similarity between the second vectors;
When an operation for moving a document belonging to a certain category of the first viewpoint to another category of the first viewpoint is performed by the operation input unit,
The same-classification constraint document generation unit generates a same-classification constraint document corresponding to a centroid vector of a first vector of a document group belonging to a destination category, and associates the moved document with the same-classification constraint document ,
The machine classification control unit calculates a centroid vector of a first vector of a document group belonging to each category of the first viewpoint, and each document is similar to the first vector and the centroid vector of the document. Reclassify to the category of the first viewpoint corresponding to the degree, and classify the moved document into the same category of the first viewpoint as the same classification constraint document to which the document is associated,
Display a classification map reflecting the result of reclassification by the machine classification control unit on the display unit,
When an operation for moving a document belonging to a certain category of the second viewpoint to another category of the second viewpoint is performed by the operation input unit,
The same-classification constraint document generation unit generates a same-classification constraint document corresponding to a centroid vector of a second vector of a document group belonging to a destination category, and associates the moved document with the same-classification constraint document ,
The machine classification control unit calculates a centroid vector of a second vector of a document group belonging to each category of the second viewpoint, and each document is similar to the second vector and the centroid vector of the document. Reclassify to the category of the second viewpoint corresponding to the degree, and classify the moved document into the category of the second viewpoint that is the same as the classification restriction document to which the document is associated,
A document classification apparatus, wherein a classification map reflecting a result of reclassification by the machine classification control unit is displayed on the display unit.
文書データベース内の文書をカテゴリ分けした分類マップを表示する表示部と、前記表示部に表示された分類マップに対して操作を行う操作入力部と、機械分類制御部とを有する文書分類装置による文書分類方法であって、
前記機械分類制御部により、文書に含まれる単語を要素とし単語の出現頻度に基づいて計算した数値を要素の値とするベクトル間の類似度をもとに前記文書データベース中の文書を前記与えられた数のカテゴリに分類分けする初期分類工程と、
前記操作入力部による、あるカテゴリに属する文書を他のカテゴリに移動する操作を受け付ける工程と、
移動先のカテゴリに属する文書群の重心ベクトルに対応する同分類制約文書を生成し、前記移動された文書を前記同分類制約文書に関連付けする工程と、
前記機械分類制御部により、各カテゴリに属する文書群の重心ベクトルをそれぞれ計算し、文書を表すベクトルと前記重心ベクトルとの類似度により各文書を対応するカテゴリに再分類すると共に、前記移動された文書を当該文書が関連付けられた同分類制約文書と同じカテゴリに分類する工程と、
前記表示部に前記機械分類制御部による再分類の結果を反映した分類マップを表示する工程と
を有することを特徴とする文書分類方法。
A document by a document classification apparatus having a display unit that displays a classification map in which documents in the document database are categorized, an operation input unit that operates the classification map displayed on the display unit, and a machine classification control unit A classification method,
The machine classification control unit is provided with the document in the document database based on a similarity between vectors having a word included in the document as an element and a numerical value calculated based on the appearance frequency of the word as an element value. An initial classification process for classifying into a number of categories;
Receiving an operation of moving a document belonging to a certain category to another category by the operation input unit;
Generating a same-classification constraint document corresponding to a centroid vector of a document group belonging to a destination category, and associating the moved document with the same-classification constraint document;
The machine classification control unit calculates the centroid vector of each document group belonging to each category, reclassifies each document into a corresponding category based on the similarity between the vector representing the document and the centroid vector, and the moved Classifying the document into the same category as the same classification constraint document with which the document is associated;
And a step of displaying a classification map reflecting a result of reclassification by the machine classification control unit on the display unit.
請求項記載の文書分類方法において、前記分類マップは、一方の軸にカテゴリを配置し他方の軸に文書の書誌事項の情報を配置した2次元マップであることを特徴とする文書分類方法。 7. The document classification method according to claim 6 , wherein the classification map is a two-dimensional map in which categories are arranged on one axis and bibliographic information of the document is arranged on the other axis. 請求項記載の文書分類方法において、前記操作入力部によって特定の文書を現在のカテゴリに固定する操作が行われたとき、当該文書に対しては前記再分類によるカテゴリの変更を行わないことを特徴とする文書分類方法。 7. The document classification method according to claim 6 , wherein when an operation for fixing a specific document to a current category is performed by the operation input unit, the category is not changed by the reclassification for the document. Feature document classification method. 請求項記載の文書分類方法において、
前記操作入力部による新規なカテゴリの作成を受け付ける工程と、
1つのカテゴリに属する文書群の一部を前記新規なカテゴリに移す操作を受け付ける工程と、
前記新規なカテゴリに移された文書群の各文書に対して、前記あるカテゴリに属する文書を他のカテゴリに移動する操作が行われたときと同様の処理を行う工程と
を有することを特徴とする文書分類方法。
The document classification method according to claim 6 ,
Accepting creation of a new category by the operation input unit;
Receiving an operation of moving a part of a document group belonging to one category to the new category;
A step of performing, for each document in the document group moved to the new category, processing similar to that performed when an operation for moving a document belonging to the certain category to another category is performed. Document classification method.
文書データベース内の文書を、一方の軸に第1の観点でのカテゴリを配置し他方の軸に第2の観点でのカテゴリを配置してカテゴリ分けした2次元の分類マップを表示する表示部と、前記表示部に表示された分類マップに対して操作を行う操作入力部と、機械分類制御部とを有する文書分類装置による文書分類方法であって、
前記第1の観点とその数及び第2の観点とその数を入力する工程と、
文書データベース内の各文書について、前記第1の観点に関する記述のある部位に含まれる単語を要素とし単語の出現頻度に基づいて計算した数値を要素の値とする第1のベクトルを生成し、前記第2の観点に関する記述のある部位に含まれる単語を要素とし単語の出現頻度に基づいて計算した数値を要素の値とする第2のベクトルを生成する工程と、
前記機械分類制御部により、前記第1のベクトル間の類似度をもとに前記文書データベース中の文書を前記与えられた数の第1の観点のカテゴリに分類分けすると共に、前記第2のベクトル間の類似度をもとに前記文書データベース中の文書を前記与えられた数の第2の観点のカテゴリに分類分けする初期分類を行う工程と、
前記初期分類の結果を前記表示部に分類マップとして表示する工程と、
前記操作入力部による、カテゴリ間での文書の移動操作を受け付ける工程とを有し、
前記文書の移動操作が前記第1の観点のカテゴリ間での移動であるとき、
移動先のカテゴリに属する文書群の第1のベクトルの重心ベクトルに対応する同分類制約文書を生成し、前記移動された文書を前記同分類制約文書に関連付けする工程と、
前記機械分類制御部により、前記第1の観点の各カテゴリに属する文書群の第1のベクトルの重心ベクトルをそれぞれ計算し、各文書を当該文書の前記第1のベクトルと前記重心ベクトルとの類似度により対応する第1の観点のカテゴリに再分類する共に前記移動された文書を当該文書が関連付けられた同分類制約文書と同じ第1の観点のカテゴリに分類する工程と、
前記表示部に前記機械分類制御部による再分類の結果を反映した分類マップを表示する工程とを実行し、
前記文書の移動操作が前記第2の観点のカテゴリ間での移動であるとき、
移動先のカテゴリに属する文書群の第2のベクトルの重心ベクトルに対応する同分類制約文書を生成し、前記移動された文書を前記同分類制約文書に関連付けする工程と、
前記機械分類制御部により、前記第2の観点の各カテゴリに属する文書群の第2のベクトルの重心ベクトルをそれぞれ計算し、各文書を当該文書の前記第2のベクトルと前記重心ベクトルとの類似度により対応する第2の観点のカテゴリに再分類すると共に前記移動された文書を当該文書が関連付けられた同分類制約文書と同じ第2の観点のカテゴリに分類する工程と、
前記表示部に前記機械分類制御部による再分類の結果を反映した分類マップを表示する工程とを実行する
ことを特徴とする文書分類方法。
A display unit for displaying a two-dimensional classification map in which documents in a document database are categorized by arranging a category in a first viewpoint on one axis and a category in a second viewpoint on the other axis; , A document classification method by a document classification device having an operation input unit for performing an operation on the classification map displayed on the display unit, and a machine classification control unit,
Inputting the first viewpoint and its number and the second viewpoint and its number;
For each document in the document database, generating a first vector having as an element a numerical value calculated based on the appearance frequency of the word, including the word contained in a part having a description relating to the first viewpoint, Generating a second vector having as an element a numerical value calculated based on the appearance frequency of a word including an element included in a part having a description relating to the second aspect;
The machine classification control unit classifies the document in the document database into the given number of first viewpoint categories based on the similarity between the first vectors, and the second vector. Performing an initial classification to classify the documents in the document database into the given number of second viewpoint categories based on the similarity between them;
Displaying the result of the initial classification on the display unit as a classification map;
Receiving a document movement operation between categories by the operation input unit,
When the movement operation of the document is movement between categories of the first viewpoint,
Generating a same-classification constraint document corresponding to a centroid vector of a first vector of a document group belonging to a destination category, and associating the moved document with the same-classification constraint document;
The machine classification control unit calculates a centroid vector of a first vector of a document group belonging to each category of the first viewpoint, and each document is similar to the first vector and the centroid vector of the document. Reclassifying the corresponding category of the first viewpoint according to the degree and classifying the moved document into the same category of the first viewpoint as the classification restriction document to which the document is associated;
Performing a step of displaying a classification map reflecting a result of reclassification by the machine classification control unit on the display unit,
When the movement operation of the document is movement between categories of the second viewpoint,
Generating a same-classification constraint document corresponding to a centroid vector of a second vector of a document group belonging to a destination category, and associating the moved document with the same-classification constraint document;
The machine classification control unit calculates a centroid vector of a second vector of a document group belonging to each category of the second viewpoint, and each document is similar to the second vector and the centroid vector of the document. Reclassifying the corresponding second viewpoint category according to the degree and classifying the moved document into the same second viewpoint category as the same classification constraint document with which the document is associated;
And a step of displaying a classification map reflecting a result of reclassification by the machine classification control unit on the display unit.
JP2007153244A 2007-06-08 2007-06-08 Document classification apparatus and classification method Expired - Fee Related JP4309933B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007153244A JP4309933B2 (en) 2007-06-08 2007-06-08 Document classification apparatus and classification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007153244A JP4309933B2 (en) 2007-06-08 2007-06-08 Document classification apparatus and classification method

Publications (2)

Publication Number Publication Date
JP2008305268A JP2008305268A (en) 2008-12-18
JP4309933B2 true JP4309933B2 (en) 2009-08-05

Family

ID=40233919

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007153244A Expired - Fee Related JP4309933B2 (en) 2007-06-08 2007-06-08 Document classification apparatus and classification method

Country Status (1)

Country Link
JP (1) JP4309933B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5240777B2 (en) * 2009-02-09 2013-07-17 株式会社日立製作所 Document classification apparatus and document classification method
JP5647602B2 (en) * 2009-04-27 2015-01-07 パナソニック インテレクチュアル プロパティ コーポレーション オブアメリカPanasonic Intellectual Property Corporation of America Data processing apparatus, data processing method, program, and integrated circuit
JP6015417B2 (en) * 2012-12-19 2016-10-26 富士通株式会社 Cluster processing method, cluster processing apparatus, and program
CN103207893B (en) * 2013-03-13 2016-05-25 北京工业大学 The sorting technique of two class texts based on Vector Groups mapping
CN105589853B (en) 2014-10-20 2017-09-15 阿里巴巴集团控股有限公司 A kind of classification catalogue determines method and device, automatic classification method and device
JP7091295B2 (en) 2019-09-06 2022-06-27 株式会社東芝 Analytical equipment, analysis method and program

Also Published As

Publication number Publication date
JP2008305268A (en) 2008-12-18

Similar Documents

Publication Publication Date Title
WO2022116537A1 (en) News recommendation method and apparatus, and electronic device and storage medium
JP4309933B2 (en) Document classification apparatus and classification method
US20150199567A1 (en) Document classification assisting apparatus, method and program
CN103914504A (en) Information processing apparatus and method for generating graphs
JP2012123845A (en) Media material analysis of continuing article portions
JP2007233658A (en) Data processing method and apparatus, and processing program therefor
US9183223B2 (en) System for non-deterministic disambiguation and qualitative entity matching of geographical locale data for business entities
WO2018090468A1 (en) Method and device for searching for video program
JP2009122723A (en) Form data extraction program, form data extraction apparatus, and form data extraction method
JP2003519841A (en) Information modeling method and method of performing search using database constructed by information modeling
CN106570196A (en) Video program searching method and device
KR102409598B1 (en) Method for providing user interface capable of allowing a user to retrieve information on e-book and server using the same
CN113434722B (en) Image classification method, device, equipment and computer readable storage medium
JP2007206771A (en) Information element processing program, information element processing method, and information element processing apparatus
CN115599802B (en) Data retrieval system, method, device and storage medium
JP4839195B2 (en) Method for calculating conformity of XML document, program thereof, and information processing apparatus
JP5112027B2 (en) Document group presentation device and document group presentation program
CN107341221B (en) Index structure establishing and associated retrieving method, device, equipment and storage medium
JP2009252185A (en) Information searching device, information searching method, control program, and recording medium
CN101452459A (en) System and method for searching similar translation results by using index
JP2009265814A (en) Information presentation device, information presentation method, and information presentment program
US20200301930A1 (en) Support system, storage medium, and method for presenting relationships of items
CN116451103B (en) A tag-based situation element recommendation method
CN119622341A (en) Data processing method, computer device and readable storage medium
KR20220099745A (en) A spatial decomposition-based tree indexing and query processing methods and apparatus for geospatial blockchain data retrieval

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081006

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20081006

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20081022

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090113

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090209

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: 20090421

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: 20090508

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

Free format text: PAYMENT UNTIL: 20120515

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120515

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130515

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130515

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees