JPH07262200A - Statement sorter - Google Patents

Statement sorter

Info

Publication number
JPH07262200A
JPH07262200A JP6048457A JP4845794A JPH07262200A JP H07262200 A JPH07262200 A JP H07262200A JP 6048457 A JP6048457 A JP 6048457A JP 4845794 A JP4845794 A JP 4845794A JP H07262200 A JPH07262200 A JP H07262200A
Authority
JP
Japan
Prior art keywords
keyword
classification
keywords
classification number
character string
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.)
Pending
Application number
JP6048457A
Other languages
Japanese (ja)
Inventor
Tamotsu Mizuguchi
有 水口
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP6048457A priority Critical patent/JPH07262200A/en
Publication of JPH07262200A publication Critical patent/JPH07262200A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform classification more desirably by employing such constitution that a key word table registered in advance by making correspond to a classification number is prepared and the classification number of a coincident key word is classified by retrieving the table sequentially. CONSTITUTION:An input device 1 inputs a character string desired to classify. An input character managing means 2 manages a character inputted from the input device 1. A key word matching means 3 takes out the classification number when a part or all of the key words in the key word table 4 coincide, and classifies an inputted character string to a taken out classification number. In this way, detail classification can be performed by reducing the number of key words by performing classification by the combination of the key word, or more desirable classification in which a relating key word with priority is conformed first can be performed by setting a priority classification order.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、入力文を分類する文分
類装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sentence classification device for classifying input sentences.

【0002】[0002]

【従来の技術】従来、ニュースの分類・保存・データベ
ース化などのときに、キーワード文字列のマッチング方
法が使われていた。このキーワード文字列のマッチング
方法によって、例えば「自動車」というようにキーワー
ド分類していた。
2. Description of the Related Art Conventionally, a keyword character string matching method has been used for categorizing, storing, and databaseizing news. According to the matching method of the keyword character strings, the keywords are classified, for example, "car".

【0003】[0003]

【発明が解決しようとする課題】従来は上述したように
単純な単語、例えば上述した「自動車」をキーワード文
字列として抽出していた。このため、「早い自動車」と
「遅い自動車」や、「早い自動車」と「早くない自動
車」などの反対の意味を持つ日本語文の分類を行うこと
ができない問題があった。
Conventionally, as described above, a simple word, for example, the above-mentioned "car" is extracted as a keyword character string. Therefore, there is a problem that it is not possible to classify Japanese sentences having opposite meanings such as "fast car" and "slow car", or "fast car" and "not fast car".

【0004】また、従来は、例えば「早い自動車」、
「早く走る自動車」、「早く走っている自動車」とを同
じ「早い自動車」に分類するには、それぞれをキーワー
ド文字列として持っていなければならないという問題も
あった。
Further, in the past, for example, "fast car",
In order to classify "fast-running car" and "fast-running car" into the same "fast car", there is also a problem that each must have a keyword string.

【0005】本発明は、これらの問題を解決するため、
分類番号に対応づけて1つあるいは複数のキーワード、
および優先分類順を予め登録したキーワードテーブルを
準備し、これらを順次探索して一致したキーワードの分
類番号に分類し、1つあるいは複数のキーワードの組み
合わせで分類してキーワード数を減らして細かい分類を
実現したり、更に優先分類順を設定して優先的に所望の
分類先への分類を実現したりすることを目的としてい
る。
The present invention solves these problems.
One or more keywords associated with the classification number,
And prepare a keyword table in which priority classification order is registered in advance, classify them into matching keyword classification numbers by sequentially searching them, and classify with one or a combination of multiple keywords to reduce the number of keywords for fine classification. It is intended to realize the above or to further preferentially realize the classification to a desired classification destination by setting the priority classification order.

【0006】[0006]

【課題を解決するための手段】図1は、本発明の原理ブ
ロック図を示す。図1において、入力装置1は、分類し
ようとする文字列を入力するものである。
FIG. 1 shows a block diagram of the principle of the present invention. In FIG. 1, the input device 1 is for inputting a character string to be classified.

【0007】入力文字管理手段2は、入力装置1から入
力された文字を管理するものである。キーワードマッチ
ング手段3は、入力された文字列についてキーワードテ
ーブル4のキーワードと一部あるいは全部が一致したと
きのその分類番号を取り出したりなどするものである。
The input character management means 2 manages the characters input from the input device 1. The keyword matching means 3 extracts the classification number when a part or all of the keywords in the keyword table 4 match the input character string.

【0008】キーワードテーブル4は、分類番号に対応
づけてキーワード、優先分類順を予め登録したものであ
る。分類結果格納手段5は、キーワードマッチング手段
3によって分類された分類番号を入力された文字列に対
応づけて、文格納テーブル6に格納するものである。
The keyword table 4 is a table in which keywords and priority classification orders are registered in advance in association with classification numbers. The classification result storage unit 5 stores the classification number classified by the keyword matching unit 3 in the sentence storage table 6 in association with the input character string.

【0009】文格納テーブル6は、分類結果を入力され
た文字列に対応づけて格納するものである。
The sentence storage table 6 stores the classification result in association with the input character string.

【0010】[0010]

【作用】本発明は、図1に示すように、入力装置1から
分類しようとする文字列が入力されたことに対応して、
キーワードマッチング手段3が入力された文字列につい
て、キーワードテーブル4のキーワードと一部あるいは
全部が一致したときの分類番号を取り出し、入力された
文字列をこの取り出した分類番号に分類するようにして
いる。
The present invention responds to the input of a character string to be classified from the input device 1, as shown in FIG.
With respect to the input character string, the keyword matching means 3 extracts a classification number when a part or all of the keywords in the keyword table 4 match, and classifies the input character string into this extracted classification number. .

【0011】また、キーワードマッチング手段3が入力
された文字列について、キーワードテーブル4の複数の
キーワードの全てと一部あるいは全部が一致したときの
分類番号を取り出し、入力された文字列をこの取り出し
た分類番号に分類するようにしている。
With respect to the input character string, the keyword matching means 3 extracts the classification number when all or some of the plurality of keywords in the keyword table 4 match, and extracts the input character string. I try to classify them into classification numbers.

【0012】また、キーワードマッチング手段3が入力
された文字列について、キーワードテーブル4の1つの
キーワードと一部あるいは全部が一致したときの優先分
類順に設定されている分類番号のキーワードと一部ある
いは全部が一致したときに当該分類番号を取り出し、一
方、一致しなかったときに1つのキーワードと一致した
分類番号を取り出し、入力された文字列をこの取り出し
た分類番号に分類するようにしている。
Further, with respect to the character string input by the keyword matching means 3, a part or all of the keyword of the classification number set in the priority classification order when one or all of the keywords in the keyword table 4 match When the numbers match with each other, the classification number is extracted. On the other hand, when the numbers do not match, the classification number matching one keyword is extracted, and the input character string is classified into the extracted classification number.

【0013】また、キーワードマッチング手段3が入力
された文字文について、キーワードテーブル4の複数の
キーワードと一部あるいは全部が一致したときの優先分
類順に設定されている分類番号のキーワードと一部ある
いは全部が一致したときに当該分類番号を取り出し、一
方、一致しなかったときに複数のキーワードと一致した
分類番号を取り出し、入力された文字列をこの取り出し
た分類番号に分類するようにしている。
Further, with respect to the character text input by the keyword matching means 3, when a part or all of a plurality of keywords in the keyword table 4 are matched, a keyword of a classification number set in a priority classification order and a part or all of the keywords. When the numbers match, the classification number is extracted. On the other hand, when the numbers do not match, the classification number that matches a plurality of keywords is extracted, and the input character string is classified into the extracted classification number.

【0014】これらの際に、キーワードマッチング手段
3が入力された文字列について、1つあるいは複数のキ
ーワードと一部あるいは全部が一致したときに、一致し
たキーワードの数が多い方、キーワードの数が同一のと
きはキーワードの文字数の多い方、キーワードの文字数
が同一のときは最長のキーワードの方、最長のキーワー
ドが同一のときはキーワードの総文字数の多い方に分類
するようにしている。
In these cases, when a part or all of the character string input by the keyword matching means 3 matches one or a plurality of keywords, the one having a larger number of matching keywords and the one having a larger number of keywords are When the keywords are the same, the keyword has a larger number of characters, when the keywords have the same number of characters, the longest keyword is the same, and when the keywords have the same length, the keywords have a larger total number of characters.

【0015】また、キーワードとして、仮名、漢字、フ
ァルファベット、数字が混在する文字列とするようにし
ている。従って、分類番号に対応づけて1つあるいは複
数のキーワード、および優先分類順を予め登録したキー
ワードテーブル4を準備し、これらを順次探索して一致
したキーワードの分類番号に分類したり、更に分類優先
順に分類したりすることにより、1つあるいは複数のキ
ーワードの組み合わせで分類してキーワード数を減らし
て細かい分類を実現したり、更に優先分類順をキーワー
ドテーブル4に設定して関連する優先するキーワードか
ら先にマッチしてより望ましい分類を行ったりすること
が可能となる。
Further, the keyword is a character string in which kana, kanji, farfabet, and numbers are mixed. Therefore, a keyword table 4 in which one or a plurality of keywords and priority classification order are registered in advance in association with the classification numbers is prepared, and these are sequentially searched to be classified into the classification numbers of the matching keywords, or further classification priority is given. By categorizing in order, the number of keywords can be reduced by one or a combination of a plurality of keywords to realize fine categorization, and the priority categorization order can be set in the keyword table 4 so that the related priority keywords are It is possible to perform a more desirable classification by matching first.

【0016】[0016]

【実施例】次に、図2から図14を用いて本発明の実施
例の構成および動作を順次詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the construction and operation of an embodiment of the present invention will be described in detail with reference to FIGS.

【0017】図2のフローチャート(その1)に示す順
序に従い、図3のキーワードテーブル4(その1)を使
用したときの図1の構成の動作を詳細に説明する。図2
において、S1は、ユーザに対する入力要求する。
The operation of the configuration of FIG. 1 when the keyword table 4 (part 1) of FIG. 3 is used will be described in detail according to the order shown in the flowchart (part 1) of FIG. Figure 2
In step S1, an input request is made to the user.

【0018】S2は、S1の入力要求に対応して、ユー
ザが分類対象の文(文字列、入力文)を入力する。例え
ば右側に記載した下記の 「この問題は遺伝的アルゴリズム手法で解いた」 を入力する。
In S2, the user inputs a sentence to be classified (character string, input sentence) in response to the input request in S1. For example, enter the following “This problem was solved by the genetic algorithm method” described on the right side.

【0019】S3は、終わりか判別する。YESの場合
には、終了する(END)。NOの場合には、S4に進
む。S4は、入力文と、図3の(a)あるいは(b)の
キーワードテーブル4とのマッチングを行う。
In step S3, it is determined whether or not the process has ended. If YES, the process ends (END). If NO, the process proceeds to S4. In S4, the input sentence is matched with the keyword table 4 of FIG. 3A or 3B.

【0020】S5は、見つかったか判別する。これは、
S4のマッチングにより、入力文の一部あるいは全部が
図3の(a)あるいは(b)のキーワードテーブル4の
いずれかのキーワードとマッチング(一致)するものが
見つかったか判別する。YESの場合には、S6でキー
ワードテーブル4からマッチングした分類番号を取り出
して入力文に付加し、S7で結果表示として、分類番
号、キーワード、入力文を関連づけて表示する。一方、
NOの場合には、S3に戻る。例えば上述した入力文
「この問題は遺伝的アルゴリズム手法で解いた」の場
合、図3の(a)のキーワードテーブル4とマッチング
を行い、ここでは、キーワード「遺伝的アルゴリズム」
とマッチング(一致)するので、このときの分類番号3
0が得られるので、結果表示として、 ・分類番号:30 ・キーワード:「遺伝的アルゴリズム」 ・入力文:「この問題は遺伝的アルゴリズム手法で解い
た」 を表示する。
In step S5, it is determined whether or not it has been found. this is,
By the matching in S4, it is determined whether or not a part or the whole of the input sentence is found that matches (matches) any of the keywords in the keyword table 4 of FIG. 3A or 3B. In the case of YES, the matched classification number is taken out from the keyword table 4 in S6 and added to the input sentence, and in S7, the classification number, the keyword and the input sentence are displayed in association with each other as a result display. on the other hand,
If NO, the process returns to S3. For example, in the case of the above-mentioned input sentence “This problem was solved by the genetic algorithm method”, matching is performed with the keyword table 4 in FIG. 3A, and here, the keyword “genetic algorithm” is used.
Since it matches with (matches), the classification number 3 at this time
Since 0 is obtained, as a result display, classification number: 30 keyword: "genetic algorithm" input sentence: "this problem was solved by the genetic algorithm method" is displayed.

【0021】以上によって、ユーザが文を入力して分類
を指示したことに対応して、入力文と図3の(a)ある
いは(b)のキーワードテーブル4と一部あるいは全部
が一致するかのマッチングを行い、一部あるいは全部が
一致する分類番号を取り出し、この分類番号を入力文に
付加して保存すると共に、分類番号、キーワード、入力
文を対応づけて表示する。これらにより、キーワードテ
ーブル4に予め登録した漢字、かな、カタカナ、アルフ
ァベット、数字などにどのような文字列であっても、分
類してその分類番号を決定することが可能となる。
As described above, in response to the user inputting a sentence and instructing the classification, whether the input sentence partially or wholly matches the keyword table 4 of FIG. 3A or 3B. Matching is performed, a classification number that partially or wholly matches is extracted, the classification number is added to the input sentence and stored, and the classification number, the keyword, and the input sentence are displayed in association with each other. As a result, it is possible to classify any character string such as Chinese characters, kana, katakana, alphabets, numbers, etc. registered in the keyword table 4 in advance and determine the classification number.

【0022】図3は、本発明のキーワードテーブル例
(その1)を示す。これは、図2のフローチャートに使
用するキーワードテーブル4の例である。図3の(a)
は、キーワードテーブル例を示す。この図示のキーワー
ドテーブル4は、分類番号に対応づけてキーワードを予
め登録したものであって、ここでは、漢字、ひらがな、
数字、アルファベットから構成されるものである。
FIG. 3 shows an example (1) of the keyword table of the present invention. This is an example of the keyword table 4 used in the flowchart of FIG. FIG. 3 (a)
Shows an example of a keyword table. In the illustrated keyword table 4, keywords are registered in advance in association with classification numbers. Here, kanji, hiragana,
It consists of numbers and alphabets.

【0023】図3の(b)は、キーワードテーブル例を
示す。この図示のキーワードテーブル4は、分類番号に
対応づけてキーワードを予め登録したものであって、こ
こでは、漢字、ひらがな、数字、アルファベット、記号
などから構成されるものである。
FIG. 3B shows an example of the keyword table. The keyword table 4 shown in the figure is a table in which keywords are registered in advance in association with classification numbers, and here, kanji, hiragana, numbers, alphabets, symbols and the like are used.

【0024】図4は、本発明の文格納テーブル例を示
す。この文格納テーブル6は、キーワードマッチング手
段3が入力文を図3の(a)あるいは(b)のキーワー
ドテーブル4のキーワードとマッチングを行い、一致し
た部分(下線部分)に分類番号を付与したものを模式的
に表したものである。このように、文字列を入力する
と、キーワードテーブル4に予め設定されているキーワ
ードと一致したときの一致部分とその分類番号を対応づ
けて表示することにより、入力文の分類を自動的に行う
ことが可能となる。
FIG. 4 shows an example of the sentence storage table of the present invention. In this sentence storage table 6, the keyword matching means 3 matches the input sentence with the keyword in the keyword table 4 of FIG. 3A or 3B, and assigns a classification number to the matched portion (underlined portion). Is a schematic representation. In this way, when a character string is input, the matching part when the keyword matches a preset keyword in the keyword table 4 and its classification number are displayed in association with each other, thereby automatically classifying the input sentence. Is possible.

【0025】次に、図5のフローチャート(その2)に
示す順序に従い、図6のキーワードテーブル4(その
2)を使用したときの図1の構成の動作を詳細に説明す
る。図5において、S11は、ユーザに対する入力要求
する。
Next, the operation of the configuration of FIG. 1 when the keyword table 4 (part 2) of FIG. 6 is used will be described in detail according to the order shown in the flowchart (part 2) of FIG. In FIG. 5, S11 requests an input from the user.

【0026】S12は、S11の入力要求に対応して、
ユーザが分類対象の文を入力する。例えば右側に記載し
た下記の 「早い自動車」 を入力する。
In S12, in response to the input request in S11,
The user inputs a sentence to be classified. For example, enter the following "Fast car" on the right side.

【0027】S13は、終わりか判別する。YESの場
合には、終了する(END)。NOの場合には、S14
に進む。S14は、入力文に全てのキーワードが含まれ
るかを、図6のキーワードテーブル4とのマッチングを
行う。これは、キーワードテーブル4の分類番号に対応
づけて複数のキーワードが予め登録されているので、こ
こでは全てのキーワードが当該入力文に含まれるか(論
理積の場合)のマッチングを行う。この他に、論理和の
場合には、いずれかのキーワードに一致したときにその
分類番号を取り出す。ここでは、以下論理積の場合に限
って説明する。
In step S13, it is determined whether or not the process has ended. If YES, the process ends (END). If NO, S14
Proceed to. In S14, matching with the keyword table 4 in FIG. 6 is performed to determine whether all the keywords are included in the input sentence. Since a plurality of keywords are registered in advance in association with the classification numbers in the keyword table 4, matching is performed here whether all the keywords are included in the input sentence (in the case of logical product). In addition to this, in the case of logical sum, the classification number is taken out when any of the keywords matches. Here, only the case of the logical product will be described below.

【0028】S15は、見つかったか判別する。これ
は、S14のマッチングにより、入力文中で図6のキー
ワードテーブル4の全てのキーワードと一致するものが
見つかったか判別する。YESの場合には、S16でキ
ーワードテーブル4から一致した分類番号を取り出して
入力文に付加し、S7で結果表示として、分類番号、キ
ーワード、入力文を関連づけて表示する。一方、NOの
場合には、S13に戻る。例えば上述した入力文「早い
自動車」の場合、図6のキーワードテーブル4とマッチ
ングを行い、ここでは、キーワード1「早」、キーワー
ド2「自動車」と一致するので、このときの分類番号1
0が得られるので、結果表示として、 ・分類番号:10 ・キーワード1:「早い」、キーワード2:「自動車」 ・入力文:「早い自動車」 を表示する。
In step S15, it is determined whether or not it has been found. This determines whether or not a match with all keywords in the keyword table 4 of FIG. 6 was found in the input sentence by the matching in S14. If YES, in S16, the matching classification number is extracted from the keyword table 4 and added to the input sentence, and in S7, the classification number, the keyword, and the input sentence are displayed in association with each other as a result display. On the other hand, if NO, the process returns to S13. For example, in the case of the above-mentioned input sentence “fast car”, matching is performed with the keyword table 4 in FIG. 6, and here, since it matches with keyword 1 “fast” and keyword 2 “car”, the classification number 1 at this time is
Since 0 is obtained, as a result display, • Classification number: 10 • Keyword 1: “fast”, keyword 2: “car” • Input sentence: “fast car” is displayed.

【0029】以上によって、ユーザが文を入力して分類
を指示したことに対応して、入力文中で図6のキーワー
ドテーブル4の複数のキーワードと、ここでは全部一致
するかマッチングを行い、全部が一致する分類番号を取
り出し、この分類番号を入力文に付加して保存すると共
に、分類番号、キーワード、入力文を対応づけて表示す
る。これらにより、キーワードテーブル4に予め登録し
た漢字、かな、カタカナ、アルファベット、数字などか
なる複数のキーワードの論理積を満足した場合(他に論
理和を満足した場合もある)に、分類してその分類番号
を決定することが可能となる。
As described above, in response to the user inputting a sentence and instructing classification, a plurality of keywords in the keyword table 4 in FIG. The matching classification number is taken out, this classification number is added to the input sentence and stored, and the classification number, the keyword and the input sentence are displayed in association with each other. With these, when the logical product of a plurality of keywords such as kanji, kana, katakana, alphabets and numbers registered in the keyword table 4 in advance is satisfied (there is also a case where the logical sum is satisfied in some cases), the classification is performed. It is possible to determine the classification number.

【0030】図6は、本発明のキーワードテーブル例
(その2)を示す。これは、図5のフローチャートに使
用するキーワードテーブル4の例であって、分類番号に
対応づけて複数のキーワードを登録し、ここでは、全部
のキーワードが入力文中に含まれていたときに一致する
としたものである。
FIG. 6 shows an example (2) of the keyword table of the present invention. This is an example of the keyword table 4 used in the flowchart of FIG. 5, in which a plurality of keywords are registered in association with the classification numbers, and here, when all the keywords are included in the input sentence, they match. It was done.

【0031】次に、図7のフローチャート(その3)に
示す順序に従い、図8のキーワードテーブル4(その
3)を使用したときの図1の構成の動作を詳細に説明す
る。図7において、S21は、ユーザに対する入力要求
する。
Next, the operation of the configuration of FIG. 1 when the keyword table 4 (part 3) of FIG. 8 is used will be described in detail according to the order shown in the flowchart (part 3) of FIG. In FIG. 7, in S21, an input request is made to the user.

【0032】S22は、S21の入力要求に対応して、
ユーザが分類対象の文を入力する。例えば右側に記載し
た下記の 「男性」 を入力する。
In S22, in response to the input request in S21,
The user inputs a sentence to be classified. For example, enter the following "male" on the right side.

【0033】S23は、終わりか判別する。YESの場
合には、終了する(END)。NOの場合には、S24
に進む。S24は、入力文中にキーワードが含まれるか
を、図8のキーワードテーブル4とのマッチングを行
う。これは、キーワードテーブル4の分類番号に対応づ
けてキーワードが予め登録されているので、このキーワ
ードが当該入力文に含まれるかのマッチングを行う。
In step S23, it is determined whether the processing is finished. If YES, the process ends (END). If NO, S24
Proceed to. In S24, it is matched with the keyword table 4 of FIG. 8 whether the input sentence includes a keyword. This is because the keyword is registered in advance in association with the classification number in the keyword table 4, so matching is performed as to whether this keyword is included in the input sentence.

【0034】S25は、見つかったか判別する。これ
は、S24のマッチングにより、入力文中で図8のキー
ワードテーブル4のキーワードと一致するものが見つか
ったか判別する。YESの場合には、S26に進む。N
Oの場合にはS23に戻る。
In step S25, it is determined whether or not it has been found. This determines whether or not a match with the keyword in the keyword table 4 in FIG. 8 was found in the input sentence by the matching in S24. If YES, the process proceeds to S26. N
If it is O, the process returns to S23.

【0035】S26は、キーワードテーブル4の一致し
たキーワードに優先分類順が設定されているか判別す
る。YESの場合には、S27に進む。NOの場合に
は、優先分類順が設定されていなかったので、S30で
一致したキーワードの分類番号に決定し、S31に進
む。
In step S26, it is determined whether the priority classification order is set for the matching keywords in the keyword table 4. If YES, the process proceeds to S27. In the case of NO, since the priority classification order has not been set, the classification number of the matched keyword is determined in S30, and the process proceeds to S31.

【0036】S27は、優先分類順が終わりか判別す
る。YESの場合には、優先分類順が設定されていなか
ったので、S30で一致したキーワードの分類番号に決
定し、S31に進む。一方、NOの場合には、S28に
進む。
In step S27, it is determined whether the priority classification order is over. In the case of YES, since the priority classification order has not been set, the classification number of the matched keyword is determined in S30, and the process proceeds to S31. On the other hand, if NO, the process proceeds to S28.

【0037】S28は、優先分類順に設定されている分
類番号を取り出し、この取り出した分類番号(優先分類
番号)のキーワードが入力文中にあるかマッチングす
る。YESの場合には、優先分類順の分類番号のキーワ
ードと一致したので、S29で一致した分類番号に決定
し、S31に進む。一方、NOの場合には、S27に戻
る。
In step S28, the classification numbers set in the priority classification order are fetched, and it is matched whether or not the keyword of the fetched classification number (priority classification number) is in the input sentence. In the case of YES, since it matches with the keyword of the classification number in the priority classification order, the matching classification number is determined in S29, and the process proceeds to S31. On the other hand, if NO, the process returns to S27.

【0038】S31は、キーワードテーブル4から分類
番号を取り出して入力文に付加する。例えば右側に記載
したように「分類番号:1100」を入力文「男性」に
付加する。
In step S31, the classification number is extracted from the keyword table 4 and added to the input sentence. For example, as described on the right side, "classification number: 1100" is added to the input sentence "male".

【0039】S32は、結果表示する。例えば上述した
入力文「男性」の場合、図8ののキーワードテーブル4
とマッチングを行い、ここでは、分類番号1000のキ
ーワド「男」と一致したので、優先分類順「120
0」、「1100」を順次取り出して、その分類番号の
キーワード「男性」、「男女」と入力文とをマッチング
し、ここでは、キーワード「男性」と一致したので、分
類番号1100と決定し、結果を ・分類番号:1100 ・キーワード:「男性」 ・入力文:「男性」 と表示する。
In S32, the result is displayed. For example, in the case of the above-mentioned input sentence “male”, the keyword table 4 in FIG.
Since it matches the key word “male” with the classification number 1000 here, the priority classification order is “120”.
“0” and “1100” are sequentially taken out, and the keywords “male” and “gender” of the classification number are matched with the input sentence. Here, since they match the keyword “male”, the classification number 1100 is determined, The results are displayed as: -Classification number: 1100-Keyword: "male" -Input sentence: "male"

【0040】以上によって、ユーザが文を入力して分類
を指示したことに対応して、入力文中で図8のキーワー
ドテーブル4のキーワードと一致するかマッチングを行
い、一致したキーワードの分類優先順の分類番号のキー
ワードと優先的にマッチングを行い、一致したときの分
類番号を優先的に入力文に対応づけて表示する。これら
により、キーワードテーブル4に予めキーワードおよび
分類優先順の分類番号を設定しておくことにより、入力
文に含まれる文字について優先順に分類番号を決定する
ことが可能となる。
As described above, in response to the user inputting a sentence and instructing the classification, the input sentence is matched or matched with the keyword in the keyword table 4 of FIG. The keyword of the classification number is preferentially matched, and the matching classification number is preferentially displayed in association with the input sentence. Accordingly, by setting the keywords and the classification numbers in the classification priority order in the keyword table 4 in advance, it becomes possible to determine the classification numbers in the priority order for the characters included in the input sentence.

【0041】図8、本発明のキーワードテーブル例(そ
の3)を示す。これは、図7のフローチャートに使用す
るキーワードテーブル4の例であって、分類番号に対応
づけてキーワードおよび分類優先順を登録し、入力文が
キーワードに一致したときに優先して分類を行う分類番
号(キーワード)を任意に指定することが可能となる。
FIG. 8 shows an example (No. 3) of the keyword table of the present invention. This is an example of the keyword table 4 used in the flowchart of FIG. 7, in which the keyword and the classification priority order are registered in association with the classification number, and when the input sentence matches the keyword, the classification is performed with priority. It is possible to arbitrarily specify the number (keyword).

【0042】次に、図9のフローチャート(その4)に
示す順序に従い、図10のキーワードテーブル4(その
4)を使用したときの図1の構成の動作を詳細に説明す
る。図9において、S41は、ユーザに対する入力要求
する。
Next, the operation of the configuration of FIG. 1 when the keyword table 4 (part 4) of FIG. 10 is used will be described in detail according to the order shown in the flowchart (part 4) of FIG. In FIG. 9, S41 requests an input to the user.

【0043】S42は、S41の入力要求に対応して、
ユーザが分類対象の文を入力する。例えば右側に記載し
た下記の 「サッカーボール」 を入力する。
In S42, in response to the input request in S41,
The user inputs a sentence to be classified. For example, enter the following "soccer ball" on the right side.

【0044】S43は、入力文とキーワードテーブル4
とのマッチングを終わりまで行う。これは、図10のキ
ーワードテーブル4の分類番号に対応づけてキーワード
が予め登録されているので、このキーワードが当該入力
文に含まれるかのマッチングを終わりまで行う。
S43 is an input sentence and keyword table 4
Matches with until the end. This is because the keyword is registered in advance in association with the classification number in the keyword table 4 of FIG. 10, so matching of whether this keyword is included in the input sentence is performed until the end.

【0045】S44は、見つかったか判別する。これ
は、S43のマッチングにより、入力文中で図10のキ
ーワードテーブル4のキーワードと一致するものが見つ
かったか判別する。YESの場合には、S45に進む。
NOの場合には終了する(END)。
In step S44, it is determined whether it has been found. This determines whether or not a match with the keyword in the keyword table 4 in FIG. 10 was found in the input sentence by the matching in S43. If YES, the process proceeds to S45.
If NO, the process ends (END).

【0046】S45は、マッチングしたのが1つか判別
する。YESの場合には、S46でその分類番号に決定
し、S48に進む。一方、NOの場合には、複数のキー
ワードが一致したので、S47でキーワードの文字数の
一番長い分類番号に決定し、S48に進む。
In S45, it is determined whether there is one matching. If YES, the classification number is determined in S46, and the process proceeds to S48. On the other hand, in the case of NO, since a plurality of keywords match, the classification number having the longest number of characters of the keyword is determined in S47, and the process proceeds to S48.

【0047】S48は、キーワード4から分類番号を取
り出して入力文に付加する。例えば右側に記載したよう
に「分類番号:100」を入力文「サッカボール」に付
加する。
In S48, the classification number is extracted from the keyword 4 and added to the input sentence. For example, as described on the right side, "classification number: 100" is added to the input sentence "sucker ball".

【0048】S49は、結果表示する。例えば上述した
入力文「サッカボール」の場合、図10ののキーワード
テーブル4とマッチングを行い、ここでは、分類番号4
0のキーワード「サッカー」および分類番号100のキ
ーワード「サッカーボール」の2つに一致したが、キー
ワードの文字数が長い「サッカーボール」の分類番号と
決定し、結果を ・分類番号:100 ・キーワード:「サッカーボール」 ・入力文:「サッカーボール」 と表示する。
In step S49, the result is displayed. For example, in the case of the input sentence “sucker ball” described above, matching is performed with the keyword table 4 of FIG.
It was determined that the classification number of "soccer ball", which has a long number of characters in the keyword, matches with the keyword "soccer" of 0 and the keyword "soccer ball" of classification number 100, but the result is ・ Category number: 100 ・ Keyword: "Soccer ball" ・ Input sentence: "Soccer ball" is displayed.

【0049】以上によって、ユーザが文を入力して分類
を指示したことに対応して、入力文中で図10のキーワ
ードテーブル4のキーワードと一致するものが含まれる
かのマッチングを全て行い、一致したキーワードのうち
の一番長いキーワードの分類番号と決定して入力文に対
応づけて表示する。これらにより、キーワードテーブル
4に予めキーワードの付加される文字列によって異なる
ものとして分類される文字列についてそれぞれのキーワ
ードを登録して一番長いキーワードの分類番号に分類す
ることが可能となる。
As described above, in response to the user inputting a sentence and instructing the classification, all matching is performed to determine whether or not the input sentence includes a keyword that matches the keyword in the keyword table 4 in FIG. The category number of the longest keyword among the keywords is determined and displayed in association with the input sentence. As a result, it becomes possible to register each keyword with respect to the character string that is classified as different depending on the character string to which the keyword is added in advance in the keyword table 4, and classify into the longest keyword classification number.

【0050】図10、本発明のキーワードテーブル例
(その4)を示す。これは、図9のフローチャートで使
用するキーワードテーブル4の例であって、分類番号に
対応づけてキーワードを登録し、入力文がキーワードに
一致したのを全て取り出し、そのうちから一番キーワー
ドの長いものの分類番号に分類することが可能となる。
例えば図示の 分類番号 キーワード 40 サッカー 100 サッカーボール というように登録しておき、入力文の一部がこれらキー
ワードに一致したときに、一致したキーワードの最も長
いものの分類番号と決定する。
FIG. 10 shows an example (No. 4) of the keyword table of the present invention. This is an example of the keyword table 4 used in the flowchart of FIG. 9, in which the keywords are registered in association with the classification numbers, all the input sentences that match the keywords are extracted, and the one with the longest keyword is selected. It becomes possible to classify into classification numbers.
For example, the classification number keyword 40 soccer 100 soccer ball shown in the figure is registered, and when a part of the input sentence matches these keywords, it is determined as the classification number of the longest matching keyword.

【0051】次に、図11のフローチャート(その5)
に示す順序に従い、図12のキーワードテーブル4(そ
の5)を使用したときの図1の構成の動作を詳細に説明
する。
Next, the flowchart of FIG. 11 (part 5)
The operation of the configuration of FIG. 1 when the keyword table 4 (No. 5) of FIG. 12 is used will be described in detail in the order shown in FIG.

【0052】図11において、S51は、ユーザに対す
る入力要求する。S52は、S51の入力要求に対応し
て、ユーザが分類対象の文を入力する。例えば右側に記
載した下記の 「傷付く」 を入力する。
In FIG. 11, in S51, an input request is made to the user. In S52, the user inputs a sentence to be classified in response to the input request of S51. For example, enter the following "Scratch" on the right side.

【0053】S53は、終わりか判別する。YESの場
合には、キーワードテーブル4の全てのキーワードとの
マッチングを終わったので、終了する(END)。一
方、NOの場合には、S54に進む。
In step S53, it is determined whether or not the process has ended. In the case of YES, the matching with all the keywords in the keyword table 4 has been completed, so the process is ended (END). On the other hand, if NO, the process proceeds to S54.

【0054】S54は、入力文に全てのキーワードが含
まれるかのマッチングを行う。これは、例えば図12の
キーワードテーブル4中のキーワードの全てが入力文に
含まれるものがあるかのマッチングを行う。ここでは、
入力文「傷付く」は、分類番号2000に、キーワード
「傷」とキーワード「付く」の2つがあって全てが入力
文に含まれると判明する。
In step S54, matching is performed as to whether all keywords are included in the input sentence. This is performed by matching, for example, whether all of the keywords in the keyword table 4 of FIG. 12 are included in the input sentence. here,
It is found that the input sentence “scratch” includes two keywords “scratch” and keyword “scratch” in the classification number 2000, and all of them are included in the input sentence.

【0055】S55は、マッチして全て一致したものが
見つかったか判別する。YESの場合には、S56に進
む。NOの場合には、S53に戻る。S56は、キーワ
ードテーブル4の一致したキーワードに優先分類順が設
定されているか判別する。YESの場合には、S57に
進む。NOの場合には、優先分類順が設定されていなか
ったので、S60で一致したキーワードの分類番号に決
定し、S61に進む。
In step S55, it is determined whether or not a match has been found. If YES, the process proceeds to S56. If NO, the process returns to S53. A step S56 decides whether or not the priority classification order is set for the matched keywords in the keyword table 4. If YES, the process proceeds to S57. In the case of NO, since the priority classification order has not been set, the classification number of the matched keyword is determined in S60, and the process proceeds to S61.

【0056】S57は、優先分類順が終わりか判別す
る。YESの場合には、優先分類順が設定されていなか
ったので、S60でマッチングしたキーワードの分類番
号に決定し、S61に進む。一方、NOの場合には、S
58に進む。
In step S57, it is determined whether the priority classification order is over. In the case of YES, since the priority classification order has not been set, the classification number of the matched keyword is determined in S60, and the process proceeds to S61. On the other hand, if NO, S
Proceed to 58.

【0057】S58は、優先分類順に設定されている分
類番号を取り出し、この取り出した分類番号(優先分類
番号)のキーワードが入力文中にあるかマッチングす
る。YESの場合には、優先分類順の分類番号のキーワ
ードと一致したので、S59で一致した分類番号に決定
し、S61に進む。一方、NOの場合には、S57に戻
る。
In step S58, the classification numbers set in the priority classification order are extracted, and it is matched whether or not the keyword of the extracted classification number (priority classification number) is in the input sentence. In the case of YES, since it matches with the keyword of the classification number in the priority classification order, the matching classification number is determined in S59, and the process proceeds to S61. On the other hand, if NO, the process returns to S57.

【0058】S61は、キーワードテーブル4から分類
番号を取り出して入力文に付加する。例えば右側に記載
したように「分類番号:2000」を入力文「傷付く」
に付加する。
In step S61, the classification number is extracted from the keyword table 4 and added to the input sentence. For example, as shown on the right side, enter "Classification number: 2000" in the sentence "Scratch"
Added to.

【0059】S62は、結果表示する。例えば上述した
入力文「傷付く」の場合、図12のキーワードテーブル
4とマッチングを行い、ここでは、分類番号2000の
キーワード「傷付く」と一致したので、優先分類順「2
100」、「2200」を順次取り出して、その分類番
号のキーワード「傷」、「付きやすい」と、キーワード
「傷」、「付きにくい」と入力文とをマッチングし、こ
こでは、分類番号2100、2200が一致しなかった
ので、分類番号2000と決定し、結果を ・分類番号:2000 ・キーワード:「傷」、「付」 ・入力文:「傷付く」 と表示する。
In step S62, the result is displayed. For example, in the case of the above-mentioned input sentence “scratch”, it is matched with the keyword table 4 of FIG. 12, and here, since it matches with the keyword “scratch” of the classification number 2000, the priority sorting order is “2.
100 "and" 2200 "are sequentially taken out, and the keywords" scratch "and" easy to attach "of the classification number are matched with the keywords" scratch "and" hard to attach "and the input sentence, and here, the classification number 2100, Since the 2200s do not match, the classification number is determined to be 2000, and the result is displayed as: classification number: 2000-keyword: "scratch", "attach" -input sentence: "scratch"

【0060】以上によって、ユーザが文を入力して分類
を指示したことに対応して、入力文中で図11のキーワ
ードテーブル4のキーワードと一致するかマッチングを
行い、一致したキーワードの分類優先順の分類番号のキ
ーワードと優先的にマッチングを行い、一致したときの
分類番号を優先的に入力文に対応づけて表示し、一方、
一致しないときは元の一致した分類番号を入力文に対応
づけて表示する。これらにより、キーワードテーブル4
に予めキーワードおよび分類優先順の分類番号を設定し
ておくことにより、入力文に含まれる文字について優先
順に分類番号を決定することが可能となる。
As described above, in response to the user inputting a sentence and instructing the classification, matching is performed for the keyword in the keyword table 4 in FIG. 11 in the input sentence, and matching is performed, and the matching priority of the matching keyword is determined. The keyword of the classification number is preferentially matched, and the classification number when it matches is preferentially displayed in correspondence with the input sentence.
If they do not match, the original matching classification number is displayed in association with the input sentence. From these, the keyword table 4
By previously setting the keyword and the classification number in the classification priority order, it becomes possible to determine the classification number in the priority order for the characters included in the input sentence.

【0061】図12は、本発明のキーワードテーブル例
(その5)を示す。これは、図11のフローチャートに
使用するキーワードテーブル4の例であって、分類番号
に対応づけてキーワードおよび分類優先順を登録し、入
力文がキーワードに一致したときに、優先して分類を行
う分類番号(キーワード)を任意に指定することが可能
となる。
FIG. 12 shows an example (No. 5) of the keyword table of the present invention. This is an example of the keyword table 4 used in the flowchart of FIG. 11, in which the keywords and the classification priority order are registered in association with the classification numbers, and when the input sentence matches the keywords, the classification is performed with priority. It is possible to arbitrarily specify the classification number (keyword).

【0062】次に、図13のフローチャート(その6)
に示す順序に従い、図14のキーワードテーブル4(そ
の6)を使用したときの図1の構成の動作を詳細に説明
する。
Next, the flowchart of FIG. 13 (No. 6)
The operation of the configuration of FIG. 1 when the keyword table 4 (part 6) of FIG. 14 is used will be described in detail in the order shown in FIG.

【0063】図13において、S71は、ユーザに対す
る入力要求する。S72は、S71の入力要求に対応し
て、ユーザが分類対象の文を入力する。例えば右側に記
載した下記の 「男女兼用」 を入力する。
In FIG. 13, in step S71, an input request is made to the user. In S72, the user inputs a sentence to be classified in response to the input request of S71. For example, enter the following "unisex" on the right side.

【0064】S73は、入力文の全てのキーワードが含
まれるかのマッチングをキーワードテーブルの最後まで
行う。これは、例えば図14のキーワードテーブル4の
分類番号に対応づけて予め登録されているキーワード
1、2、3などの全てが入力文に含まれるかのマッチン
グを、当該キーワードテーブル4の最後まで行う。
In step S73, the matching of all the keywords of the input sentence is performed until the end of the keyword table. This is performed until the end of the keyword table 4 by, for example, matching whether all the keywords 1, 2, 3, etc., which are registered in advance in association with the classification numbers of the keyword table 4 in FIG. .

【0065】S74は、入力文に全てのキーワードを含
むものがマッチングして見つかったか判別する。YES
の場合には、キーワードテーブル4の全てのキーワード
とのマッチングを終わったので、終了する(END)。
一方、NOの場合には、S75に進む。
In step S74, it is determined whether or not the input sentence including all the keywords is found by matching. Yes
In the case of, the matching with all the keywords in the keyword table 4 is completed, and the process is ended (END).
On the other hand, if NO, the process proceeds to S75.

【0066】S75は、見つかったのが1つか判別す
る。YESの場合には、S76でその分類番号に決定
し、S78に進む。一方、NOの場合には、複数の一致
する分類番号のものが見つかったので、S77でキーワ
ード数の一番多い分類番号に決定し、S78に進む。
In S75, it is determined whether or not one has been found. If YES, the classification number is determined in S76, and the process proceeds to S78. On the other hand, in the case of NO, since a plurality of matching classification numbers are found, the classification number having the largest number of keywords is determined in S77, and the process proceeds to S78.

【0067】S78は、キーワードテーブル4から分類
番号を取り出して入力文に付加する。例えば右側に記載
したように「分類番号:3000」を入力文「男女兼
用」に付加する。
In step S78, the classification number is extracted from the keyword table 4 and added to the input sentence. For example, as described on the right side, "classification number: 3000" is added to the input sentence "unisex".

【0068】S79は、結果表示する。例えば上述した
入力文「男女兼用」の場合、図14のキーワードテーブ
ル4とマッチングを行い、ここでは、分類番号200の
キーワード1「男」、キーワード2「女」、および分類
番号3000のキーワード1「男」、キーワード2
「女」、キーワード3「兼用」の2つに一致したので、
キーワード数の一番多い分類番号3000と決定し、結
果を ・分類番号:3000 ・キーワード:「男」、「女」、「兼用」 ・入力文:「男女兼用」 と表示する。
In step S79, the result is displayed. For example, in the case of the above-mentioned input sentence "unisex", matching is performed with the keyword table 4 of FIG. 14, and here, the keyword 1 "male" of the classification number 200, the keyword 2 "female", and the keyword 1 "of the classification number 3000" are used. Man ", keyword 2
Since it matched two of "woman" and keyword 3 "combined use",
The classification number 3000 with the largest number of keywords is determined, and the result is displayed as: -Classification number: 3000-Keywords: "male", "female", "combined" -Input sentence: "unisex"

【0069】以上によって、ユーザが文を入力して分類
を指示したことに対応して、入力文中で図14のキーワ
ードテーブル4の複数のキーワードと一致するかマッチ
ングを行い、一致した分類番号が複数あるときは一致し
た分類番号のキーワード文字数の多い方の分類番号と決
定し、決定した分類番号およびキーワードに対応づけて
入力文を表示する。これらにより、キーワードテーブル
4に予め複数のキーワードを設定しておくことにより、
入力文に含まれる複数に分割しうる文字列について個々
および全体の文字列の任意の組み合わせについても分類
番号を決定することが可能となる。
As described above, in response to the user inputting a sentence and instructing classification, matching is performed for a plurality of keywords in the keyword table 4 of FIG. In some cases, the matching classification number is determined to be the classification number having the larger number of keyword characters, and the input sentence is displayed in association with the determined classification number and keyword. With these, by setting a plurality of keywords in the keyword table 4 in advance,
It is possible to determine the classification number for any combination of individual and entire character strings that can be divided into a plurality of character strings included in the input sentence.

【0070】図13は、本発明のキーワードテーブル例
(その6)を示す。これは、図13のフローチャートで
使用するキーワードテーブル4の例であって、分類番号
に対応づけて複数のキーワードを登録し、入力文が複数
のキーワードに一致したときにキーワード数の一番長い
ものの分類番号に分類することが可能となる。
FIG. 13 shows an example (6) of the keyword table of the present invention. This is an example of the keyword table 4 used in the flowchart of FIG. 13, in which a plurality of keywords are registered in association with classification numbers, and when the input sentence matches a plurality of keywords, the number of keywords is the longest. It becomes possible to classify into classification numbers.

【0071】[0071]

【発明の効果】以上説明したように、本発明によれば、
分類番号に対応づけて1つあるいは複数のキーワード、
および優先分類順を予め登録したキーワードテーブル4
を準備し、これらを順次探索して一致したキーワードの
分類番号に分類する構成を採用しているため、1つある
いは複数のキーワードの組み合わせで分類してキーワー
ド数を減らして細かい分類を実現したり、更に優先分類
順をキーワードテーブル4に設定して関連する優先する
キーワードから先に一致させたより望ましい分類を行う
ことができる。これらにより、 (1) 例えば「早い AND 自動車」というキーワ
ードの組み合わせをキーワードテーブル4に登録してお
き、入力文として、 「早い自動車」 「早く走る自動車」 「早く走っている自動車」 を分類先の「早い自動車」にそれぞれ分類することが可
能となる。
As described above, according to the present invention,
One or more keywords associated with the classification number,
And a keyword table 4 in which priority classification order is registered in advance
Is prepared, and these are sequentially searched to be classified into matching keyword classification numbers. Therefore, it is possible to classify with one or a combination of a plurality of keywords to reduce the number of keywords and realize fine classification. Further, by setting the priority classification order in the keyword table 4, it is possible to perform a more desirable classification in which the related priority keywords are matched first. With these, (1) For example, the keyword combination “fast AND car” is registered in the keyword table 4 and “fast car”, “fast running car”, and “fast running car” are classified as input sentences. It becomes possible to classify each into a "fast car".

【0072】(2) また、 「遅 AND 自動車」 「早 AND ない AND 自動車」 という2つあるいは3つのキーワードの組み合わせをキ
ーワードテーブル4に登録しておき、両者に関連する入
力文について、いずれも「遅い自動車」に分類すること
ができる。これらにより、キーワード数を減らしても細
かな分類を行うことが可能となった。
(2) In addition, a combination of two or three keywords "slow AND car" and "fast AND not AND car" is registered in the keyword table 4, and the input sentences related to both are " It can be classified as a "slow car". As a result, it has become possible to perform fine classification even if the number of keywords is reduced.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の原理ブロック図である。FIG. 1 is a principle block diagram of the present invention.

【図2】本発明の動作説明フローチャート(その1)で
ある。
FIG. 2 is a flowchart (No. 1) for explaining the operation of the present invention.

【図3】本発明のキーワードテーブル例(その1)であ
る。
FIG. 3 is an example (1) of a keyword table of the present invention.

【図4】本発明の文格納テーブル例である。FIG. 4 is an example of a sentence storage table of the present invention.

【図5】本発明の動作説明フローチャート(その2)で
ある。
FIG. 5 is a flowchart (No. 2) for explaining the operation of the present invention.

【図6】本発明のキーワードテーブル例(その2)であ
る。
FIG. 6 is an example (No. 2) of a keyword table of the present invention.

【図7】本発明の動作説明フローチャート(その3)で
ある。
FIG. 7 is a flowchart (No. 3) for explaining the operation of the present invention.

【図8】本発明のキーワードテーブル例(その3)であ
る。
FIG. 8 is a keyword table example (3) of the present invention.

【図9】本発明の動作説明フローチャート(その4)で
ある。
FIG. 9 is a flowchart (No. 4) for explaining the operation of the present invention.

【図10】本発明のキーワードテーブル例(その4)で
ある。
FIG. 10 is an example (4) of the keyword table of the present invention.

【図11】本発明の動作説明フローチャート(その5)
である。
FIG. 11 is a flowchart for explaining the operation of the present invention (No. 5).
Is.

【図12】本発明のキーワードテーブル例(その5)で
ある。
FIG. 12 is a keyword table example (5) of the present invention.

【図13】本発明の動作説明フローチャート(その6)
である。
FIG. 13 is a flowchart for explaining the operation of the present invention (No. 6).
Is.

【図14】本発明のキーワードテーブル例(その6)で
ある。
FIG. 14 is an example (6) of the keyword table of the present invention.

【符号の説明】[Explanation of symbols]

1:入力装置 2:入力文字管理手段 3:キーワードマッチング手段 4:キーワードテーブル 5:分類結果格納手段 6:文格納テーブル 1: Input device 2: Input character management means 3: Keyword matching means 4: Keyword table 5: Classification result storage means 6: Sentence storage table

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】分類番号に対応づけてキーワードを登録し
たキーワードテーブル(4)と、 入力された文字列について、上記キーワードテーブル
(4)のキーワードと一部あるいは全部が一致したとき
の分類番号を取り出すキーワードマッチング手段(3)
とを備え、 入力された文字列をこの取り出した分類番号に分類する
ことを特徴とする文分類装置。
1. A keyword table (4) in which a keyword is registered in association with a classification number, and a classification number when a part or all of the inputted character string matches a keyword in the keyword table (4). Keyword matching means to retrieve (3)
And a sentence classification device that classifies the input character string into the extracted classification number.
【請求項2】分類番号に対応づけて複数のキーワードを
登録したキーワードテーブル(4)と、 入力された文字列について、上記キーワードテーブル
(4)の複数のキーワードの全てと一部あるいは全部が
一致したときの分類番号を取り出すキーワードマッチン
グ手段(3)とを備え、 入力された文字列をこの取り出した分類番号に分類する
ことを特徴とする文分類装置。
2. A keyword table (4) in which a plurality of keywords are registered in association with classification numbers, and an input character string partially or wholly matches all of the plurality of keywords in the keyword table (4). And a keyword matching means (3) for extracting a classification number at that time, and classifying an input character string into the extracted classification number.
【請求項3】分類番号に対応づけて1つのキーワードお
よび優先分類順を登録したキーワードテーブル(4)
と、 入力された文字列について、上記キーワードテーブル
(4)の1つのキーワードと一部あるいは全部が一致し
たときの上記優先分類順に設定されている分類番号のキ
ーワードと一部あるいは全部が一致したときに当該分類
番号を取り出し、一方、一致しなかったときに1つのキ
ーワードと一致した分類番号を取り出すキーワードマッ
チング手段(3)とを備え、 入力された文字列をこの取り出した分類番号に分類する
ことを特徴とする文分類装置。
3. A keyword table (4) in which one keyword and priority classification order are registered in association with classification numbers.
And when a part or all of the inputted character string matches a part or all of one keyword in the keyword table (4), a part or all of the entered character string matches the keyword of the classification number set in the above priority classification order. And a keyword matching means (3) for extracting the classification number corresponding to one keyword when they do not match, and classifying the input character string into the extracted classification number. A sentence classification device characterized by.
【請求項4】分類番号に対応づけて複数のキーワードお
よび優先分類順を登録したキーワードテーブル(4)
と、 入力された文字文について、上記キーワードテーブル
(4)の複数のキーワードと一部あるいは全部が一致し
たときの上記優先分類順に設定されている分類番号のキ
ーワードと一部あるいは全部が一致したときに当該分類
番号を取り出し、一方、一致しなかったときに複数のキ
ーワードと一致した分類番号を取り出すキーワードマッ
チング手段(3)とを備え、 入力された文字列をこの取り出した分類番号に分類する
ことを特徴とする文分類装置。
4. A keyword table (4) in which a plurality of keywords and priority classification orders are registered in association with classification numbers.
When a part or all of the input character sentence matches a part or all of a plurality of keywords in the keyword table (4), a part or all of the input character string matches a keyword of a classification number set in the priority classification order. And a keyword matching means (3) for extracting a classification number that matches a plurality of keywords when they do not match, and classifies the input character string into the extracted classification number. A sentence classification device characterized by.
【請求項5】上記入力された文字列について、1つある
いは複数のキーワードと一部あるいは全部が一致したと
きに、一致したキーワードの数が多い方、キーワードの
数が同一のときはキーワードの文字数の多い方、キーワ
ードの文字数が同一のときは最長のキーワードの方、最
長のキーワードが同一のときはキーワードの総文字数の
多い方に分類することを特徴とする請求項1から請求項
4に記載の文分類装置。
5. When the input character string partially or wholly matches one or more keywords, the number of matching keywords is larger, and the number of keywords is the same when the number of keywords is the same. 5. The method according to claim 1, wherein when the number of characters in the keyword is the same, the longest keyword is classified into the longest keyword, and when the keyword in the longest is the same, the total number of characters of the keyword is classified into the largest. Sentence classification device.
【請求項6】上記キーワードとして、仮名、漢字、ファ
ルファベット、数字が混在する文字列としたことを特徴
とする請求項1から請求項5に記載の文分類装置。
6. The sentence classification device according to claim 1, wherein the keyword is a character string in which kana, kanji, falfabet, and numbers are mixed.
JP6048457A 1994-03-18 1994-03-18 Statement sorter Pending JPH07262200A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6048457A JPH07262200A (en) 1994-03-18 1994-03-18 Statement sorter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6048457A JPH07262200A (en) 1994-03-18 1994-03-18 Statement sorter

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2002371834A Division JP3517665B2 (en) 2002-12-24 2002-12-24 Sentence classification device
JP2003353595A Division JP3505565B2 (en) 2003-10-14 2003-10-14 Sentence classification device

Publications (1)

Publication Number Publication Date
JPH07262200A true JPH07262200A (en) 1995-10-13

Family

ID=12803894

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6048457A Pending JPH07262200A (en) 1994-03-18 1994-03-18 Statement sorter

Country Status (1)

Country Link
JP (1) JPH07262200A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11328217A (en) * 1998-05-11 1999-11-30 Toshio Yamazaki Information collection and retrieval device
JPH11328223A (en) * 1998-05-19 1999-11-30 Toshio Yamazaki Information collection and retrieval device
JP2001034637A (en) * 1999-07-27 2001-02-09 Zenrin Co Ltd Device and method for sorting type of business of building and display device for map of building sorted by type of business
JP2003529844A (en) * 2000-03-31 2003-10-07 ユナイテッド ビデオ プロパティーズ, インコーポレイテッド System and method for advertising linked by metadata
JP2005173977A (en) * 2003-12-11 2005-06-30 Sony Corp Address storage device
US6985908B2 (en) 2001-11-01 2006-01-10 Matsushita Electric Industrial Co., Ltd. Text classification apparatus
JP2008310471A (en) * 2007-06-13 2008-12-25 Toshiya Sehata Convergence type database construction system and construction method
US8869204B2 (en) 1996-05-03 2014-10-21 Starsight Telecast, Inc. Method and system for displaying advertisements in an electronic program guide
US8918807B2 (en) 1997-07-21 2014-12-23 Gemstar Development Corporation System and method for modifying advertisement responsive to EPG information
US9015750B2 (en) 1998-05-15 2015-04-21 Rovi Guides, Inc. Interactive television program guide system for determining user values for demographic categories
US9075861B2 (en) 2006-03-06 2015-07-07 Veveo, Inc. Methods and systems for segmenting relative user preferences into fine-grain and coarse-grain collections
US9166714B2 (en) 2009-09-11 2015-10-20 Veveo, Inc. Method of and system for presenting enriched video viewing analytics
US9319735B2 (en) 1995-06-07 2016-04-19 Rovi Guides, Inc. Electronic television program guide schedule system and method with data feed access
US9326025B2 (en) 2007-03-09 2016-04-26 Rovi Technologies Corporation Media content search results ranked by popularity
US9426509B2 (en) 1998-08-21 2016-08-23 Rovi Guides, Inc. Client-server electronic program guide
US9736524B2 (en) 2011-01-06 2017-08-15 Veveo, Inc. Methods of and systems for content search based on environment sampling
US9749693B2 (en) 2006-03-24 2017-08-29 Rovi Guides, Inc. Interactive media guidance application with intelligent navigation and display features

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9319735B2 (en) 1995-06-07 2016-04-19 Rovi Guides, Inc. Electronic television program guide schedule system and method with data feed access
US8869204B2 (en) 1996-05-03 2014-10-21 Starsight Telecast, Inc. Method and system for displaying advertisements in an electronic program guide
US9015749B2 (en) 1997-07-21 2015-04-21 Rovi Guides, Inc. System and method for modifying advertisement responsive to EPG information
US9191722B2 (en) 1997-07-21 2015-11-17 Rovi Guides, Inc. System and method for modifying advertisement responsive to EPG information
US8918807B2 (en) 1997-07-21 2014-12-23 Gemstar Development Corporation System and method for modifying advertisement responsive to EPG information
JPH11328217A (en) * 1998-05-11 1999-11-30 Toshio Yamazaki Information collection and retrieval device
US9635406B2 (en) 1998-05-15 2017-04-25 Rovi Guides, Inc. Interactive television program guide system for determining user values for demographic categories
US9015750B2 (en) 1998-05-15 2015-04-21 Rovi Guides, Inc. Interactive television program guide system for determining user values for demographic categories
JPH11328223A (en) * 1998-05-19 1999-11-30 Toshio Yamazaki Information collection and retrieval device
US9426509B2 (en) 1998-08-21 2016-08-23 Rovi Guides, Inc. Client-server electronic program guide
JP2001034637A (en) * 1999-07-27 2001-02-09 Zenrin Co Ltd Device and method for sorting type of business of building and display device for map of building sorted by type of business
US10015562B2 (en) 2000-03-31 2018-07-03 Rovi Guides, Inc. System and method for metadata-linked advertisements
US8863170B2 (en) 2000-03-31 2014-10-14 United Video Properties, Inc. System and method for metadata-linked advertisements
JP2003529844A (en) * 2000-03-31 2003-10-07 ユナイテッド ビデオ プロパティーズ, インコーポレイテッド System and method for advertising linked by metadata
US6985908B2 (en) 2001-11-01 2006-01-10 Matsushita Electric Industrial Co., Ltd. Text classification apparatus
JP2005173977A (en) * 2003-12-11 2005-06-30 Sony Corp Address storage device
US9075861B2 (en) 2006-03-06 2015-07-07 Veveo, Inc. Methods and systems for segmenting relative user preferences into fine-grain and coarse-grain collections
US9092503B2 (en) 2006-03-06 2015-07-28 Veveo, Inc. Methods and systems for selecting and presenting content based on dynamically identifying microgenres associated with the content
US9128987B2 (en) 2006-03-06 2015-09-08 Veveo, Inc. Methods and systems for selecting and presenting content based on a comparison of preference signatures from multiple users
US10984037B2 (en) 2006-03-06 2021-04-20 Veveo, Inc. Methods and systems for selecting and presenting content on a first system based on user preferences learned on a second system
US9749693B2 (en) 2006-03-24 2017-08-29 Rovi Guides, Inc. Interactive media guidance application with intelligent navigation and display features
US9326025B2 (en) 2007-03-09 2016-04-26 Rovi Technologies Corporation Media content search results ranked by popularity
US10694256B2 (en) 2007-03-09 2020-06-23 Rovi Technologies Corporation Media content search results ranked by popularity
JP2008310471A (en) * 2007-06-13 2008-12-25 Toshiya Sehata Convergence type database construction system and construction method
US9166714B2 (en) 2009-09-11 2015-10-20 Veveo, Inc. Method of and system for presenting enriched video viewing analytics
US9736524B2 (en) 2011-01-06 2017-08-15 Veveo, Inc. Methods of and systems for content search based on environment sampling

Similar Documents

Publication Publication Date Title
JPH07262200A (en) Statement sorter
US5297027A (en) Method of and apparatus for promoting the understanding of a text by using an abstract of that text
US5544049A (en) Method for performing a search of a plurality of documents for similarity to a plurality of query words
CN106528599B (en) A kind of character string Fast Fuzzy matching algorithm in magnanimity audio data
US6993517B2 (en) Information retrieval system for documents
US7257530B2 (en) Method and system of knowledge based search engine using text mining
US5523945A (en) Related information presentation method in document processing system
US6496820B1 (en) Method and search method for structured documents
US6957213B1 (en) Method of utilizing implicit references to answer a query
US5761666A (en) Document retrieval system
JP2008529138A (en) Information retrieval system based on multiple indexes
AU2005203240A1 (en) Phrase identification in an information retrieval system
TW200805095A (en) Data product search using related concepts
JP2000357170A (en) Device that performs information retrieval by using reason of reference to document
JP2005038395A (en) Database retrieval device
JP3527540B2 (en) Information retrieval device
JP3612769B2 (en) Information search apparatus and information search method
Gong et al. Syllable alignment: A novel model for phonetic string search
JPH064584A (en) Text retriever
JP3517665B2 (en) Sentence classification device
JPH09319767A (en) Synonym dictionary registering method
JP3505565B2 (en) Sentence classification device
JP2000200279A (en) Information retrieving device
JPH10124524A (en) Device for retrieving document and method therefor
JPH0793345A (en) Document retrieval device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040406