JP2000020537A - Text retrieving device and computer-readable recording medium having recorded text retrieving program thereon - Google Patents

Text retrieving device and computer-readable recording medium having recorded text retrieving program thereon

Info

Publication number
JP2000020537A
JP2000020537A JP10185934A JP18593498A JP2000020537A JP 2000020537 A JP2000020537 A JP 2000020537A JP 10185934 A JP10185934 A JP 10185934A JP 18593498 A JP18593498 A JP 18593498A JP 2000020537 A JP2000020537 A JP 2000020537A
Authority
JP
Japan
Prior art keywords
keyword
search
function
word
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10185934A
Other languages
Japanese (ja)
Other versions
JP3178421B2 (en
Inventor
Yoshimi Takemoto
義美 竹元
Hiroshi Yamada
洋志 山田
Shunichi Fukushima
俊一 福島
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP18593498A priority Critical patent/JP3178421B2/en
Publication of JP2000020537A publication Critical patent/JP2000020537A/en
Application granted granted Critical
Publication of JP3178421B2 publication Critical patent/JP3178421B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To execute accurate text retrieval and keyword development to be inputted to the text retrieval. SOLUTION: The text retrieving device is provided with a data base(DB) retrieving condition input means 21 for specifying a table format DB and inputting a DB retrieving expression describing a condition for retrieving a required line from the table format DB, an acquired attribute defining means 25 for defining a column item having a keyword to be acquired as a value in the DB, a DB retrieving statement preparing means 22 for selecting a line satisfying the DB retrieving expression and preparing a DB retrieving statement for acquiring the keyword to be the value of the column item defined by the means 25 from the selected line, a development word extraction means 25 for executing the DB retrieving statement and acquiring the keyword to be the value of the column item defined by the means 25, and a keyword expression preparing means 24 for preparing a keyword expression by combining acquired keywords.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、精度の良いテキス
ト検索とその入力となるキーワード展開が行えるテキス
ト検索装置及びこのテキスト検索装置をコンピュータで
実現するためのテキスト検索プログラムを記録したコン
ピュータ読み取り可能な記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a text search apparatus capable of performing a text search with high precision and expanding a keyword as an input thereof, and a computer readable program storing a text search program for realizing the text search apparatus by a computer. It relates to a recording medium.

【0002】[0002]

【従来の技術】従来、この種のテキスト検索装置におい
て、辞書やシソーラスなど語彙知識情報を用いて、入力
されたキーワードと同義・異表記・類義・階層関係など
にあるキーワードを検索のキーワードとして追加するこ
とで、検索の高精度化を図る技術がある。この様にキー
ワードを追加することを一般に「キーワード展開する」
と言う。この種の技術の特許出願例としては、特開昭6
2−11932号公報、特開昭62−248032号公
報、特開平4−10062号公報などがある。
2. Description of the Related Art Heretofore, in this type of text search apparatus, using vocabulary knowledge information such as a dictionary or a thesaurus, a keyword having a synonym, a different notation, a synonym, or a hierarchical relationship with an input keyword is used as a search keyword. There is a technique for improving the accuracy of the search by adding the information. Adding keywords in this way is generally "expanding keywords"
Say An example of a patent application of this type of technology is disclosed in
Japanese Patent Application Laid-Open No. 2-11932, Japanese Patent Application Laid-Open No. 62-248032, Japanese Patent Application Laid-Open No. 4-10062, and the like.

【0003】この内の特開平4−10062号公報に
は、入力されたキーワードの展開のいくつかの方法が記
載されている。一つは、キーワードを下位語に展開する
方法である。例えば、「大学」というキーワードからそ
の下位語である「東大」「阪大」へ展開し、「“大学”
OR“東大”OR“阪大”」のような検索式を作成す
る。もう一つは、キーワードを上位語(概念)に展開
し、さらにその概念の下位語に展開する方法である。例
えばキーワード「東大」からシソーラス上で上位語の
「大学」へ展開、さらにその下位語の「阪大」へ展開す
る。他に、階層の深さがn段目より下位レベルにある語
彙のみへの展開またはn段目までのすべての下位語彙を
展開抽出する方法などが示されている。
[0003] Japanese Patent Application Laid-Open No. Hei 4-10062 describes several methods for expanding an inputted keyword. One is to expand keywords into lower words. For example, expanding from the keyword “university” to its lower-level words “University of Tokyo” and “Osaka University”
A search formula such as OR “Todai” OR “Osaka University” is created. The other is a method of expanding a keyword into a broader word (concept), and further expanding it into lower words of the concept. For example, the keyword "Todai" is expanded to the upper term "university" on the thesaurus, and further expanded to the lower term "Osaka University". In addition, a method of expanding only vocabulary whose hierarchy depth is lower than the n-th stage or expanding and extracting all lower vocabulary up to the n-th stage is shown.

【0004】例えば、「パソコン」に関する文書を検索
したいとき、「パソコン」というキーワードを含まなく
ても、その具体的名称である製品名・型名などを含む記
事も検索したい場合がある。キーワード展開の技術を利
用すると、製品名・型名などの固有名詞を含むシソーラ
スを用いて「パソコン」というキーワードを、下位語の
「ノートパソコン」ないし製品名・型名などにまで展開
して検索を実行することにより、検索洩れを少なくする
ことができる。
For example, when it is desired to search for a document relating to "PC", there is a case where it is desired to search for an article including a specific name such as a product name and a model name without including the keyword "PC". Using the keyword expansion technology, the keyword "PC" can be expanded to the lower-level word "notebook PC" or the product name / model name using a thesaurus containing proper nouns such as product names and model names, and searched. , It is possible to reduce search omissions.

【0005】[0005]

【発明が解決しようとする課題】このようなシソーラス
を用いたキーワード展開を行う従来のテキスト検索装置
の第1の問題点として、シソーラスの構築に人手がかか
るという点がある。というのは、例えば自動車に関する
検索要求の場合には、メーカー別(「A社製」「B社
製」など)、目的別(「ファミリーカー」「スポーツカ
ー」など)、形状別(「セダン」「クーペ」「オープ
ン」など)、大きさ別(「小型車」「大型車」など)と
いった多様な視点での検索要求が想定され、それぞれの
視点についてシソーラス(木構造)で分類が必要であ
る。これらの分類を示す語は互いに明確な上位・下位関
係が必ずしもなく、複数のシソーラスを構築しなければ
ならず、人手がかかる、管理が複雑になるという問題が
ある。この点で特開平4−10062号公報に記載の技
術では、シソーラスを明に利用せず、語彙辞書と語彙辞
書中の上位・下位関係を示す関係リストを用い、語彙辞
書と関係リストを用いてシソーラスのような深い階層関
係も表現できることが記載されている。しかし、このよ
うな語彙辞書と関係リストを管理するのは非常に手間が
かかり、作成の手間はシソーラスと同程度であり、結局
上記第1の問題点を解決し得ない。
As a first problem of the conventional text search apparatus that performs keyword development using such a thesaurus, there is a problem that construction of the thesaurus requires labor. This is because, for example, in the case of a search request related to automobiles, by manufacturer (eg, “A company” or “B company”), by purpose (“family car”, “sports car”, etc.), or by shape (“sedan”) Search requests from various viewpoints such as “coupe” and “open”) and sizes (“small car” and “large car”) are assumed, and each viewpoint needs to be classified by a thesaurus (tree structure). The words indicating these classifications do not necessarily have a clear upper / lower relationship with each other, and a plurality of thesauruses must be constructed, which requires labor and complicates management. In this regard, the technology described in Japanese Patent Application Laid-Open No. 4-10062 does not explicitly use a thesaurus, but uses a vocabulary dictionary and a relation list indicating higher / lower relationships in the vocabulary dictionary, and uses a vocabulary dictionary and a relation list. It describes that a deep hierarchical relationship like a thesaurus can be expressed. However, managing such vocabulary dictionaries and relation lists is very time-consuming, and the time and effort required to create them is almost the same as that of a thesaurus. As a result, the first problem cannot be solved.

【0006】次に、従来技術の第2の問題点として、シ
ソーラスで数値情報が扱いにくいことが挙げられる。自
動車に関する検索要求としては、価格や排気量、サイズ
などの数値条件も想定される。例えば「200万円以
下」「2000cc以上」など数値条件が必要だが、数
値情報はシソーラスの語としては扱いにくい。数値条件
を指定できるテキスト検索方式としては、“テキストの
構造化に基づく検索システム”(岸本・他、情報処理学
会論文誌Vol.35、No.5、908〜916頁、
1994年)に記載されているように、属性辞書を用い
る方法がある。クエリおよび辞書中の数値文字列を数値
に変換して、単位の統一処理(「5000g」=「5k
g」など)を施して、数値としての比較を行っている。
シソーラス上の語と属性辞書上の情報とはIDで関係を
とる。しかし、やはり複数の辞書を持つことになり、メ
ンテナンス上の問題があると言える。
A second problem of the prior art is that it is difficult to handle numerical information in a thesaurus. Numerical conditions, such as price, displacement, and size, are also assumed as search requests for automobiles. For example, numerical conditions such as "2,000,000 yen or less" and "2000cc or more" are required, but numerical information is difficult to treat as a thesaurus. As a text search method capable of specifying numerical conditions, a “search system based on text structuring” (Kishimoto et al., IPSJ Transactions, Vol. 35, No. 5, pp. 908 to 916,
(1994), there is a method using an attribute dictionary. The numeric character strings in the query and the dictionary are converted to numerical values, and unit unification processing (“5000g” = “5k
g ”), and the comparison as a numerical value is performed.
Words on the thesaurus and information on the attribute dictionary are related by ID. However, it still has a plurality of dictionaries, and it can be said that there is a maintenance problem.

【0007】さらに、従来技術の第3の問題点として、
固有名詞(製品名・会社名)レベルのシソーラスがほと
んどないことが挙げられる。固有名詞を含めたシソーラ
スがなければインスタンスへの展開が十分行えない。
Further, as a third problem of the prior art,
There is almost no thesaurus at the proper noun (product name / company name) level. If there is no thesaurus including proper nouns, it is not possible to sufficiently expand it into instances.

【0008】本発明は、このような技従来技術の問題点
に鑑みなされたものであり、これらの問題点を解決する
ことを発明の目的とする。
[0008] The present invention has been made in view of the problems of the prior art, and an object of the present invention is to solve these problems.

【0009】[0009]

【課題を解決するための手段】本発明は、表形式データ
ベースを用いたクエリ展開を特徴とするテキスト検索装
置により上記問題点を解消する。表形式データベースと
は、例えば関係データベース(Relational
Database、RDB)のような表形式のデータベ
ースで、製品情報の管理などに広く利用されている。製
品情報とは、例えば自動車の場合、上記したように製品
名、型名、メーカー、形状・目的・大きさなどのタイ
プ、価格、排気量などの情報である。
SUMMARY OF THE INVENTION The present invention solves the above-mentioned problems by a text search apparatus characterized by query expansion using a tabular database. The tabular database is, for example, a relational database (Relational database).
This is a tabular database such as Database (RDB), and is widely used for managing product information. The product information, for example, in the case of an automobile, is information such as product name, model name, manufacturer, type such as shape, purpose, and size, price, and displacement as described above.

【0010】キーワードに適当なデータベースを参照す
ることにより、キーワードの製品名等への展開、数値条
件を考慮した展開を実現できる。また、複数の分類視点
を単一の表で管理できるため、木構造のシソーラスに比
べメンテナンスもしやすい。RDBはデータベース検索
に広く利用されているため、既存のものを流用できる可
能性も高い。本発明により、展開情報の管理が容易とな
り、かつ数値情報を含めた多様な検索要求に対応でき
る。
[0010] By referring to a database suitable for the keyword, the keyword can be developed into a product name or the like, and the development can be realized in consideration of numerical conditions. Also, since a plurality of classification viewpoints can be managed in a single table, maintenance is easier than in a thesaurus with a tree structure. Since the RDB is widely used for database search, there is a high possibility that an existing one can be used. ADVANTAGE OF THE INVENTION According to this invention, management of deployment information becomes easy and can respond to various search requests including numerical information.

【0011】このため、本発明は、以下のように構成さ
れる。
Therefore, the present invention is configured as follows.

【0012】まず、本発明の第1の発明にかかるテキス
ト検索装置は、行と列から成る表形式データベースの指
定と、テキストデータベースを検索するためのデータベ
ース検索式の入力が行えるDB検索条件入力手段と、前
記表形式データベースにおいて取得すべきキーワードを
値として持つ列項目を定義する取得属性定義手段と、前
記DB検索条件入力手段で指定された表形式データベー
スから前記データベース検索式を満たす行を選択し、そ
の行から前記取得属性定義手段で定義した列項目の値で
あるキーワードを取得するためのデータベース検索命令
文を作成するDB検索命令文作成手段と、前記データベ
ース検索命令文を実行して前記取得属性定義手段で定義
した列項目の値であるキーワードを取得する展開語抽出
手段と、前記展開語抽出手段で取得したキーワードを用
いて前記テキストデータベースを検索するキーワード式
を作成するキーワード式作成手段とを少なくとも有して
構成されることを特徴とする。
First, a text search apparatus according to a first aspect of the present invention is a DB search condition input means capable of designating a tabular database consisting of rows and columns and inputting a database search formula for searching a text database. And an acquisition attribute defining means for defining a column item having a keyword to be acquired as a value in the tabular database, and selecting a row satisfying the database search formula from the tabular database specified by the DB search condition inputting means. A DB search statement creating means for creating a database search statement for acquiring a keyword which is a value of a column item defined by the acquisition attribute defining means from the row; and executing the database search statement to acquire the keyword. Expansion word extraction means for acquiring a keyword which is a value of a column item defined by attribute definition means; Using the keywords obtained by the extraction means, characterized in that it is configured to have at least a keyword expression creating means for creating a keyword expression to search the text database.

【0013】また、この第1の発明において、前記DB
検索条件入力手段が、前記表形式データベースの一覧を
表示し、前記表形式データベースを選択するためのユー
ザインターフェースを提供するDBユーザ選択手段と、
前記DBユーザ選択手段で選択された表形式データベー
スから列項目を取得して一覧表示し、各列項目に対する
値を入力するためのユーザインターフェースを提供する
DB検索式入力手段とを有することも特徴としている。
Further, in the first invention, the DB
Search condition input means for displaying a list of the tabular database, DB user selecting means for providing a user interface for selecting the tabular database,
DB search expression input means for obtaining a column item from the tabular database selected by the DB user selection means, displaying the list item, and providing a user interface for inputting a value for each column item. I have.

【0014】次に、本発明の第2の発明にかかるテキス
ト検索装置は、テキスト検索のためのキーワードまたは
自然言語文をユーザが入力するテキスト検索条件入力手
段と、前記テキスト検索条件入力手段を介して入力され
たキーワードまたは自然言語文に対して、適切な行と列
から成る表形式データベースを選択し、その表形式デー
タベースから所望の行を検索するための条件を記述した
式であるデータベース検索式を作成するDB検索条件作
成手段と、前記表形式データベースにおいて取得すべき
キーワードを値として持つ列項目を定義する取得属性定
義手段と、前記DB検索条件作成手段で選択した表形式
データベースから、前記データベース検索式を満たす行
を選択し、その行から前記取得属性定義手段で定義した
列項目の値であるキーワードを取得するためのデータベ
ース検索命令文を作成するDB検索命令文作成手段と、
前記データベース検索命令文を実行して前記取得属性定
義手段で定義した列項目のキーワードを取得する展開語
抽出手段と、前記展開語抽出手段で取得したキーワード
を用いてテキスト検索のためのキーワード式を作成する
キーワード式作成手段とを少なくとも有して構成される
ことを特徴とする。
Next, a text search apparatus according to a second invention of the present invention includes a text search condition input means for inputting a keyword or a natural language sentence for text search by a user, and the text search condition input means. A database search formula that selects a tabular database consisting of appropriate rows and columns for a keyword or natural language sentence entered by the user and describes conditions for retrieving a desired row from the tabular database From the tabular database selected by the DB search condition creating unit, the acquisition attribute defining unit defining a column item having a keyword as a value to be acquired in the table format database, Select a row that satisfies the search expression, and from that row the values of the column items defined by the acquisition attribute definition means A DB search statement creating means for creating a database search statement to retrieve the keyword,
An expansion word extraction means for executing the database search statement to obtain the keyword of the column item defined by the acquisition attribute definition means, and a keyword expression for text search using the keyword obtained by the expansion word extraction means It is characterized by comprising at least a keyword expression creating means for creating.

【0015】また、この第2の発明において、前記DB
検索条件作成手段が、キーワードが属する表形式データ
ベースとキーワードの表形式データベースにおける列項
目とを示した情報を格納する被展開語テーブルと、前記
テキスト検索条件入力手段を介して入力されたキーワー
ドまたは前記テキスト検索条件入力手段で入力された自
然言語文から得られるキーワードと前記被展開語テーブ
ルを照合することによって、前記表形式データベースを
選択するDB自動選択手段と、前記DB自動選択手段で
データベース選択に用いたキーワードとそのキーワード
の表形式データベースにおける列項目とからデータベー
ス検索式を作成するDB検索式作成手段とを有して構成
されることも特徴としている。
In the second invention, the DB
A search condition creating means for storing an expanded word table storing information indicating a tabular database to which the keyword belongs and column items in the keyword tabular database; and a keyword input via the text search condition input means or DB automatic selecting means for selecting the tabular database by comparing a keyword obtained from a natural language sentence input by the text search condition input means with the developed word table, and database selection by the DB automatic selecting means. It is also characterized in that it comprises a DB search formula creating means for creating a database search formula from the used keywords and the column items in the tabular database of the keywords.

【0016】次に、本発明の第3の発明にかかるテキス
ト検索装置は、テキスト検索のためのキーワードまたは
自然言語文をユーザが入力するテキスト検索条件入力手
段と、前記テキスト検索条件入力手段を介して入力され
たキーワードまたは自然言語文に対して、適切な行と列
から成る表形式データベースを選択し、その表形式デー
タベースから所望の行を検索するための条件を記述した
式であるデータベース検索式を作成するDB検索条件作
成手段と、前記表形式データベースにおいて取得すべき
キーワードを値として持つ列項目を定義する取得属性定
義手段と、前記DB検索条件作成手段で選択した表形式
データベースから前記データベース検索式を満たす行を
選択し、その行から前記取得属性定義手段で定義した列
項目の値であるキーワードを取得するためのデータベー
ス検索命令文を作成するDB検索命令文作成手段と、前
記データベース検索命令文を実行して前記取得属性定義
手段で定義した列項目の値であるキーワードを取得する
展開語抽出手段と、前記テキスト検索条件入力手段で入
力されたキーワードを組み合わせたキーワード式または
前記テキスト検索条件入力手段で入力された自然言語文
から得られるキーワードを組み合わせたキーワード式と
前記展開語抽出手段で得られたキーワードを組み合わせ
たキーワード式とを統合し、テキスト検索のためのキー
ワード式を作成するキーワード式統合手段とを少なくと
も有して構成されることを特徴とする。
Next, a text search device according to a third invention of the present invention is provided through a text search condition input means for inputting a keyword or a natural language sentence for text search by a user, and the text search condition input means. A database search formula that selects a tabular database consisting of appropriate rows and columns for a keyword or natural language sentence entered by the user and describes conditions for retrieving a desired row from the tabular database DB search condition creating means for creating a database, acquisition attribute defining means for defining a column item having a keyword to be acquired in the tabular database as a value, and database search from the tabular database selected by the DB search condition creating means Select a row that satisfies the expression, and select a key that is the value of the column item defined by the DB search statement creation means for creating a database search statement for acquiring a word, and an expansion word for executing the database search statement and acquiring a keyword which is a value of a column item defined by the acquisition attribute definition means The extraction means and the keyword expression combining the keywords input by the text search condition input means or the keyword expression combining the keywords obtained from the natural language sentences input by the text search condition input means, and the expanded word extraction means It is characterized by comprising at least keyword expression integrating means for integrating a keyword expression obtained by combining the obtained keywords and creating a keyword expression for text search.

【0017】また、本発明の第4の発明にかかるテキス
ト検索装置は、第1の発明において、前記DB検索条件
入力手段を介して入力されたデータベース検索式からテ
キスト検索に用いるキーワードを値として持つ表形式デ
ータベースにおける列項目あるいは列項目間の結合条件
を定義するキーワード属性定義手段と、前記キーワード
属性定義手段の定義に基づいて前記データベース検索式
からキーワードを抽出して組み合わせたキーワード式を
作成するキーワード結合手段と、を有し、前記キーワー
ド式作成手段が、前記キーワード結合手段で得られたキ
ーワード式と前記展開語抽出手段で得られたキーワード
を組み合わせたキーワード式とを統合し、前記テキスト
データベースを検索するキーワード式を作成するキーワ
ード式統合手段であることを特徴とする。
Further, the text search device according to a fourth invention of the present invention, in the first invention, has a keyword used for text search from a database search formula input through the DB search condition input means as a value. A keyword attribute defining means for defining a column item or a joining condition between column items in a tabular database; and a keyword for extracting a keyword from the database search formula based on the definition of the keyword attribute defining means and creating a combined keyword expression Combining means, wherein the keyword formula creating means integrates the keyword formula obtained by the keyword combining means and the keyword formula obtained by combining the keywords obtained by the expanded word extracting means, and With keyword expression integration means to create a keyword expression to search And wherein the Rukoto.

【0018】また、本発明の第5の発明にかかるテキス
ト検索装置は、第1ないし第3の発明において、表形式
データベースにおける列項目間の展開関係を定義する属
性展開関係定義手段と、を有し、前記DB検索命令文作
成手段は、前記DB検索条件入力手段にて入力されたデ
ータベース検索式あるいは前記DB検索条件作成手段に
て作成されたデータベース検索式を前記属性展開関係定
義手段の定義に基づいて展開し、前記取得属性定義手段
にて定義した列項目の値であるキーワードを取得するた
めのデータベース検索命令文を作成することを特徴とす
る。
Further, the text search apparatus according to a fifth aspect of the present invention, in the first to third aspects, comprises an attribute expansion relation defining means for defining an expansion relation between column items in the tabular database. The DB search command sentence creating unit includes a database search expression input by the DB search condition input unit or a database search expression created by the DB search condition creation unit as a definition of the attribute expansion relationship definition unit. And developing a database search command sentence for acquiring a keyword which is a value of a column item defined by the acquisition attribute defining means.

【0019】また、本発明の第6の発明にかかるテキス
ト検索装置は、第1ないし第3の発明において、前記展
開語抽出手段が取得したキーワードが曖昧語か否かの判
定基準を定義する曖昧判定規則定義手段と、前記展開語
抽出手段が取得したキーワードから前記曖昧判定規則定
義手段で定義した判定基準に基づいて曖昧語を除去し、
曖昧語を除去したキーワードを前記キーワード式作成手
段もしくは前記キーワード式統合手段に出力する曖昧語
除去手段とを有することを特徴とする。
The text search device according to a sixth aspect of the present invention is the text search device according to the first to third aspects, wherein the ambiguity defining a judgment criterion as to whether or not the keyword acquired by the expanded word extraction means is an ambiguous word is defined. Judgment rule definition means, removing an ambiguous word from the keyword acquired by the expanded word extraction means based on the judgment criteria defined by the ambiguous judgment rule definition means,
An ambiguous word removing means for outputting the keyword from which the ambiguous word has been removed to the keyword expression creating means or the keyword expression integrating means.

【0020】また、本発明の第7の発明にかかるテキス
ト検索装置は、第1ないし第3の発明において、前記展
開語抽出手段が取得したキーワードが曖昧語か否かの判
定基準を定義する曖昧判定規則定義手段と、前記展開語
抽出手段が取得したキーワードから前記曖昧判定規則定
義手段で定義した判定基準に基づいて曖昧語を判定する
曖昧語判定手段と、前記曖昧語を前記展開語抽出手段が
取得した行から前記曖昧語に対する関連語となる列項目
の値の抽出条件を定義する関連語定義手段と、前記関連
語定義手段の定義にしたがって前記曖昧語に対する関連
語を取得し、前記曖昧語とその関連語とを組み合わせて
キーワード式を作成する関連語取得手段と、を有し、前
記キーワード式作成手段もしくは前記キーワード式統合
手段が、前記関連語取得手段で作成したキーワード式も
用いて、前記テキストデータベースを検索するキーワー
ド式を作成することを特徴とする。
The text search device according to a seventh aspect of the present invention is the text search device according to the first to third aspects, wherein the ambiguity defining a criterion for determining whether or not the keyword acquired by the expanded word extraction means is an ambiguous word is defined. Determination rule defining means, an ambiguous word determining means for determining an ambiguous word based on a criterion defined by the ambiguous determination rule defining means from the keyword acquired by the expanded word extracting means, and the expanded word extracting means A related word defining means for defining a condition for extracting a value of a column item serving as a related word for the ambiguous word from the acquired row, and acquiring a related word for the ambiguous word according to the definition of the related word defining means. Related word acquiring means for creating a keyword expression by combining a word and a related word thereof, wherein the keyword expression creating means or the keyword expression integrating means comprises: Keywords prepared in the acquiring means be used, characterized by creating a keyword expression to search the text database.

【0021】また、本発明の第8の発明にかかるテキス
ト検索装置は、第1ないし第3の発明において、前記キ
ーワード式作成手段もしくは前記キーワード式統合手段
で作成されたキーワード式をすべて表示し、ユーザが追
加・削除などの編集を行うインターフェースを提供する
展開結果編集手段を有することを特徴とする。
The text search device according to an eighth aspect of the present invention, in the first to third aspects, displays all the keyword expressions created by the keyword expression creating means or the keyword expression integrating means, It is characterized by having a development result editing means for providing an interface for a user to perform editing such as addition and deletion.

【0022】また、本発明の第9の発明にかかるテキス
ト検索装置は、テキスト検索のためのキーワードをユー
ザが入力するテキスト検索条件入力手段と、行と列から
成る表形式データベースにおいて、この表形式データベ
ースの列項目の値により行同士の類似性を判定するため
の類似条件を定義する類似判定定義手段と、前記テキス
ト検索条件入力手段で入力されたキーワードを含む行を
前記表形式データベースから検索し、その行と前記類似
条件を満たす行から、ユーザの入力したキーワードを値
として持つ列項目の値をキーワードとして取得する類似
キーワード取得手段と、前記テキスト検索条件入力手段
を介して入力されたキーワードを組み合わせたキーワー
ド式と、前記類似キーワード取得手段で取得られたキー
ワードを組み合わせたキーワード式とを統合したキーワ
ード式を作成するキーワード式統合手段とを少なくとも
有して構成されることを特徴としている。
A text search apparatus according to a ninth aspect of the present invention includes a text search condition input means for inputting a keyword for text search by a user, and a tabular database comprising rows and columns. A similarity determination defining means for defining a similarity condition for determining similarity between rows based on a value of a column item in a database, and a row including a keyword input by the text search condition inputting means is searched from the tabular database. A similar keyword acquiring unit that acquires, as a keyword, a value of a column item having a keyword input by a user as a value from the line and a line satisfying the similar condition, and a keyword input through the text search condition input unit. Combining the combined keyword expression with the keyword acquired by the similar keyword acquiring means It is characterized by being configured with a keyword expression integration means for creating a keyword expression and integration keyword expression at least a.

【0023】[0023]

【発明の実施の形態】ここで、図面を参照して本発明の
実施の形態を詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0024】[第1の発明] (構成の説明)図1は、本発明の実施の形態におけるテ
キスト検索装置の第1の発明の構成を示すブロック図で
ある。
[First Invention] (Explanation of Structure) FIG. 1 is a block diagram showing the structure of a first invention of a text search apparatus according to an embodiment of the present invention.

【0025】図1を参照すると、第1の発明は、DB格
納手段20、DB検索条件入力手段21、DB検索命令
文作成手段22、展開語抽出手段23、キーワード式作
成手段24、取得属性定義手段25、テキスト格納手段
10、テキスト検索手段11、テキスト検索式入力手段
12、検索結果表示手段13から構成されている。
Referring to FIG. 1, the first invention comprises a DB storage unit 20, a DB search condition input unit 21, a DB search command sentence creation unit 22, an expansion word extraction unit 23, a keyword expression creation unit 24, an acquisition attribute definition It comprises means 25, text storage means 10, text search means 11, text search formula input means 12, and search result display means 13.

【0026】尚、テキスト格納手段10、テキスト検索
手段11、テキスト検索式入力手段12、検索結果表示
手段13は既存のテキスト検索装置を構成する手段であ
り、本発明の特徴部分ではないため説明を省略する。
The text storage unit 10, the text search unit 11, the text search expression input unit 12, and the search result display unit 13 are units that constitute an existing text search device, and are not characteristic features of the present invention. Omitted.

【0027】DB格納手段20には、行と列から成る表
形式のデータベース(以下、DB)が1つ以上格納され
ている。表形式のDBとして、例えば関係データベース
(Relational Database:以下、R
DB)などがよく知られている。DB格納手段20に格
納されている各DBには、DBの名称(以下、DB名)
が付与されている。各DBは、一つの列見出し行とデー
タ値を持つ0個以上の行から成る(参考文献:“標準S
QL”、C.J.デイト著、42頁、トッパン)。列見
出し行は、名前付きの列から成り、これらの名前が各行
の属性となる。各行は、列見出し行で指定した各列の属
性に対して唯一の値(以下、属性値)を持つ。DB格納
手段20も既存のDBを格納する手段であり、本発明の
特徴部分ではない。
The DB storage means 20 stores one or more tables in the form of a table (hereinafter, DB) composed of rows and columns. As a tabular DB, for example, a relational database (Relative Database: hereinafter, R
DB) are well known. Each DB stored in the DB storage means 20 has a DB name (hereinafter, DB name).
Is given. Each DB consists of one column header row and zero or more rows with data values (reference: "Standard S
QL ", by CJ Date, p. 42, Toppan. The column heading rows consist of named columns, and these names are the attributes of each row. Each row is the attribute of each column specified in the column heading row. It has a unique value (hereinafter, attribute value) for the attribute.The DB storage means 20 is also a means for storing an existing DB, and is not a characteristic part of the present invention.

【0028】DB検索条件入力手段21は、 DB格納
手段20内のDB名と、DB内で属性が満たす値の条件
を表した式(以下、DB検索式)とを入力するための手
段である。
The DB search condition input means 21 is a means for inputting a DB name in the DB storage means 20 and an expression (hereinafter, a DB search expression) representing a condition of a value satisfied by an attribute in the DB. .

【0029】DB検索命令文作成手段22は、DB検索
条件入力手段21で入力されたDB名のDBに対して、
DB検索式を満たす行を選択し、特定の属性の値をキー
ワードとして取得するためのDB検索命令文を作成する
手段である。このDB検索命令文は、例えばRDBのS
QL文である。ここで取得するキーワードは、ユーザが
テキスト検索装置に与えたキーワードを展開した語であ
り、以下で展開語と呼ぶことにする。どの属性の値を展
開語として取得するかは、取得属性定義手段25にて定
義する。
The DB search command sentence creating means 22 receives the DB of the DB name input by the DB search condition input means 21
This is a means for selecting a row that satisfies the DB search expression and creating a DB search command sentence for acquiring a value of a specific attribute as a keyword. This DB search statement is, for example, the S of RDB.
It is a QL sentence. The keyword acquired here is a word obtained by expanding the keyword given to the text search device by the user, and is hereinafter referred to as a developed word. Which attribute value is acquired as a development word is defined by the acquired attribute definition means 25.

【0030】展開語抽出手段23は、DB検索命令文作
成手段22で作成されたDB検索命令文を実行して展開
語を取得する手段である。
The expanded word extracting means 23 is a means for executing the DB search instruction sentence created by the DB search instruction sentence creating means 22 to acquire an expanded word.

【0031】キーワード式作成手段24は、展開語抽出
手段23で得られた展開語を結合したキーワード式を作
成する。例えば、キーワードをAND/ORなどの検索
用の演算子で結合したキーワード式を作成する、ベクト
ル空間モデルで重み付けしたキーワードを結合したキー
ワード式を作成する、などが考えられる。
The keyword formula creating means 24 creates a keyword formula combining the expanded words obtained by the expanded word extracting means 23. For example, it is conceivable to create a keyword expression in which keywords are combined by a search operator such as AND / OR, or to create a keyword expression in which keywords weighted by a vector space model are combined.

【0032】テキスト検索式入力手段12は、キーワー
ド式作成手段24で作成されたキーワード式をテキスト
検索手段11に入力する。
The text search formula input means 12 inputs the keyword formula created by the keyword formula creation means 24 to the text search means 11.

【0033】テキスト検索手段11は、テキスト検索式
入力手段12で入力されたキーワード式を満たすテキス
トをテキスト格納手段10から検索する。検索結果表示
手段13は、テキスト検索手段11の検索結果を表示す
る。
The text search means 11 searches the text storage means 10 for a text which satisfies the keyword formula input by the text search formula input means 12. The search result display means 13 displays a search result of the text search means 11.

【0034】(動作の説明)第1の発明のテキスト検索
装置の動作について、テキスト格納手段10で格納して
いるテキストが記事に関するものであり、DB格納手段
20で格納しているDBが「自動車」に関するものが格
納されていて、ユーザが「A社またはB社の200万円
以下のセダン」に関する記事を検索する場合の具体的な
実施例(以下、この実施例を第1の実施例と称する。)
を用いて説明する。
(Explanation of Operation) Regarding the operation of the text search apparatus of the first invention, the text stored in the text storage means 10 is related to an article, and the DB stored in the DB storage means 20 is "automobile". And a specific example in which the user searches for an article related to "A company or B company's sedan of 2 million yen or less" (hereinafter, this example is referred to as the first embodiment and Name.)
This will be described with reference to FIG.

【0035】この例の場合、DB検索条件入力手段21
を介してユーザから明示的に入力されるのは、DB名と
しての「自動車DB」と、DB検索式として「A社また
はB社の200万円以下のセダン」である。以下にこの
動作を説明する。
In the case of this example, the DB search condition input means 21
Are explicitly input by the user through the database "automobile DB" as a DB name and "a sedan of 2 million yen or less from Company A or Company B" as a DB search formula. Hereinafter, this operation will be described.

【0036】図2は、図1におけるDB検索条件入力手
段21でDB名の入力およびDB検索式の入力を行うた
めの具体的な実現の一例を示す図である。DB検索条件
入力手段21は、DBユーザ選択手段210、DB検索
式入力手段211から成る。
FIG. 2 is a diagram showing an example of a specific implementation for inputting a DB name and a DB search formula by the DB search condition input means 21 in FIG. The DB search condition input unit 21 includes a DB user selection unit 210 and a DB search expression input unit 211.

【0037】DBユーザ選択手段210は、DB格納手
段20に格納されているDB一覧を表示し、DBを選択
するためのユーザインターフェースを提供する手段であ
る。選択するDBは一つに限らず複数であってもよい。
DB格納手段20は、ハードディスクやCDなどの記憶
装置または記憶媒体であり、ユーザが準備したDBある
いはサービス提供者が用意したDBを格納する。DBユ
ーザ選択手段210は、DB格納手段20をユーザがロ
ーカルに持つ場合、装置やディレクトリなどを指定す
る、ネットワーク上に持つ場合、サーバやURLなどを
指定することにより、DB格納手段20にアクセスして
DB一覧を表示し、ユーザの指示によりDBを選択する
ことができる。指定すべき装置、ディレクトリ、サー
バ、URLなどは、あらかじめ定義しておく。
The DB user selection means 210 is a means for displaying a list of DBs stored in the DB storage means 20 and providing a user interface for selecting a DB. The DB to be selected is not limited to one, but may be plural.
The DB storage means 20 is a storage device or storage medium such as a hard disk or a CD, and stores a DB prepared by a user or a DB prepared by a service provider. The DB user selection unit 210 accesses the DB storage unit 20 by specifying a device or a directory when the user has the DB storage unit 20 locally, or by specifying a server or a URL when the DB storage unit 20 is on a network. To display a DB list and select a DB according to a user's instruction. The device, directory, server, URL, and the like to be specified are defined in advance.

【0038】DB検索式入力手段211は、DBユーザ
選択手段210で選択されたDBの属性名の一覧を取得
してユーザに提示し、各属性に対する値を入力するため
のユーザインターフェースを提供する手段である。
The DB search formula input unit 211 obtains a list of attribute names of the DB selected by the DB user selecting unit 210, presents the list to the user, and provides a user interface for inputting a value for each attribute. It is.

【0039】DBユーザ選択手段210は、例えば図1
7のようなDBの一覧を表示し、この例においてユーザ
は検索に利用するDBとして「自動車DB」を選択す
る。
The DB user selecting means 210 is, for example, the one shown in FIG.
A list of DBs such as 7 is displayed, and in this example, the user selects “automobile DB” as the DB to be used for the search.

【0040】「自動車DB」を選択すると、DB検索式
入力手段211は、図15に示した自動車DBの属性で
ある、「メーカー」「形状」「目的」「価格」「排気
量」に対する値を入力するためのメニューを作成する。
このようなメニューをあらかじめ用意しておくか、ある
いは自動的に作成する。自動的に作成する方法例は後述
する。図18は、DB検索式入力手段211が作成する
属性値入力メニューの一例である。属性名が見出しとな
って、各属性に対する値を入力するための枠が用意さ
れ、各枠には逆三角(“▽”)で示したボタンが付与さ
れている。ボタンを押下すると図19のようにその属性
名の値の一覧が表示され、一つの枠に対しユーザは一覧
から必要な値を一つ選択できる。図18では、同じ属性
に対する各々の属性値はOR条件で結合され、各属性間
はAND条件で結合されるようにしているが、結合条件
はこれに限るものではない。
When "vehicle DB" is selected, the DB search formula input means 211 inputs values for "manufacturer", "shape", "purpose", "price" and "displacement" which are the attributes of the vehicle DB shown in FIG. Create a menu for input.
Such a menu is prepared in advance or created automatically. An example of a method of automatically creating the information will be described later. FIG. 18 is an example of an attribute value input menu created by the DB search expression input unit 211. A frame for inputting a value for each attribute is prepared with the attribute name as a heading, and each frame is provided with a button indicated by an inverted triangle (“▽”). When the button is pressed, a list of values of the attribute name is displayed as shown in FIG. 19, and the user can select one required value from the list for one frame. In FIG. 18, the attribute values for the same attribute are combined under an OR condition, and the attributes are combined under an AND condition. However, the combination condition is not limited to this.

【0041】「価格」や「排気量」などの数値型の属性
については、ユーザは数値を直接入力する。数値型属性
の入力は「以上」「以下」「より大きい(超)」「より
小さい(未満)」などの数値範囲を示す条件を図20の
ような、“▽”で示したボタンを押下して表示される一
覧から選択できる。「以上」を「≧」、以下を「≦」、
「より大きい(超)」を「>」、「より小さい(未
満)」を「<」に対応づけておけば、例えば、「価格」
で「2000000」の数値を入力し、「以下」の条件
を選択すると、「価格≦2000000」のDB検索式
を得ることができる。よって、DB検索条件入力手段2
1を介して、DB名としての「自動車DB」と、DB検
索式として「A社またはB社の200万円以下のセダ
ン」が入力可能である。
For numerical attributes such as "price" and "displacement", the user directly inputs numerical values. To enter a numeric attribute, press the button indicated by “▽” as shown in FIG. 20 for conditions indicating a numerical range such as “greater than”, “less than”, “greater (super)”, “smaller (less than)”. You can select from the list displayed. “More” is “≧”, the following is “≦”,
If “greater (super)” is associated with “>” and “smaller (less than)” is associated with “<”, for example, “price”
By inputting a numerical value of "200000" and selecting a condition of "less than or equal to", a DB search formula of "price≤200000" can be obtained. Therefore, DB search condition input means 2
1, “automobile DB” as a DB name and “sedan of 2 million yen or less from Company A or Company B” can be input as a DB search formula.

【0042】ここでDB検索式入力手段211における
メニューの自動作成の流れについて図14のフローチャ
ートを用いて説明する。S140で、DB検索式入力手
段211は、DBユーザ選択手段210で選択したDB
の属性名をN個取得する。取得する属性名は、DB検索
式入力手段211における入力メニューの見出しとなる
もので、すべての属性名を取得する、あるいはどの属性
名を取得するかをあらかじめ決めておく。例えば、図1
5の自動車DBから属性名として「メーカー」「形状」
「目的」「車名」「価格」「排気量」を取得する。S1
42では、取得した属性のリストからK(K=1、2、
…、N)番目の属性について、その属性値の型が文字型
か数値型かを判定する。第1番目の属性が「メーカー」
だとすると、S142の判定結果が文字型でS143に
進み、その属性値(“A社”、“B社”…)をすべて取
得する。S144ではS143で取得した属性値を辞書
順にソート(整列処理)したものをユニーク(重複除去
処理)して、辞書順に整列された重複のない属性値リス
トを得ることができる。S145では、属性名、属性値
のリストに例えば図22のようなHTMLタグを付与す
る。S142の判定結果が数値型の場合(「価格」な
ど)、S146に進んで図22のようなHTMLテキス
トを作成する。S147では、S145、S146で作
成したHTMLテキストを逐次結合する。S148で終
了したときに、S147で作成された図22のHTML
テキストをHTMLに対応したブラウザで表示すること
で図18のような一覧表示のボタンや枠などの画面イン
ターフェースを実現できる。
Here, the flow of automatic menu creation in the DB search expression input means 211 will be described with reference to the flowchart of FIG. In S140, the DB search expression input unit 211 selects the DB selected by the DB user selection unit 210.
Get N attribute names. The attribute name to be obtained is a heading of the input menu in the DB search expression input unit 211, and all the attribute names are to be obtained, or which attribute name is to be obtained is determined in advance. For example, FIG.
5 "Manufacturer" and "Shape" as attribute names from the automobile DB
Acquire "purpose", "vehicle name", "price", and "displacement". S1
At 42, K (K = 1, 2,
.., N), it is determined whether the type of the attribute value is character type or numeric type. The first attribute is "Manufacturer"
If so, the determination result of S142 is a character type and the process proceeds to S143, and all the attribute values (“Company A”, “Company B”...) Are acquired. In step S144, the attribute values obtained in step S143 are sorted (sorted) in dictionary order, and unique (duplicate removal processing) is performed to obtain a non-duplicated attribute value list sorted in dictionary order. In S145, an HTML tag as shown in FIG. 22, for example, is added to the list of attribute names and attribute values. If the result of the determination in S142 is a numeric type (eg, "price"), the flow advances to S146 to create an HTML text as shown in FIG. In S147, the HTML texts created in S145 and S146 are sequentially combined. When the processing ends in S148, the HTML of FIG.
By displaying the text with a browser that supports HTML, a screen interface such as a list display button or frame as shown in FIG. 18 can be realized.

【0043】図21に本実施例におけるすべての属性値
を入力した画面例を示す。この画面により、「(自動車
DB.メーカー=“A社”OR“B社”)AND(自動
車DB.形状=“セダン”)AND(自動車DB.価格
≦2000000)」というDB検索式をDB検索命令
文作成手段22に入力することができる。
FIG. 21 shows an example of a screen on which all the attribute values are input in this embodiment. With this screen, a DB search command of “(automobile DB. Maker =“ company A ”OR“ company B ”) AND (automobile DB. Shape =“ sedan ”) AND (automobile DB. Price ≦ 200000)” is issued as a DB search instruction. It can be input to the sentence creation means 22.

【0044】DB検索命令文作成手段22は、自動車D
Bの中で、上記DB検索式「(自動車DB.メーカー=
“A社”OR“B社”)AND(自動車DB.形状=
“セダン”)AND(自動車DB.価格≦200000
0)」を満たす行を選択し、取得属性定義手段25で定
義された属性値を展開語として取得するためのDB検索
命令文を作成する。取得属性定義手段25では、どの属
性の値を展開語とするかをあらかじめ定義しておいた
り、あるいは検索実行時にユーザの指定によって定義し
たりする。ここでは、車名および型名を展開語として取
得することを定義しているとする。
The DB search statement creation means 22 is a
B, the above DB search expression "(automobile DB. Maker =
“Company A” OR “Company B”) AND (Automotive DB. Shape =
"Sedan") AND (Automobile DB. Price ≤ 200,000
0) is selected, and a DB search command sentence for acquiring an attribute value defined by the acquisition attribute defining means 25 as an expansion word is created. The acquisition attribute definition unit 25 defines in advance which attribute value is to be used as a development word, or defines the attribute value according to a user's specification when executing a search. Here, it is assumed that it is defined that the vehicle name and the model name are acquired as expansion words.

【0045】DB検索命令文作成手段22で作成される
DB検索命令文は、例えばRDBにおけるSQL文で、
おおよそ図16(A)のような形式である。図16
(A)に示す、SQL文のFROM行には、DB検索条
件入力手段21で入力したDB名を記述する。WHER
E行には、DB検索条件入力手段21で入力したDB検
索式を記述する。SELECT行には、取得属性定義手
段25にて定義した属性名が指定される。図16(B)
は、DB検索命令文作成手段22で作成されるDB検索
命令文の具体例である。図16(B)では便宜上、DB
の属性を、「DB.属性名」という形式で表している。
The DB search statement created by the DB search statement creation means 22 is, for example, an SQL statement in an RDB.
The format is roughly as shown in FIG. FIG.
(A) describes the DB name input by the DB search condition input unit 21 in the FROM line of the SQL sentence. WHER
In the row E, the DB search formula input by the DB search condition input unit 21 is described. In the SELECT line, an attribute name defined by the acquisition attribute definition unit 25 is specified. FIG. 16 (B)
Is a specific example of a DB search statement created by the DB search statement creation unit 22. In FIG. 16B, for convenience, DB
Are represented in a format of “DB. Attribute name”.

【0046】展開語抽出手段23は、DB検索命令文作
成手段22で作成された図16(B)のようなDB検索
命令文を実行し、図15の自動車DBでこれらの条件を
満たす、車名“AAAY”“BBBX”、型名“bbb
x01”を展開語として取得する。
The expanded word extracting means 23 executes the DB search command sentence as shown in FIG. 16B created by the DB search command sentence creation means 22, and the vehicle DB shown in FIG. Name “AAAY” “BBBX”, type name “bbb”
x01 "is obtained as a development word.

【0047】キーワード式作成手段24は、展開語抽出
手段23で得られた展開語を、例えばOR条件で結合し
たキーワード式「“AAAY”OR“BBBX”OR
“bbbx01”」を作成し、テキスト検索式入力手段
12に入力する。ここで展開語の結合条件はORに限定
されるものではない。例えば、“BBBX”と“bbb
x01”のように同じ行から得られた属性値はAND結
合して、「“AAAY”OR(“BBBX”AND“b
bbx01”)」というキーワード式を作成したり、N
EAR結合して、「“AAAY”OR(“BBBX”N
EAR“bbbx01”)」というキーワード式を作成
したりすることも考えられる。
The keyword expression creating means 24 combines the expansion words obtained by the expansion word extracting means 23 with, for example, an OR condition by using a keyword expression “AAAY” OR “BBBX” OR
“Bbbbx01” ”is created and input to the text search formula input means 12. Here, the combination condition of the expansion word is not limited to OR. For example, “BBBX” and “bbb”
x01 ”and the attribute values obtained from the same row are AND-connected to“ “AAAY” OR (“BBBX” AND “b
bbx01 ")" or create a keyword expression
EAR, and “AAAY” OR (“BBBX” N
EAR "bbbx01") "may be created.

【0048】テキスト検索手段11は、キーワード式作
成手段24で作成されたキーワード式を満たすテキスト
をテキスト格納手段10から検索する。
The text search means 11 searches the text storage means 10 for a text satisfying the keyword formula created by the keyword formula creation means 24.

【0049】以上のようにして、本実施例では、ユーザ
がテキスト検索を実行する際に、「A社またはB社の2
00万円以下のセダン」に関してその車名・型名などの
具体的名称を知らなくとも、あるいは特定しなくとも、
具体的名称のキーワードを与えることができる。
As described above, in the present embodiment, when the user executes a text search, "2 company A or B company"
Regardless of the specific name such as car name, model name, etc. for `` sedan under 100,000 yen ''
A keyword with a specific name can be given.

【0050】[第2の発明] (構成の説明)図3は、本発明の実施の形態におけるテ
キスト検索装置の第2の発明の構成を示す図である。第
1の発明の実施の形態の構成と比べると、DB検索条件
入力手段21の代わりにDB検索条件作成手段42と、
テキスト検索条件入力手段26とが新規手段として加わ
っている。
[Second Invention] (Explanation of Structure) FIG. 3 is a diagram showing a structure of a text search device according to a second embodiment of the present invention. Compared to the configuration of the first embodiment of the present invention, a DB search condition creating unit 42 is used instead of the DB search condition input unit 21,
A text search condition input means 26 has been added as a new means.

【0051】テキスト検索条件入力手段26は、テキス
ト検索のためにユーザが自由なキーワードや自然言語文
を入力するための手段である。
The text search condition input means 26 is a means for the user to input a free keyword or a natural language sentence for text search.

【0052】DB検索条件作成手段42は、テキスト検
索条件入力手段26で入力したキーワードまたは自然言
語文を構成する単語から、DB格納手段20内のDBを
自動的に選択し、DB検索式を自動的に作成する手段で
ある。
The DB search condition creating means 42 automatically selects the DB in the DB storage means 20 from the keywords input by the text search condition input means 26 or the words constituting the natural language sentence, and automatically executes the DB search formula. It is a means to create it.

【0053】(動作の説明)図3のテキスト検索装置の
動作について、具体的な実施例(以下、この実施例を第
2の実施例と称する。)を用いて説明する。テキスト検
索条件入力手段26でキーワード式「(“A社” OR
“B社”)AND“セダン”」が入力された場合の動
作例を説明する。
(Explanation of Operation) The operation of the text search apparatus shown in FIG. 3 will be described with reference to a specific embodiment (hereinafter, this embodiment is referred to as a second embodiment). In the text search condition input means 26, the keyword expression “(“ Company A ”OR
An operation example in the case where “Company B”) AND “Sedan” is input will be described.

【0054】図4は、図3におけるDB検索条件作成手
段42の具体的な実現例を示す図である。図4でDB検
索条件作成手段42は、DB自動選択手段212、被展
開語テーブル213、DB検索式作成手段215から成
る。 被展開語テーブル213は、キーワードがどのD
Bのどの属性かを示したテーブルである。DB自動選択
手段212は、テキスト検索条件入力手段26で入力さ
れたキーワードに対して、被展開語テーブル213の内
容をもとに最適なDBを選択する手段である。DB検索
式作成手段215は、DB自動選択手段212でDB選
択に用いたキーワードからDB検索式を作成する手段で
ある。
FIG. 4 is a diagram showing a specific example of the realization of the DB search condition creating means 42 in FIG. In FIG. 4, the DB search condition creation unit 42 includes a DB automatic selection unit 212, a developed word table 213, and a DB search expression creation unit 215. The expanded word table 213 indicates which D
9 is a table showing which attribute of B is an attribute. The DB automatic selection unit 212 is a unit that selects an optimum DB for the keyword input by the text search condition input unit 26 based on the contents of the developed word table 213. The DB search formula creation unit 215 is a unit that creates a DB search formula from the keywords used for the DB selection by the DB automatic selection unit 212.

【0055】今、テキスト検索条件入力手段26を介し
てキーワード式「(“A社” OR“B社”)AND
“セダン”」が入力されると、DB自動選択手段212
は、まず被展開語テーブル213を参照する。被展開語
テーブル213の内容例を図24に示す。被展開語テー
ブル213によれば、“A社”は「自動車DB.メーカ
ー」または「家電DB.メーカー」、“B社”は「自動
車DB.メーカー」または「バイクDB.メーカー」、
“セダン”は「自動車DB.形状」という情報が格納さ
れている。DB自動選択手段212は、これら3つのキ
ーワードが最も多く関係しているDBは「自動車DB」
であることから、適切なDBとして「自動車DB」を選
択する。被展開語テーブル213は、DB格納手段20
内の各DBから、文字型の属性値(キーワード)を、そ
の属性値が属するDB名・属性名と組で抽出することで
機械的に容易に作成できる。
Now, the keyword expression “(“ Company A ”OR“ Company B ”) AND is input via the text search condition input means 26.
When "sedan" is input, the DB automatic selection unit 212
First, the expanded word table 213 is referred to. FIG. 24 shows an example of the contents of the expanded word table 213. According to the developed word table 213, “Company A” is “automobile DB. Maker” or “home appliance DB. Maker”, “Company B” is “automobile DB. Maker” or “motorcycle DB. Maker”,
“Sedan” stores information of “automobile DB. Shape”. The DB automatic selection unit 212 determines that the DB to which these three keywords relate most is “automobile DB”.
Therefore, "automobile DB" is selected as an appropriate DB. The expanded word table 213 is stored in the DB storage unit 20.
By extracting a character-type attribute value (keyword) from each of the DBs in combination with the DB name / attribute name to which the attribute value belongs, it can be easily created mechanically.

【0056】DB検索式作成手段215は、DB自動選
択手段212でDB選択に用いたキーワードおよびその
属性情報から、「自動車DB.メーカー=“A社”」、
「自動車DB.メーカー=“B社”」、「自動車DB.
形状=“セダン”」をDB検索式として作成し、DB検
索命令文作成手段22に入力する。
The DB search formula creation means 215 uses the keyword used for the DB selection by the DB automatic selection means 212 and its attribute information to indicate “automobile DB.maker =“ Company A ””
"Automobile DB. Maker =" Company B "", "Automobile DB.
A shape = “sedan” ”is created as a DB search expression, and is input to the DB search command sentence creating means 22.

【0057】以降の動作は第1の実施例と同様であり説
明を省略する。
The subsequent operation is the same as that of the first embodiment, and the description is omitted.

【0058】また、図4の構成で、DB自動選択手段2
12が参照する被展開語テーブル213以外に図5に示
すようにユーザ情報メモリ214を参照する構成も考え
られる。ユーザ情報メモリ214は、ユーザの検索装置
利用の履歴情報や興味情報など個人情報を記憶する手段
である。
Also, in the configuration of FIG.
A configuration in which the user information memory 214 is referred to as shown in FIG. The user information memory 214 is a means for storing personal information such as history information and interest information of the user using the search device.

【0059】次に、DB検索条件作成手段42の構成が
図5に示すものである場合のテキスト検索装置の動作に
ついて、テキスト検索条件入力手段26でキーワード式
「“B社”AND“スポーツ”」が入力された場合の動
作例を用いて説明する。
Next, regarding the operation of the text search apparatus when the configuration of the DB search condition creation means 42 is as shown in FIG. 5, the text search condition input means 26 uses the keyword expression "" Company B "AND" Sports "". This will be described using an operation example in the case where is input.

【0060】被展開語テーブル213で、“B社”は
「自動車DB.メーカー」または「バイクDB.メーカ
ー」、“スポーツ”は「自動車DB.目的」または「バ
イクDB.目的」という情報が格納されている。これら
2つのキーワードは、「自動車DB」「バイクDB」の
いずれも同じ数だけ関係しており、DB自動選択手段2
12は一方に決めることができない。
In the developed word table 213, "Company B" stores "automobile DB. Maker" or "motorcycle DB. Maker", and "sports" stores information of "automobile DB. Purpose" or "motorcycle DB. Purpose". Have been. These two keywords are related by the same number in both “automobile DB” and “motorcycle DB”.
12 cannot be decided on one side.

【0061】そこでDB自動選択手段212は、ユーザ
情報メモリ214の内容を参照する。ユーザ情報メモリ
214の内容例を図25に示す。図25では、ユーザが
利用したことのあるDB名とその利用頻度が個人情報と
して蓄積されていることを示している。この利用頻度情
報によれば、そのユーザは最も利用頻度が高い自動車に
興味があることが推定される。DB自動選択手段212
は、ユーザ情報メモリ214で高い利用頻度を持つ自動
車DBをバイクDBよりも優先して選択する。ユーザ情
報メモリ214で格納されるユーザ情報は、DBの利用
頻度のような履歴情報だけでなく、ユーザの興味情報を
ユーザにより明示的に指定する(例えば、ユーザ自身が
自動車に興味があるということをあらかじめユーザ情報
メモリ214に登録しておく)ことも考えられる。
Therefore, the automatic DB selection means 212 refers to the contents of the user information memory 214. FIG. 25 shows an example of the contents of the user information memory 214. FIG. 25 shows that the DB names that the user has used and the frequency of use are stored as personal information. According to the use frequency information, it is presumed that the user is interested in the most frequently used vehicle. DB automatic selection means 212
Selects the automobile DB having a high use frequency in the user information memory 214 prior to the motorcycle DB. The user information stored in the user information memory 214 explicitly specifies not only the history information such as the frequency of use of the DB but also the interest information of the user by the user. May be registered in the user information memory 214 in advance).

【0062】DB自動選択手段212で「自動車DB」
を選択した以降の動作は、先の実施例と同様であり説明
を省略する。
"Automobile DB" by the DB automatic selection means 212
The operation after selecting is the same as in the previous embodiment, and the description is omitted.

【0063】また、図3に示すテキスト検索装置におい
て、テキスト検索条件入力手段26に入力されるのは、
自由なキーワードや自然言語であってよい。図6は、自
然言語を入力可能とするためのテキスト検索条件入力手
段26の構成の一実現例を示す図である。
In the text search apparatus shown in FIG. 3, what is input to the text search condition input means 26 is
It can be a free keyword or a natural language. FIG. 6 is a diagram illustrating an example of a configuration of the text search condition input unit 26 for enabling input of a natural language.

【0064】図6において、テキスト検索条件入力手段
26は、統制処理手段263、統制語辞書264、検索
要求文入力手段261、文解析手段262、単語辞書2
60、数値表現抽出手段265、数値抽出規則定義手段
266、数値検索式作成手段267、数値変換規則定義
手段268から構成される。
In FIG. 6, the text search condition input means 26 includes a control processing means 263, a controlled word dictionary 264, a search request sentence input means 261, a sentence analysis means 262, a word dictionary 2
60, a numerical expression extracting unit 265, a numerical extraction rule defining unit 266, a numerical search formula creating unit 267, and a numerical conversion rule defining unit 268.

【0065】検索要求文入力手段261は、ユーザが自
然言語の検索要求文を入力するための手段である。文解
析手段262は、単語辞書260を参照してこの検索要
求文を解析して単語分割ないし品詞情報付与を行う。統
制処理手段263は、文解析手段262の結果である単
語列に対して統制語辞書264を参照して検索のキーワ
ードとなる語を統制語に置き換える。
The search request sentence input means 261 is a means for the user to input a natural language search request sentence. The sentence analyzing unit 262 analyzes the search request sentence with reference to the word dictionary 260 and performs word division or part of speech information addition. The control processing means 263 refers to the controlled word dictionary 264 for the word string as a result of the sentence analyzing means 262 and replaces a word serving as a search keyword with a controlled word.

【0066】数値抽出規則定義手段266は、数値表現
の単位を示す文字列に着目して抽出すべき数値表現パタ
ーンを記述する手段である。数値表現抽出手段265
は、文解析手段262の結果である単語列から数値抽出
規則定義手段266にて定義されたパターンに一致する
単語列をその属性情報とともに数値表現として抽出する
手段である。
The numerical value extraction rule defining means 266 is a means for describing a numerical expression pattern to be extracted by focusing on a character string indicating a unit of the numerical expression. Numeric expression extraction means 265
Is a means for extracting a word string matching the pattern defined by the numerical value extraction rule definition means 266 from the word string as a result of the sentence analysis means 262 as a numerical expression together with its attribute information.

【0067】数値変換規則定義手段268は、文字列の
数値表現から数値への変換規則を定義する手段である。
数値検索式作成手段267は、数値表現抽出手段265
が抽出した数値表現およびその属性情報から数値に関す
るDB検索式を作成する手段である。
The numerical conversion rule definition means 268 is a means for defining a conversion rule from a numerical representation of a character string to a numerical value.
Numerical search expression creating means 267 includes numerical expression extracting means 265
Is a means for creating a DB search formula relating to a numerical value from the numerical expression extracted and the attribute information thereof.

【0068】図6のテキスト検索装置の動作について、
「AまたはBの200万円以下のセダンに関する記事を
読みたい」という自然言語文を入力する場合を説明す
る。ここで「A」は「A社」、「B」は「B社」の略称
である。
The operation of the text search device shown in FIG.
A case where a natural language sentence “I want to read an article on a sedan of A or B of 2 million yen or less” will be described. Here, “A” is an abbreviation for “Company A”, and “B” is an abbreviation for “Company B”.

【0069】検索要求文入力手段261にてこの検索要
求文が入力されると、文解析手段262は、単語辞書2
60を参照して「A/また/は/B/の/200/万/
円/前後/の/セダン/に/関する/記事/を/読み/
たい/」のように単語列への分割を行う。この種の文解
析手法はよく用いられている(参考文献: “国語辞書
の記憶と日本語文の自動分割”、長尾・他著、情報処
理、第19巻第6号、1978年)。統制処理手段26
3は、文解析手段262の結果の単語列に統制語辞書2
64を検索して、「A」を「A社」に、「B」を「B
社」に置換する。このような置換処理は、DB自動選択
手段212において被展開語テーブル213を参照する
際に、キーワードを被展開語テーブル213の見出し語
に統制するために行う。このように、テキスト検索にお
いて入力となる自由なキーワードで同じ意味のもの同士
を検索装置が処理可能な語に統制する手法はよく用いら
れており、特開平5−250416号公報、特開平8−
249341号公報などに開示されている。図23に統
制語辞書の内容例を示す。統制語辞書264は、入力と
して想定されるキーワードの見出しとその統制語の組で
構成されている。
When this search request sentence is input by the search request sentence input means 261, the sentence analysis means 262
With reference to 60, "A / also / ha / B // 200 / 10,000 /
Yen / around / of / sedan / related / article / read / read /
Division into word strings such as "/". This type of sentence analysis method is often used (Reference: "Storage of Japanese language dictionary and automatic division of Japanese sentence", Nagao et al., Information Processing, Vol. 19, No. 6, 1978). Control processing means 26
3 is a controlled word dictionary 2 in the word string resulting from the sentence analyzing means 262.
64, "A" becomes "Company A", "B" becomes "B"
Company ". Such replacement processing is performed in order to control a keyword to a headword of the developed word table 213 when the DB automatic selection unit 212 refers to the developed word table 213. As described above, a method of controlling free keywords having the same meaning as input keywords in a text search into words that can be processed by the search device is often used, and is disclosed in Japanese Patent Application Laid-Open Nos. 5-250416 and 8-
No. 249341. FIG. 23 shows an example of the contents of the controlled word dictionary. The controlled word dictionary 264 includes a set of a keyword heading assumed as an input and its controlled word.

【0070】DB自動選択手段212は、「A社/また
/は/B社/の/200/万/円/前後/の/セダン/
に/関する/記事/を/読み/たい/」という単語列を
入力として、最も適切なDBを選択する。DBの選択方
法については第2の発明の実施例と同様に、被展開語テ
ーブル213またはユーザ情報メモリ214を参照し
て、“A社”、“B社”、“セダン”のキーワードから
「自動車DB」を自動選択する。
The DB automatic selection means 212 reads “Company A / or / ha / Company B // 200 / million / yen / around / of / sedan /
The most appropriate DB is selected by inputting the word string “// related / article / read / want /”. As for the method of selecting the DB, referring to the developed word table 213 or the user information memory 214, the keywords "A company", "B company", and "sedan" are used in the same manner as in the second embodiment. DB ”is automatically selected.

【0071】DB検索式作成手段215は、DB自動選
択手段212でDB選択に用いたキーワードおよびその
属性情報から、「自動車DB.メーカー=“A社”」、
「自動車DB.メーカー=“B社”」、「自動車DB.
形状=“セダン”」をDB検索式として作成する。
The DB search formula creation means 215 uses the keyword used for the DB selection by the DB automatic selection means 212 and its attribute information to obtain “automobile DB.maker =“ Company A ””,
"Automobile DB. Maker =" Company B "", "Automobile DB.
Shape = “sedan” ”is created as a DB search formula.

【0072】数値表現抽出手段265は、例えば「円」
のような単位表現に着目し、テキスト検索式入力手段1
2で入力されたキーワードから数値表現として「200
万円以下」を抽出する。数値抽出規則定義手段266に
て、「数字列+“円”(価格単位)」や「数字列+
“円”(価格単位)+“以上”OR“以下”…」のよう
な文字列の並びのパターンを抽出条件として記述してお
き、数値表現抽出手段265はこの抽出条件と一致する
パターンを文解析手段262の結果である単語列から数
値表現として抽出する。数値表現抽出手段265は結果
として、「“200”“万”“円”(価格単位)“以
下”」という単語列情報および属性情報を数値検索式作
成手段267に入力する。
The numerical expression extracting means 265 is, for example, a “circle”.
Paying attention to the unit expression such as
From the keyword input in step 2, “200
"10,000 yen or less." In the numerical value extraction rule definition means 266, “numeric string +“ yen ”(price unit)” or “numeric string +
A pattern of a character string arrangement such as “yen” (price unit) + “more than” OR “less than or equal to”... Is described as an extraction condition, and the numerical expression extraction unit 265 defines a pattern that matches this extraction condition as a sentence. It is extracted as a numerical expression from the word string that is the result of the analysis means 262. As a result, the numerical expression extraction means 265 inputs the word string information ““ 200 ”,“ million ”,“ yen ”(price unit)“ not more than ”” and the attribute information to the numerical search expression creating means 267.

【0073】数値検索式作成手段267は、数値表現抽
出手段265から入力された“200”“万”“円”
“以下”という文字列情報のうち数値に該当する部分を
数値に変換する。数値変換規則定義手段268で定義さ
れているのは、例えば、数字文字“1”“2”…“千”
“万” …を数字の「1」「2」「3」…「00」「0
00」…に変換するなどの対応関係である。これを用い
て、“200”“万”“円”“以下”という文字列情報
の“200”“万”の部分を「2000000」という
数値に変換する。
The numerical value retrieval formula creating means 267 outputs “200”, “million”, “yen” inputted from the numerical value expression extracting means 265.
The part corresponding to the numerical value in the character string information “less than or equal to” is converted into a numerical value. The numeric conversion rule definition means 268 defines, for example, numeric characters “1” “2”.
“10,000” is replaced by the numbers “1”, “2”, “3” ... “00” “0”
00 ”... Using this, the “200” and “million” portions of the character string information “200”, “million”, “yen”, and “less” are converted to a numerical value of “2,000,000”.

【0074】図6のように、DB検索式入力手段211
を備えることにより、以上のDB検索式作成手段215
および数値検索式作成手段267の結果を図18のよう
な属性値入力画面に対して、「メーカー」の各枠に“A
社”“B社”が、「形状」の枠に“セダン”が、「価
格」の枠に“2000000円以下”を自動的に入力
し、ユーザが属性値を追加・削除など編集するインター
フェースを提供することも可能である。DB検索式入力
手段211がない構成では、DB検索式作成手段215
および数値検索式作成手段267の結果をそのままDB
検索命令文作成手段に渡すことになる。
As shown in FIG. 6, DB search formula input means 211
By providing the above, the above-mentioned DB search formula creation means 215
In addition, the result of the numerical search formula creation means 267 is displayed on the attribute value input screen as shown in FIG.
"Company B" automatically enters "Sedan" in the "Shape" box and "2,000,000 yen or less" in the "Price" box, and provides an interface that allows the user to add and delete attribute values. It is also possible to provide. In a configuration without the DB search formula input unit 211, the DB search formula creation unit 215
And DB of the result of numerical search formula creation means 267
It will be passed to the search statement creation means.

【0075】DB検索式入力手段211でDB検索式が
入力された後の動作は第1の実施例と同様であり説明を
省略する。
The operation after the DB search formula is input by the DB search formula input means 211 is the same as that of the first embodiment, and the description is omitted.

【0076】[第3の発明] (構成の説明)図7は、本発明の実施の形態におけるテ
キスト検索装置の第3の発明の構成を示す図である。第
2の発明の図3と比べて、キーワード式作成手段24の
代わりにキーワード式統合手段43と、結合条件選択手
段27とが加わっている。
[Third Invention] (Explanation of Structure) FIG. 7 is a diagram showing a structure of a third invention of a text search apparatus according to an embodiment of the present invention. As compared with FIG. 3 of the second invention, a keyword expression integrating unit 43 and a combination condition selecting unit 27 are added instead of the keyword expression creating unit 24.

【0077】キーワード式統合手段43は、テキスト検
索条件入力手段26で入力されたキーワード式および展
開語抽出手段23で得られた展開語の組み合わせによる
キーワード式を結合したキーワード式を作成する手段で
ある。
The keyword formula integrating means 43 is a means for creating a keyword formula by combining a keyword formula input by the text search condition input means 26 and a keyword formula based on a combination of the expanded words obtained by the expanded word extracting means 23. .

【0078】結合条件選択手段27は、テキスト検索条
件入力手段26で入力されたキーワード式および展開語
抽出手段23で得られた展開語の組み合わせによるキー
ワード式を結合する条件をユーザが選択する手段であ
る。結合条件選択手段27は必須の構成手段ではなく、
この結合条件選択手段27が無ければ、キーワード式統
合手段43が予め決められた条件でそれぞれのキーワー
ド式を結合する。
The combination condition selection means 27 is means for the user to select a condition for combining the keyword expression input by the text search condition input means 26 and the keyword expression based on the combination of the expansion word obtained by the expansion word extraction means 23. is there. The combining condition selecting means 27 is not an essential constituent means,
If the combining condition selecting means 27 is not provided, the keyword formula integrating means 43 combines the respective keyword formulas under predetermined conditions.

【0079】キーワード式統合手段43で作成されたキ
ーワード式はテキスト検索式入力手段12に入力され、
テキスト検索手段11においてテキスト検索のキーワー
ド式として用いられる。
The keyword formula created by the keyword formula integrating means 43 is input to the text search formula input means 12, and
Used as a keyword expression for text search in the text search means 11.

【0080】(動作の説明)図7のテキスト検索装置の
動作について、テキスト検索条件入力手段26におい
て、キーワード式(A)「“A社”AND“セダン”」
が入力された場合についての具体的な実施例(以下、こ
の実施例を第3の実施例と称する。)を用いて説明す
る。
(Explanation of Operation) Regarding the operation of the text search apparatus shown in FIG. 7, the text search condition input means 26 uses the keyword expression (A) ““ A company ”AND“ sedan ””.
This will be described using a specific example (hereinafter, this example is referred to as a third example) in a case where is input.

【0081】このキーワード式が入力されると、第2の
実施例と同様の流れにより、検索条件入力手段21で
「自動車DB」が選択され、展開語抽出手段23で自動
車DBに対してDB検索式「(メーカー=“A社”)A
ND(形状=“セダン”)」が実行されて、キーワード
式統合手段43にて「“AAAX”OR“AAAY”O
R“aaax01”OR“aaax02”」のキーワー
ド式(B)を得る。
When this keyword expression is input, "automobile DB" is selected by the search condition input means 21 in the same manner as in the second embodiment, and the expanded word extraction means 23 searches the automobile DB for the DB. Formula "(Manufacturer =" Company A ") A
ND (shape = “sedan”) ”is executed, and“ “AAX” OR “AAAY” O
The keyword expression (B) of R “aaax01” OR “aaaax02” is obtained.

【0082】結合条件選択手段27は、キーワード式
(A)とキーワード式(B)の結合条件をユーザが選択
するための手段であり、例えば、OR条件で結合するか
AND条件で結合するかの選択を行うことができる。O
R結合では検索の洩れを少なくすることができ、AND
結合では検索の適合率を上げることができる。ユーザは
目的に応じていずれかを選択できる。OR条件を選択し
たとすると、キーワード式統合手段43は「キーワード
式(A)ORキーワード式(B)」のキーワード式を作
成する。キーワード式統合手段43で作成されたキーワ
ード式はテキスト検索式入力手段12に入力され、テキ
スト検索手段11においてテキスト検索のキーワード式
として用いられる。
The joining condition selecting means 27 is a means for the user to select the joining condition of the keyword expression (A) and the keyword expression (B). For example, whether the joining condition is joined by an OR condition or an AND condition is determined. You can make a selection. O
The R join can reduce search omission, and AND
Joining can increase the precision of a search. The user can select one according to the purpose. Assuming that the OR condition is selected, the keyword expression integrating means 43 creates a keyword expression of “keyword expression (A) OR keyword expression (B)”. The keyword formula created by the keyword formula integrating means 43 is input to the text search formula input means 12 and used by the text search means 11 as a keyword formula for text search.

【0083】[第4の発明] (構成の説明)図8は、本発明の実施の形態におけるテ
キスト検索装置の第4の発明の構成を示す図である。図
8の構成は、図1の構成に、結合条件選択手段27、キ
ーワード結合手段28、キーワード属性定義手段29が
新たな構成要素として加わっている。第3の発明同様、
結合条件選択手段27は必須の構成手段ではない。
[Fourth Invention] (Explanation of Structure) FIG. 8 is a diagram showing a structure of a fourth invention of a text search apparatus according to an embodiment of the present invention. In the configuration of FIG. 8, a combination condition selection unit 27, a keyword combination unit 28, and a keyword attribute definition unit 29 are added to the configuration of FIG. 1 as new components. Like the third invention,
The combining condition selecting means 27 is not an essential constituent means.

【0084】キーワード属性定義手段29は、DB検索
条件入力手段21で入力されるDB検索式から、テキス
ト検索のためのキーワードとして用いる属性あるいは属
性間の結合条件を定義するための手段である。
The keyword attribute definition unit 29 is a unit for defining an attribute used as a keyword for text search or a condition for combining attributes from the DB search formula input by the DB search condition input unit 21.

【0085】キーワード結合手段28は、DB検索条件
入力手段21で入力されたDB検索式から、キーワード
属性定義手段29の定義に基づいてキーワードを抽出・
結合して、キーワード式を作成する手段である。
The keyword combining unit 28 extracts a keyword from the DB search formula input by the DB search condition input unit 21 based on the definition of the keyword attribute defining unit 29.
This is a means for creating a keyword expression by combining them.

【0086】キーワード式統合手段43は、キーワード
結合手段28の作成したキーワード式と展開語抽出手段
23により得られた展開語によるキーワード式とを結合
条件選択手段27でユーザが指定した結合条件で結合す
る。
The keyword formula integrating means 43 combines the keyword formula created by the keyword combining means 28 with the keyword formula based on the developed word obtained by the developed word extracting means 23 under the combining condition designated by the user by the combining condition selecting means 27. I do.

【0087】(動作の説明)図8のテキスト検索装置の
動作について具体的な実施例(以下、この実施例を第4
の実施例と称する。)を用いて説明する。DB検索条件
入力手段21において、「(メーカー=“A社”OR
“B社”)AND(形状=“セダン”)AND(目的=
“ファミリー”)AND(価格≦200万円)」という
DB検索式が入力された場合、第1の実施例と同様の流
れにより展開語抽出手段23で“AAAY”、“BBB
X”、“bbbx01”を得る。キーワード式統合手段
43では、まず「“AAAY”OR“BBBX”OR
“bbbx01”」のキーワード式(C)を得る。
(Explanation of Operation) A concrete example of the operation of the text search apparatus shown in FIG.
Will be referred to as an embodiment. ). In the DB search condition input means 21, “(maker =“ Company A ”OR
“Company B”) AND (shape = “sedan”) AND (purpose =
When a DB search formula of “family”) AND (price ≦ 2 million yen) is input, “AAAY”, “BBB” is used by the expanded word extracting means 23 in the same flow as in the first embodiment.
X ”and“ bbbbx01. ”In the keyword expression integrating unit 43, first,“ AAAY ”OR“ BBBX ”OR
The keyword formula (C) of "bbbbx01" is obtained.

【0088】キーワード属性定義手段29では、DB検
索条件入力手段21でDB検索式として入力された属性
値から、テキスト検索のキーワードとして用いる属性お
よび属性間の結合関係を定義する。例えば、「メーカ
ー」「形状」「目的」のように属性値が文字型の属性を
テキスト検索のキーワードとして用いることを定義す
る。あるいは文字型の属性値であっても、「目的」はキ
ーワードにしないなどの定義も考えられる。また、これ
らの属性間の結合関係として、『「メーカー」AND
(「形状」OR「目的」)』のようにあらかじめ定義す
る。この定義に基づき、キーワード結合手段28は
「(“A社”OR“B社”)AND(“セダン”OR
“ファミリー”)」をキーワード式(D)として得る。
The keyword attribute definition means 29 defines an attribute to be used as a keyword for text search and a connection relationship between the attributes from the attribute value input as a DB search expression by the DB search condition input means 21. For example, it is defined that an attribute having a character type such as “maker”, “shape”, and “purpose” is used as a keyword for text search. Alternatively, even if the attribute value is of a character type, a definition that the "purpose" is not a keyword may be considered. In addition, as a connection relationship between these attributes, “manufacturer” AND
(“Shape” OR “purpose”). Based on this definition, the keyword combining means 28 determines “(“ Company A ”OR“ Company B ”) AND (“ Sedan ”OR
“Family”) ”is obtained as the keyword formula (D).

【0089】結合条件選択手段27では、キーワード式
(C)とキーワード式(D)とをOR条件で結合するか
AND条件で結合するかをユーザの指示により選択す
る。OR条件を選択したとすると、キーワード式統合手
段43では、「((“A社”OR“B社”)AND
(“セダン”OR“ファミリー”))OR(“AAA
Y”OR“BBBX” OR“bbbx01”)」をキ
ーワード式として作成する。キーワード式統合手段43
で作成されたキーワード式はテキスト検索式入力手段1
2に入力され、テキスト検索手段11においてテキスト
検索のキーワード式として用いられる。
The combining condition selecting means 27 selects whether the keyword formula (C) and the keyword formula (D) are combined by an OR condition or an AND condition by a user's instruction. Assuming that the OR condition is selected, the keyword expression integrating means 43 selects "((" Company A "OR" Company B ")) AND
(“Sedan” OR “Family”)) OR (“AAA
Y "OR" BBBX "OR" bbbbx01 ")" is created as a keyword expression. Keyword type integration means 43
The keyword formula created in step 1 is a text search formula input unit 1.
2 is used as a keyword expression for text search in the text search means 11.

【0090】[第5の発明] (構成の説明)図9は、本発明の実施の形態におけるテ
キスト検索装置の第5の発明の構成を示す図である。図
1の構成に属性展開関係定義手段30が新たな構成要素
として加わっている。なお本発明は、図3または図7ま
たは図8の構成での実現も容易に考えられる。
[Fifth Invention] (Description of Structure) FIG. 9 is a diagram showing a structure of a text search apparatus according to a fifth embodiment of the present invention. Attribute development relation definition means 30 is added to the configuration of FIG. 1 as a new component. It should be noted that the present invention can be easily realized with the configuration shown in FIG. 3, FIG. 7, or FIG.

【0091】属性展開関係定義手段30は、属性間の展
開関係を定義する手段である。例えば、上位語を下位語
に展開するなどの展開関係が考えられる。DB検索命令
文作成手段22は、DB検索条件入力手段21にて入力
されたDB検索式を属性展開関係定義手段30の定義に
基づいて展開し、取得属性定義手段25にて定義した属
性の値を展開語として取得するためのDB検索命令文を
作成する。
The attribute expansion relation definition means 30 is a means for defining an expansion relation between attributes. For example, an expansion relationship such as expansion of an upper word into a lower word is conceivable. The DB search statement creation unit 22 expands the DB search expression input by the DB search condition input unit 21 based on the definition of the attribute expansion relationship definition unit 30, and sets the attribute value defined by the acquisition attribute definition unit 25. Is created as a development word.

【0092】(動作の説明)図9のテキスト検索装置の
動作について、DB検索条件入力手段21において「自
動車DB」を指定し、「目的=“スポーツ”」のDB検
索式を入力する場合についての具体例を用いた実施例
(以下、この実施例を第5の実施例と称する。)を説明
する。
(Explanation of Operation) Regarding the operation of the text search apparatus shown in FIG. 9, it is assumed that "automobile DB" is specified in the DB search condition input means 21 and a DB search expression of "objective =" sports "" is input. An embodiment using a specific example (hereinafter, this embodiment is referred to as a fifth embodiment) will be described.

【0093】属性展開関係定義手段30において、
「“スポーツ”(自動車DB.目的)→オープン(自動
車DB.形状)」などの展開関係規則を定義しておくこ
とにより、DB検索命令文作成手段22で作成されるD
B検索式「目的=“スポーツ”」に「形状=“オープ
ン”」をDB検索式としてOR条件で追加する。つま
り、DB検索命令文作成手段22が作成する図16
(A)のWHERE条件は、「(自動車DB.目的=
“スポーツ”)OR(自動車DB.形状=“オープ
ン”)」となる。取得属性定義手段25にて取得属性を
「車名」に定義しておくと、図16(A)のSELEC
T条件は「SELECT:自動車DB.車名」のみとな
る。展開語抽出手段23は、このDB検索命令文を実行
し、車名“AAAX”“BBBY”を展開語として得
て、キーワード式作成手段24で「“AAAX”OR
“BBBY”」のキーワード式を作成する。つまり“B
BBY”が本発明により追加されたキーワードとなる。
キーワード式作成手段24で作成されたキーワード式は
テキスト検索式入力手段12に入力され、テキスト検索
手段11においてテキスト検索のキーワード式として用
いられる。
In the attribute expansion relation definition means 30,
By defining expansion relation rules such as "" Sports "(vehicle DB. Purpose) → open (vehicle DB. Shape)", D created by the DB search statement creation means 22 is defined.
“Shape =“ open ”” is added as a DB search expression to the B search expression “objective =“ sports ”” as a DB search expression under an OR condition. In other words, FIG.
The WHERE condition of (A) is “(Automobile DB. Purpose =
“Sports”) OR (automobile DB. Shape = “open”) ”. If the acquisition attribute is defined as “vehicle name” by the acquisition attribute definition means 25, the SELECT shown in FIG.
The T condition is only “SELECT: automobile DB. Car name”. The expansion word extracting means 23 executes this DB search command sentence, obtains the car names “AAX” and “BBBY” as expansion words, and the keyword expression creating means 24 outputs “AAAAX” OR
A keyword expression “BBBY” is created. That is, "B
BBY "is a keyword added according to the present invention.
The keyword formula created by the keyword formula creating unit 24 is input to the text search formula input unit 12 and used by the text search unit 11 as a keyword formula for text search.

【0094】[第6の発明] (構成の説明)図10は、この発明の実施の形態におけ
るテキスト検索装置の第6の発明の構成を示す図であ
る。図1の構成に、曖昧語除去手段36、曖昧判定規則
定義手段37、単語辞書260が新たな構成要素として
加わっている。なお本発明は、図3または図7または図
8の構成での実現も容易に考えられる。
[Sixth Invention] (Explanation of Structure) FIG. 10 is a diagram showing a structure of a text search apparatus according to a sixth embodiment of the present invention. An ambiguous word removing unit 36, an ambiguous determination rule defining unit 37, and a word dictionary 260 are added to the configuration of FIG. 1 as new components. It should be noted that the present invention can be easily realized with the configuration shown in FIG. 3, FIG. 7, or FIG.

【0095】展開語が単語辞書260に存在する語と一
致した場合や短い語の場合、その展開語は他の語との曖
昧性があると考えられる。曖昧語は、展開語としてその
ままOR条件で追加すると検索過剰などの悪影響を及ぼ
す可能性が高いので、キーワード式から除外することが
望ましい。曖昧判定規則定義手段37は、展開語抽出手
段23で得られた展開語が曖昧語である条件を定義する
ための手段である。例えば、「単語辞書260に存在す
る語と一致する場合」や「n文字以下の短い場合」に、
曖昧語とみなして展開語から除外するなどの規則を定義
する。曖昧語除去手段36は、展開語抽出手段23の結
果に曖昧判定規則定義手段37の定義にしたがって曖昧
語を除去する手段である。
If the expanded word matches a word existing in the word dictionary 260 or is a short word, the expanded word is considered to have ambiguity with other words. Ambiguous words are likely to have an adverse effect such as over-searching if they are added as expanded words as they are under the OR condition, so it is desirable to exclude them from keyword expressions. The ambiguity determination rule defining unit 37 is a unit for defining a condition that the expanded word obtained by the expanded word extracting unit 23 is an ambiguous word. For example, “when the word matches the word existing in the word dictionary 260” or “when the character is shorter than n characters”
Define rules such as considering them as ambiguous words and excluding them from expanded words. The ambiguous word removing means 36 is means for removing an ambiguous word from the result of the expanded word extracting means 23 according to the definition of the ambiguous determination rule defining means 37.

【0096】(動作の説明)図10のテキスト検索装置
の動作について、展開語抽出手段23で車名“AAA
Y”“BBBX”、型名“bbbx01”“bb”を展
開語として取得し、車名“AAAY”と同じ表記の語が
単語辞書260内に存在する場合についてのの具体例を
用いた実施例(以下、この実施例を第6の実施例と称す
る。)を説明する。
(Explanation of Operation) The operation of the text search apparatus shown in FIG.
Example using a specific example of a case where words “Y” and “BBBX” and model names “bbbx01” and “bb” are acquired as expansion words and a word having the same notation as the car name “AAAY” exists in the word dictionary 260. (Hereinafter, this embodiment will be referred to as a sixth embodiment.)

【0097】曖昧判定規則定義手段37で曖昧語の判定
規準として、「単語辞書260に存在する語と一致する
語」と定義しておくと、曖昧語除去手段36は、展開語
抽出手段23で得られた展開語をキーとして単語辞書2
60を検索する。“AAAY”が単語辞書260に登録
されているため、曖昧語除去手段36は“AAAY”を
曖昧語と判定し、展開語抽出手段23で得られた展開語
のリストから除外する。また、曖昧判定規則定義手段3
7で曖昧語の判定規準として「2文字以下の短い文字
列」と定義しておくと、“bb”を曖昧語として展開語
抽出手段23で得られた展開語のリストから除外する。
こうして、曖昧語除去手段36は、車名“AAAY”お
よび型名“bb”を展開語から除外し、キーワード式作
成手段24では、キーワード式として「“BBBX”O
R“bbbx01”」を得る。キーワード式作成手段2
4で作成されたキーワード式はテキスト検索式入力手段
12に入力され、テキスト検索手段11においてテキス
ト検索のキーワード式として用いられる。
If the ambiguity determination rule definition means 37 defines the criterion of an ambiguity word as “word that matches a word existing in the word dictionary 260”, the ambiguity word removal means 36 Word dictionary 2 using the obtained expanded words as keys
Search for 60. Since “AAAY” is registered in the word dictionary 260, the ambiguous word removing unit 36 determines “AAAY” as an ambiguous word and excludes it from the expanded word list obtained by the expanded word extracting unit 23. Also, the ambiguity determination rule definition means 3
If a short character string of 2 characters or less is defined as a criterion for determining an ambiguous word in step 7, “bb” is excluded from the expanded word list obtained by the expanded word extraction unit 23 as an ambiguous word.
Thus, the ambiguous word removing means 36 excludes the car name “AAAY” and the type name “bb” from the expanded words, and the keyword expression creating means 24 uses ““ BBBX ”O as the keyword expression.
R “bbbx01” ”is obtained. Keyword expression creation means 2
The keyword formula created in step 4 is input to the text search formula input unit 12 and used as a keyword formula for text search in the text search unit 11.

【0098】ここで、単語辞書260には、少なくとも
見出し(表記)情報と品詞情報とが格納されている。単
語辞書260に登録されているか否かだけで曖昧語を単
純に判定するのではなく、詳細な品詞情報ないし意味情
報まで利用することで、より曖昧語判定の精度を上げる
ことも考えられる。例えば“AAAY”が単語辞書26
0で固有名詞・車名として登録されていれば、曖昧語と
判定しないなどのバリエーションも考えられる。
Here, the word dictionary 260 stores at least heading (notation) information and part of speech information. Rather than simply determining an ambiguous word only based on whether or not it is registered in the word dictionary 260, the accuracy of ambiguous word determination may be further improved by using detailed part of speech information or meaning information. For example, “AAAY” is the word dictionary 26
If 0 is registered as a proper noun / vehicle name, variations such as not determining it as an ambiguous word may be considered.

【0099】[第7の発明] (構成の説明)図11は、本発明の実施の形態における
テキスト検索装置の第7の発明の構成を示す図である。
図10の構成に、曖昧語除去手段36の代わりに曖昧語
判定手段38が加わり、関連語取得手段39、関連語定
義手段40が新たな構成要素として加わっている。なお
本発明は、図3または図7または図8の構成での実現も
容易に考えられる。
[Seventh Invention] (Explanation of Structure) FIG. 11 is a diagram showing a structure of a text search apparatus according to a seventh embodiment of the present invention.
An ambiguous word determination unit 38 is added to the configuration of FIG. 10 instead of the ambiguous word removal unit 36, and a related word acquisition unit 39 and a related word definition unit 40 are added as new components. It should be noted that the present invention can be easily realized with the configuration shown in FIG. 3, FIG. 7, or FIG.

【0100】曖昧語判定手段38は、展開語抽出手段2
3の結果から曖昧判定規則定義手段37の定義にしたが
って曖昧語を判定する手段である。曖昧語判定手段38
により曖昧でないと判定された語は、キーワード式作成
手段24に入力する。曖昧語判定手段38により曖昧と
判定された語は関連語取得手段39に入力する。
The ambiguous word judging means 38 includes the expanded word extracting means 2
This is a means for determining an ambiguous word from the result of 3 in accordance with the definition of the ambiguous judgment rule definition means 37. Ambiguous word determination means 38
The word determined not to be ambiguous is input to the keyword expression creating means 24. The word determined to be ambiguous by the ambiguous word judging means 38 is input to the related word acquiring means 39.

【0101】関連語定義手段40は、曖昧語判定手段3
8により曖昧と判定された展開語を含む行から関連語と
なる属性の定義を行う。関連語取得手段39は、関連語
定義手段40の定義にしたがってDB格納手段20から
曖昧語に対する関連語を取得し、曖昧語と関連語とを組
み合わせたキーワード式を作成してキーワード式作成手
段24に入力する。
The related word definition means 40 is a
The attribute which becomes a related word is defined from the line including the expanded word determined to be ambiguous in FIG. The related word acquisition unit 39 acquires a related word for an ambiguous word from the DB storage unit 20 according to the definition of the related word definition unit 40, creates a keyword expression combining the ambiguous word and the related word, and creates a keyword expression To enter.

【0102】(動作の説明)図11のテキスト検索装置
の動作について、展開語抽出手段23で車名“AAA
Y”“BBBX”、型名“bbbx01”“bb”を展
開語として取得し、車名“AAAY”と同じ表記の語が
単語辞書260内に存在する場合についての具体例を用
いた実施例(以下、この実施例を第7の実施例と称す
る。)を説明する。
(Explanation of Operation) The operation of the text search apparatus shown in FIG.
Y ("BBBX", model names "bbbb01" and "bb" are acquired as expansion words, and an embodiment using a specific example of a case where a word having the same notation as the car name "AAAY" exists in the word dictionary 260 ( Hereinafter, this embodiment is referred to as a seventh embodiment.)

【0103】曖昧語判定手段38は、第6の発明の実施
例と同様にして“AAAY”(自動車DB.車名)、
“bb”(自動車DB.型名)を曖昧語と判定する。
The ambiguous word judging means 38 calculates "AAAY" (car DB. Car name) in the same manner as in the sixth embodiment.
“Bb” (automobile DB. Model name) is determined to be an ambiguous word.

【0104】関連語定義手段40では、曖昧語判定手段
38で得られる曖昧語に対して「自動車DB.メーカ
ー」「パソコンDB.メーカー」「パソコンDB.搭載
ソフト名称」のような関連語の定義をしておく。曖昧語
判定手段38は、“AAAY”、“bb”が自動車DB
における曖昧語であると判定してあり、関連語定義手段
40で自動車DBの曖昧語は、「自動車DB.メーカ
ー」の値を関連語とすることを定義している。そこで関
連語取得手段39は、関連語として“A社”を得て、曖
昧語“AAAY”、“bb”とそれぞれの関連語“A
社”をAND結合で組み合わせて、キーワード式
「(“AAAY”AND“A社”)OR(“bb”AN
D“A社”)」を作成してキーワード式作成手段24に
入力する。ここで、AND結合に限らずNEAR結合の
近接演算によるキーワード式作成も考えられる。
The related word definition means 40 defines related words such as "automobile DB. Maker", "PC DB. Maker", and "PC DB. Software name" for the ambiguous words obtained by the ambiguous word judging means 38. Keep it. The ambiguous word determining means 38 determines that “AAAY” and “bb”
, And the related word definition means 40 defines that the ambiguous word of the automobile DB is to use the value of “automobile DB. Maker” as a related word. Then, the related word acquiring means 39 obtains “company A” as a related word, and converts the ambiguous words “AAAY” and “bb” into respective related words “A”.
Company "by an AND combination, and the keyword expression"("AAAY" AND "company A") OR ("bb" AN
D “Company A”) ”and input it to the keyword formula creating means 24. Here, not only an AND connection but also a keyword expression by proximity operation of a NEAR connection can be considered.

【0105】キーワード式作成手段24では、展開語抽
出手段23から入力された展開語をOR結合したキーワ
ード式「“BBBX”OR“bbbx01”」と関連語
取得手段39で作成したキーワード式をOR結合してキ
ーワード式を作成する。つまり、キーワード式として、
「(“BBBX”OR“bbbx01”)OR(“AA
AY”AND“A社”)OR(“bb”AND“A
社”)」を得る。キーワード式作成手段24で作成され
たキーワード式はテキスト検索式入力手段12に入力さ
れ、テキスト検索手段11においてテキスト検索のキー
ワード式として用いられる。
The keyword expression creating means 24 OR-joins the keyword expression "" BBBX "OR" bbbx01 "" obtained by ORing the expanded words inputted from the expanded word extracting means 23 with the keyword expression created by the related word acquiring means 39. To create a keyword expression. That is, as a keyword expression,
“(“ BBBX ”OR“ bbbbx01 ”) OR (“ AA
AY ”AND“ Company A ”) OR (“ bb ”AND“ A
Company ")". The keyword formula created by the keyword formula creating unit 24 is input to the text search formula input unit 12 and used by the text search unit 11 as a keyword formula for text search.

【0106】[第8の発明] (構成の説明)図12は、本発明の実施の形態における
テキスト検索装置の第8の発明の構成を示す図である。
図7の構成に、展開結果編集手段41が新たな構成要素
として加わっている。なお本発明は、図1または図3ま
たは図8の構成での実現も容易に考えられる。
[Eighth Invention] (Description of Structure) FIG. 12 is a diagram showing a structure of an eighth invention of the text search apparatus according to the embodiment of the present invention.
A development result editing unit 41 is added to the configuration of FIG. 7 as a new component. The present invention can be easily realized by the configuration shown in FIG. 1, FIG. 3, or FIG.

【0107】展開結果編集手段41は、展開語を含めて
入力となるキーワード式をすべて表示し、ユーザが追加
・削除などの編集を行うインターフェースを提供する手
段である。
The expansion result editing means 41 is a means for displaying all keyword expressions to be input including expansion words, and providing an interface for the user to edit such as addition or deletion.

【0108】(動作の説明)図12のテキスト検索装置
の動作について、具体的な例を挙げて実施例(以下、こ
の実施例を第8の実施例と称する。)を説明する。第3
の発明の実施例の展開結果の表示例を図26に示す。図
26の画面上部では、テキスト検索条件入力手段26で
入力されたキーワード式「“A社”AND“セダン”」
が表示される。この画面上部に対してもキーワードの修
正・追加・削除が可能である。図26の画面下部では、
展開語の一覧が表示される。各々の展開語は例えばOR
演算子で結合されている。例えば型名“aaax01”
“aaax02”を削除したい場合、キーボードやマウ
スなどの入力手段で“aaax01”“aaax02”
を選んで削除実行すれば削除される。画面中央部の「O
R」の枠は、テキスト検索条件入力手段26で入力され
たキーワード式と展開語によるキーワード式「“AAA
X”OR“AAAY”」とをOR結合することを示す。
ユーザはその右の逆三角形(▽)のボタンにより、「A
ND」の演算子を選択することも可能である。こうして
キーワード式を編集して実行ボタンを押下することで、
展開結果編集手段41はキーワード式「(“A社”AN
D“セダン”)OR(“AAAX”OR“AAA
Y”)」を作成し、テキスト検索式入力手段12に入力
する。テキスト検索手段11はこのキーワード式をテキ
スト検索に用いる。
(Explanation of Operation) The operation of the text search apparatus shown in FIG. 12 will be described with reference to a specific example in an embodiment (hereinafter, this embodiment is referred to as an eighth embodiment). Third
FIG. 26 shows a display example of the development result of the embodiment of the present invention. In the upper part of the screen of FIG. 26, the keyword expression ““ Company A ”AND“ Sedan ”” input by the text search condition input means 26 is displayed.
Is displayed. The keyword can be corrected, added, or deleted from the upper part of the screen. At the bottom of the screen in FIG. 26,
A list of expansion words is displayed. Each expansion word is, for example, OR
Are joined by operators. For example, type name "aaax01"
If you want to delete “aaax02”, use a keyboard or a mouse or other input means to delete “aaaax01” or “aaaax02”.
Select and delete to delete. "O" at the center of the screen
The box of "R" indicates the keyword expression input by the text search condition input means 26 and the keyword expression "AAA"
X "OR" and "AAAY"".
The user presses an inverted triangle (▽) button on the right to display “A
It is also possible to select the operator "ND". By editing the keyword expression and pressing the execute button in this way,
The expansion result editing means 41 uses the keyword expression “(“ Company A ”AN
D “Sedan”) OR (“AAX” OR “AAA”
Y ")" is created and input to the text search formula input means 12. The text search means 11 uses this keyword formula for text search.

【0109】[第9の発明] (構成の説明)図13は、本発明の実施の形態における
テキスト検索装置の第9の発明の構成を示す図である。
[Ninth Invention] (Explanation of Structure) FIG. 13 is a diagram showing a structure of a ninth invention of a text search device according to an embodiment of the present invention.

【0110】テキスト検索条件入力手段26は、テキス
ト検索のためのキーワードをユーザが入力するための手
段である。
The text search condition input means 26 is a means for a user to input a keyword for text search.

【0111】類似判定定義手段32は、属性の値により
データベースにおける行同士が類似することを判定する
ための類似条件を定義する手段である。
The similarity determination definition means 32 is a means for defining similarity conditions for determining that rows in a database are similar to each other based on the value of an attribute.

【0112】類似キーワード取得手段31は、テキスト
検索条件入力手段26で入力されたキーワードを含む行
を検索し、この行と類似判定定義手段32で定義された
属性名の値が類似条件を満たす行から、ユーザが入力し
たキーワードを値として持つ属性の値をキーワードとし
て取得する手段である。
The similar keyword acquiring unit 31 searches for a line including the keyword input by the text search condition input unit 26, and finds a line where the value of the attribute name defined by the similarity definition unit 32 satisfies the similar condition. From the attribute having the keyword input by the user as a value.

【0113】キーワード式統合手段43は、テキスト検
索条件入力手段26に入力されたキーワードを組み合わ
せたキーワード式と類似キーワード取得手段で得られた
キーワードを組み合わせたキーワード式とを統合したキ
ーワード式を作成する手段である。
The keyword formula integrating means 43 creates a keyword formula obtained by integrating the keyword formula obtained by combining the keywords input to the text search condition input means 26 and the keyword formula obtained by the similar keyword obtaining means. Means.

【0114】(動作の説明)図13のテキスト検索装置
の動作について、テキスト検索条件入力手段26におい
て、“AAAX”のキーワードを入力する場合の例を挙
げて実施例(以下、この実施例を第9の実施例と称す
る。)を説明する。
(Explanation of Operation) The operation of the text search apparatus shown in FIG. 13 will be described with reference to an example in which a keyword "AAX" is input in the text search condition input means 26 (hereinafter, this embodiment will be described in the following). Ninth Embodiment) will be described.

【0115】類似キーワード取得手段31は、テキスト
検索条件入力手段26で入力されたキーワード“AAA
X”をキーにDB格納手段20内のDBから“AAA
X”を含む行を検索し、その行と類似する行からキーワ
ードを抽出する。
The similar keyword acquiring means 31 inputs the keyword “AAA” inputted by the text search condition inputting means 26.
“X” as a key to “AAA” from the DB in the DB storage means 20
A line containing X "is searched, and a keyword is extracted from a line similar to the line.

【0116】類似判定の規準は、類似判定定義手段32
で定義する。類似判定定義手段32では、類似判定の規
準に用いる属性として、例えば「メーカー」「形状」の
属性を定義し、これらの属性の値がすべて一致する値を
持つ行同士を類似行とみなすなどの類似条件を定義す
る。類似条件としては、類似判定規準として定義した属
性の値が「すべて一致する」以外に、「ある数以上一致
する」なども考えられる。例えば類似判定規準の属性と
して、「メーカー」「形状」「目的」「エンジン名」を
定義しておき、「3つ以上一致する」という類似条件を
定義しておくと、「メーカー」「形状」「エンジン名」
の値が一致して「目的」の値が一致しなくとも類似と判
定する。あるいは、必ずしも「値が一致する」という類
似条件でなく、「値が近い」などの類似条件も考えられ
る。類似判定規準として属性「価格」を定義した場合、
「価格≦200万円」のような範囲を類似条件としても
よい。
The criterion for the similarity determination is the similarity determination definition means 32
Defined by The similarity determination definition means 32 defines, for example, attributes of “maker” and “shape” as attributes used for the criteria of similarity determination, and regards rows having values that match all of these attributes as similar rows. Define similar conditions. As similarity conditions, besides "all match", the attribute values defined as the similarity criterion may be "match more than a certain number". For example, as the attributes of the similarity determination criterion, “manufacturer”, “shape”, “purpose”, and “engine name” are defined, and the similarity condition of “match three or more” is defined. "Engine name"
Are determined to be similar even if the values of “purpose” do not match. Alternatively, a similar condition such as "the values are close" may be considered instead of the similar condition "the values match". If you define the attribute "price" as a similarity criterion,
A range such as “price ≦ 2,000,000 yen” may be used as the similar condition.

【0117】図15から“AAAX”を含む行は、「メ
ーカー=“A社”」「形状=“セダン”」または「メー
カー=“A社”」「形状=“クーペ”」であることか
ら、これらと一致する行は、「車名=“AAAY”」お
よび「車名=“AAAZ”」の行である。つまり、類似
キーワード取得手段31は、“AAAX”の行と“AA
AY”および“AAAZ”の行とが類似であると判定
し、“AAAY”および“AAAZ”の行から、“AA
AX”と同じ属性(車名)の“AAAY”および“AA
AZ”をキーワードとして取得する。
From FIG. 15, the row containing “AAX” is “Maker =“ Company A ””, “Shape =“ Sedan ”” or “Maker =“ Company A ””, and “Shape =“ Coupe ””. The rows that match these are the rows of “vehicle name =“ AAAY ”” and “vehicle name =“ AAAZ ””. That is, the similar keyword acquiring unit 31 sets the “AAAX” line and the “AA
It is determined that the rows of “AY” and “AAAZ” are similar, and “AA” is determined from the rows of “AAAY” and “AAAZ”.
"AAAY" and "AA" with the same attribute (car name) as "AX"
AZ "is obtained as a keyword.

【0118】キーワード式統合手段43は、テキスト検
索条件入力手段26に入力されたキーワード“AAA
X”と類似キーワード取得手段31で取得されたキーワ
ード“AAAY”および“AAAZ”とを結合して、例
えば「“AAAX”OR“AAAY”OR“AAA
Z”」のようなキーワード式を作成する。キーワード式
統合手段43で作成されたキーワード式はテキスト検索
式入力手段12に入力され、テキスト検索手段11にお
いてテキスト検索のキーワード式として用いられる。
The keyword expression integrating means 43 inputs the keyword “AAA” input to the text search condition inputting means 26.
X and the keywords “AAAY” and “AAAZ” acquired by the similar keyword acquisition means 31 are combined, for example, “AAAAX” OR “AAAY” OR “AAA”
A keyword expression such as "Z""is created. The keyword formula created by the keyword formula integrating means 43 is input to the text search formula input means 12 and used by the text search means 11 as a keyword formula for text search.

【0119】以上、本発明の第1〜第9の発明を説明し
たが、各々の発明はコンピュータプログラムによって実
現可能である。例えば第1の発明の場合は、DB検索条
件入力手段21、DB検索命令文作成手段22、展開語
抽出手段23、キーワード式作成手段24、取得属性定
義手段25のそれぞれをコンピュータで機能させるため
のプログラムを記録したコンピュータ読み取り可能な記
録媒体によって提供される形態でもよい。また、第2〜
第9の発明においても同様である。
The first to ninth inventions of the present invention have been described above, but each invention can be realized by a computer program. For example, in the case of the first invention, it is necessary for the computer to make each of the DB search condition input means 21, the DB search command sentence creation means 22, the expansion word extraction means 23, the keyword expression creation means 24 and the acquisition attribute definition means 25 function. A form provided by a computer-readable recording medium on which the program is recorded may be used. In addition, the second
The same applies to the ninth invention.

【0120】[0120]

【発明の効果】表形式データベース(例えばRDB)を
用いた、テキスト検索のキーワード展開を特徴とする本
発明のテキスト検索装置により、キーワードの具体的名
称への展開、数値条件を考慮した展開を実現でき、多様
な検索要求に対して検索洩れの少ない高精度のテキスト
検索を実現できる。
According to the text search apparatus of the present invention, which is characterized by keyword expansion of text search using a tabular database (for example, RDB), it is possible to expand keywords into specific names and expand in consideration of numerical conditions. It is possible to realize a high-precision text search with little omission for various search requests.

【0121】また、複数の分類視点を単一の表で管理で
きるため、木構造のシソーラスに比べメンテナンス性に
も優れている。さらにRDBは製品情報などのデータベ
ースに広く利用されているため流用性が高く、シソーラ
スに比べてとくに具体的名称(製品名など)や数値情報
(製品仕様など)を豊富に入手しやすいという点で優れ
ている。
Further, since a plurality of classification viewpoints can be managed by a single table, the maintenance viewpoint is superior to a thesaurus having a tree structure. Furthermore, RDBs are widely used in databases such as product information, so they are highly diversified. In particular, specific names (such as product names) and numerical information (such as product specifications) are easier to obtain than a thesaurus. Are better.

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

【図1】本発明の実施の形態におけるテキスト検索装置
の第1の発明の構成を示す図である。
FIG. 1 is a diagram illustrating a configuration of a text search apparatus according to a first embodiment of the present invention;

【図2】図1のDB検索条件入力手段21でDB名の入
力およびDB検索式の入力を行うための具体的な実現の
一例を示す図である。
FIG. 2 is a diagram showing an example of a specific implementation for inputting a DB name and a DB search formula by a DB search condition input unit 21 in FIG. 1;

【図3】本発明の実施の形態におけるテキスト検索装置
の第2の発明の構成を示す図である。
FIG. 3 is a diagram showing a configuration of a second invention of a text search device according to an embodiment of the present invention.

【図4】図3におけるDB検索条件入力手段21の具体
的な実現の一例を示す図である。
4 is a diagram showing an example of a specific implementation of a DB search condition input unit 21 in FIG.

【図5】図3におけるDB検索条件入力手段21の具体
的な実現の別の一例を示す図である。
5 is a diagram showing another example of a specific implementation of the DB search condition input unit 21 in FIG.

【図6】自然言語を入力可能とするためのテキスト検索
条件入力手段26の実現例の一例を示す図である。
FIG. 6 is a diagram showing an example of an implementation example of a text search condition input means 26 for enabling input of a natural language.

【図7】本発明の実施の形態におけるテキスト検索装置
の第3の発明の構成を示す図である。
FIG. 7 is a diagram showing a configuration of a third invention of the text search device in the embodiment of the present invention.

【図8】本発明の実施の形態におけるテキスト検索装置
の第4の発明の構成を示す図である。
FIG. 8 is a diagram showing a configuration of a fourth invention of the text search device in the embodiment of the present invention.

【図9】本発明の実施の形態におけるテキスト検索装置
の第5の発明の構成を示す図である。
FIG. 9 is a diagram illustrating a configuration of a text search apparatus according to a fifth embodiment of the present invention;

【図10】本発明の実施の形態におけるテキスト検索装
置の第6の発明の構成を示す図である。
FIG. 10 is a diagram illustrating a configuration of a text search apparatus according to a sixth embodiment of the present invention;

【図11】本発明の実施の形態におけるテキスト検索装
置の第7の発明の構成を示す図である。
FIG. 11 is a diagram showing a configuration of a text search apparatus according to a seventh embodiment of the present invention;

【図12】本発明の実施の形態におけるテキスト検索装
置の第8の発明の構成を示す図である。
FIG. 12 is a diagram showing a configuration of an eighth invention of the text search device in the embodiment of the present invention.

【図13】本発明の実施の形態におけるテキスト検索装
置の第9の発明の構成を示す図である。
FIG. 13 is a diagram showing a configuration of a ninth invention of a text search device according to an embodiment of the present invention.

【図14】DB検索式入力手段211におけるメニュー
の自動作成の流れを示すフローチャートを示す図であ
る。
FIG. 14 is a flowchart showing a flow of automatic creation of a menu in the DB search expression input means 211.

【図15】自動車DBの例を示す図である。FIG. 15 is a diagram illustrating an example of an automobile DB.

【図16】DB検索命令文作成手段22で作成されるD
B検索命令文の形式の例とその具体例を示すである。
FIG. 16 shows a D created by a DB search statement creation unit 22;
7 shows an example of a format of a B search command sentence and a specific example thereof.

【図17】DBユーザ選択手段210が表示するDBの
一覧の例を示す図である。
FIG. 17 is a diagram showing an example of a list of DBs displayed by a DB user selection unit 210.

【図18】図2のDB検索式入力手段211が作成する
属性値入力メニューの例を示す図である。
18 is a diagram showing an example of an attribute value input menu created by the DB search expression input means 211 of FIG.

【図19】図2のDB検索式入力手段211が作成する
属性値入力メニューの例を示す図である。
FIG. 19 is a diagram showing an example of an attribute value input menu created by the DB search expression input means 211 of FIG. 2;

【図20】図2のDB検索式入力手段211が作成する
属性値入力メニューの例を示す図である。
20 is a diagram illustrating an example of an attribute value input menu created by the DB search expression input unit 211 in FIG. 2;

【図21】図2のDB検索式入力手段211が作成する
属性値入力メニューの例を示す図である。
21 is a diagram showing an example of an attribute value input menu created by the DB search expression input means 211 of FIG.

【図22】図17のメニューを実現するHTMLテキス
トの例を示す図である。
FIG. 22 is a diagram illustrating an example of HTML text that implements the menu of FIG. 17;

【図23】統制語辞書の内容例を示す図である。FIG. 23 is a diagram showing an example of the contents of a controlled word dictionary.

【図24】被展開語テーブル213の内容例を示す図で
ある。
FIG. 24 is a diagram showing an example of contents of a developed word table 213.

【図25】ユーザ情報メモリ214の内容例を示す図で
ある。
FIG. 25 is a diagram showing an example of contents of a user information memory 214.

【図26】第3の実施例の展開結果の表示例を示す図で
ある。
FIG. 26 is a diagram illustrating a display example of a development result of the third embodiment.

【符合の説明】[Description of sign]

10 テキスト格納手段 11 テキスト検索手段 12 テキスト検索式入力手段 13 検索結果表示手段 20 DB格納手段 21 DB検索条件入力手段 22 DB検索命令文作成手段 23 展開語抽出手段 24 キーワード式作成手段 25 取得属性定義手段 26 テキスト検索条件入力手段 27 結合条件検索手段 28 キーワード統合手段 29 キーワード属性定義手段 30 属性展開関係定義手段 36 曖昧語除去手段 37 曖昧判定規則定義手段 38 曖昧語判定手段 39 関連語取得手段 40 関連語定義手段 41 展開結果編集手段 42 DB検索条件作成手段 43 キーワード式統合手段 210 DBユーザ選択手段 211 DB検索式入力手段 212 DB自動選択手段 213 被展開語テーブル 215 DB検索式作成手段 260 単語辞書 261 検索要求文入力手段 262 文解析手段 263 統制処理手段 264 統制語辞書 265 数値表現抽出手段 266 数値抽出規則定義手段 267 数値条件抽出手段 268 数値変換規則定義手段 DESCRIPTION OF SYMBOLS 10 Text storage means 11 Text search means 12 Text search formula input means 13 Search result display means 20 DB storage means 21 DB search condition input means 22 DB search command sentence creation means 23 Expansion word extraction means 24 Keyword formula creation means 25 Acquisition attribute definition Means 26 Text search condition input means 27 Join condition search means 28 Keyword integration means 29 Keyword attribute definition means 30 Attribute expansion relation definition means 36 Ambiguity word removal means 37 Ambiguity determination rule definition means 38 Ambiguity word determination means 39 Related word acquisition means 40 Related Word definition means 41 Expansion result editing means 42 DB search condition creation means 43 Keyword expression integration means 210 DB user selection means 211 DB search expression input means 212 DB automatic selection means 213 Developed word table 215 DB search expression creation means 260 Word dictionary 261 Search request sentence input means 262 Sentence analysis means 263 Control processing means 264 Controlled word dictionary 265 Numeric expression extraction means 266 Numeric extraction rule definition means 267 Numeric condition extraction means 268 Numeric conversion rule definition means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 福島 俊一 東京都港区芝五丁目7番1号 日本電気株 式会社内 Fターム(参考) 5B075 ND03 ND40 NK02 NK46 NK54 PP13 PP22 PP24 PP30 PQ02 PQ20 PQ40 PQ63 PR03 PR06 QM08 QP03 QP10 UU08 UU40 ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Shunichi Fukushima 5-7-1 Shiba, Minato-ku, Tokyo F-term in NEC Corporation (Reference) 5B075 ND03 ND40 NK02 NK46 NK54 PP13 PP22 PP24 PP30 PQ02 PQ20 PQ40 PQ63 PR03 PR06 QM08 QP03 QP10 UU08 UU40

Claims (30)

【特許請求の範囲】[Claims] 【請求項1】行と列から成る表形式データベースの指定
と、テキストデータベースを検索するためのデータベー
ス検索式の入力が行えるDB検索条件入力手段と、 前記表形式データベースにおいて取得すべきキーワード
を値として持つ列項目を定義する取得属性定義手段と、 前記DB検索条件入力手段で指定された表形式データベ
ースから前記データベース検索式を満たす行を選択し、
その行から前記取得属性定義手段で定義した列項目の値
であるキーワードを取得するためのデータベース検索命
令文を作成するDB検索命令文作成手段と、 前記データベース検索命令文を実行して前記取得属性定
義手段で定義した列項目の値であるキーワードを取得す
る展開語抽出手段と、 前記展開語抽出手段で取得したキーワードを用いて前記
テキストデータベースを検索するキーワード式を作成す
るキーワード式作成手段とを少なくとも有することを特
徴とするテキスト検索装置。
1. A DB search condition input means for designating a tabular database consisting of rows and columns and inputting a database search formula for searching a text database, and a keyword to be acquired in the tabular database as a value An acquisition attribute defining means for defining a column item to have, and selecting a row satisfying the database search formula from a tabular database specified by the DB search condition input means,
DB search statement creation means for creating a database search statement for acquiring a keyword which is a value of a column item defined by the acquisition attribute definition means from the row; and executing the database search statement to obtain the acquisition attribute. Expansion word extraction means for acquiring a keyword that is a value of a column item defined by the definition means; and keyword expression creation means for creating a keyword expression for searching the text database using the keyword acquired by the expansion word extraction means. A text search device having at least a text search device.
【請求項2】前記DB検索条件入力手段が、 前記表形式データベースの一覧を表示し、前記表形式デ
ータベースを選択するためのユーザインターフェースを
提供するDBユーザ選択手段と、 前記DBユーザ選択手段で選択された表形式データベー
スから列項目を取得して一覧表示し、各列項目に対する
値を入力するためのユーザインターフェースを提供する
DB検索式入力手段とを有して構成されることを特徴と
する請求項1記載のテキスト検索装置。
2. The DB search condition input means displays a list of the tabular databases, and provides a user interface for selecting the tabular databases. The DB user selecting means selects the tabular databases. And a DB search formula input means for providing a user interface for acquiring a column item from the tabulated database, displaying the list, and inputting a value for each column item. Item 1. The text search device according to Item 1.
【請求項3】テキスト検索のためのキーワードまたは自
然言語文をユーザが入力するテキスト検索条件入力手段
と、 前記テキスト検索条件入力手段を介して入力されたキー
ワードまたは自然言語文に対して、適切な行と列から成
る表形式データベースを選択し、その表形式データベー
スから所望の行を検索するための条件を記述した式であ
るデータベース検索式を作成するDB検索条件作成手段
と、 前記表形式データベースにおいて取得すべきキーワード
を値として持つ列項目を定義する取得属性定義手段と、 前記DB検索条件作成手段で選択した表形式データベー
スから、前記データベース検索式を満たす行を選択し、
その行から前記取得属性定義手段で定義した列項目の値
であるキーワードを取得するためのデータベース検索命
令文を作成するDB検索命令文作成手段と、 前記データベース検索命令文を実行して前記取得属性定
義手段で定義した列項目のキーワードを取得する展開語
抽出手段と、 前記展開語抽出手段で取得したキーワードを用いてテキ
スト検索のためのキーワード式を作成するキーワード式
作成手段とを少なくとも有することを特徴とするテキス
ト検索装置。
3. A text search condition input means for inputting a keyword or a natural language sentence for a text search by a user, and an appropriate keyword or natural language sentence input through the text search condition input means. DB search condition creating means for selecting a tabular database composed of rows and columns and creating a database search expression that is an expression describing a condition for searching for a desired row from the tabular database; An acquisition attribute definition unit that defines a column item having a keyword to be acquired as a value, and a row that satisfies the database search formula is selected from a tabular database selected by the DB search condition creation unit.
DB search statement creation means for creating a database search statement for acquiring a keyword which is a value of a column item defined by the acquisition attribute definition means from the row; and executing the database search statement to obtain the acquisition attribute. Expansion keyword extraction means for acquiring a keyword of a column item defined by the definition means; and keyword expression creation means for creating a keyword expression for text search using the keyword acquired by the expansion word extraction means. Characteristic text search device.
【請求項4】前記DB検索条件作成手段が、 キーワードが属する表形式データベースとキーワードの
表形式データベースにおける列項目とを示した情報を格
納する被展開語テーブルと、 前記テキスト検索条件入力手段を介して入力されたキー
ワードまたは前記テキスト検索条件入力手段で入力され
た自然言語文から得られるキーワードと前記被展開語テ
ーブルを照合することによって、前記表形式データベー
スを選択するDB自動選択手段と、 前記DB自動選択手段でデータベース選択に用いたキー
ワードとそのキーワードの表形式データベースにおける
列項目とからデータベース検索式を作成するDB検索式
作成手段とを有して構成されることを特徴とする請求項
3記載のテキスト検索装置。
4. The system according to claim 1, wherein the DB search condition creating means includes: a developed word table for storing information indicating a tabular database to which the keyword belongs and column items of the keyword in the tabular database; Automatic DB selecting means for selecting the tabular database by collating the keyword input from the user or a keyword obtained from a natural language sentence input by the text search condition input means with the developed word table; 4. A database search formula creating means for creating a database search formula from a keyword used for database selection by an automatic selection means and a column item of the keyword in a tabular database. Text search device.
【請求項5】該テキスト検索装置の利用履歴やユーザの
興味情報などの個人情報を記憶するユーザ情報メモリ、
を更に備え、 前記DB自動選択手段は、前記ユーザ情報メモリも参照
して前記表形式データベースを選択することを特徴とす
る請求項4記載のテキスト検索装置。
5. A user information memory for storing personal information such as usage history of the text search device and user interest information,
5. The text search apparatus according to claim 4, further comprising: selecting the tabular database with reference to the user information memory.
【請求項6】テキスト検索のためのキーワードまたは自
然言語文をユーザが入力するテキスト検索条件入力手段
と、 前記テキスト検索条件入力手段を介して入力されたキー
ワードまたは自然言語文に対して、適切な行と列から成
る表形式データベースを選択し、その表形式データベー
スから所望の行を検索するための条件を記述した式であ
るデータベース検索式を作成するDB検索条件作成手段
と、 前記表形式データベースにおいて取得すべきキーワード
を値として持つ列項目を定義する取得属性定義手段と、 前記DB検索条件作成手段で選択した表形式データベー
スから前記データベース検索式を満たす行を選択し、そ
の行から前記取得属性定義手段で定義した列項目の値で
あるキーワードを取得するためのデータベース検索命令
文を作成するDB検索命令文作成手段と、 前記データベース検索命令文を実行して前記取得属性定
義手段で定義した列項目の値であるキーワードを取得す
る展開語抽出手段と、 前記テキスト検索条件入力手段で入力されたキーワード
を組み合わせたキーワード式または前記テキスト検索条
件入力手段で入力された自然言語文から得られるキーワ
ードを組み合わせたキーワード式と前記展開語抽出手段
で得られたキーワードを組み合わせたキーワード式とを
統合し、テキスト検索のためのキーワード式を作成する
キーワード式統合手段とを少なくとも有することを特徴
とするテキスト検索装置。
6. A text search condition input means for inputting a keyword or a natural language sentence for text search by a user, and an appropriate keyword or natural language sentence input through the text search condition input means. DB search condition creating means for selecting a tabular database composed of rows and columns and creating a database search expression that is an expression describing a condition for searching for a desired row from the tabular database; An acquisition attribute definition unit that defines a column item having a keyword to be acquired as a value, and a row that satisfies the database search formula is selected from the tabular database selected by the DB search condition creation unit, and the acquisition attribute definition is selected from the row. Create a database search statement to retrieve the keyword that is the value of the column item defined by DB search command sentence creating means for executing, the expanded word extracting means for executing the database search command sentence to obtain a keyword which is a value of a column item defined by the acquisition attribute defining means, and inputting by the text search condition input means A keyword expression combining the extracted keywords or a keyword expression combining keywords obtained from the natural language sentence input by the text search condition input means and a keyword expression combining the keywords obtained by the expansion word extraction means are integrated. And a keyword expression integrating means for creating a keyword expression for text search.
【請求項7】前記DB検索条件入力手段を介して入力さ
れたデータベース検索式からテキスト検索に用いるキー
ワードを値として持つ表形式データベースにおける列項
目あるいは列項目間の結合条件を定義するキーワード属
性定義手段と、 前記キーワード属性定義手段の定義に基づいて前記デー
タベース検索式からキーワードを抽出して組み合わせた
キーワード式を作成するキーワード結合手段と、を有
し、 前記キーワード式作成手段が、前記キーワード結合手段
で得られたキーワード式と前記展開語抽出手段で得られ
たキーワードを組み合わせたキーワード式とを統合し、
前記テキストデータベースを検索するキーワード式を作
成するキーワード式統合手段であることを特徴とする請
求項1記載のテキスト検索装置。
7. A keyword attribute defining means for defining a column item or a joining condition between column items in a tabular database having, as a value, a keyword used for a text search from a database search formula input via said DB search condition input means. And a keyword combining unit that creates a keyword formula by extracting and combining keywords from the database search formula based on the definition of the keyword attribute defining unit. The keyword formula creating unit includes: Integrating the obtained keyword expression and a keyword expression obtained by combining the keywords obtained by the expanded word extraction means,
2. The text search apparatus according to claim 1, wherein the text search apparatus is a keyword formula integration unit that creates a keyword formula for searching the text database.
【請求項8】表形式データベースにおける列項目間の展
開関係を定義する属性展開関係定義手段と、を有し、 前記DB検索命令文作成手段は、前記DB検索条件入力
手段にて入力されたデータベース検索式あるいは前記D
B検索条件作成手段にて作成されたデータベース検索式
を前記属性展開関係定義手段の定義に基づいて展開し、
前記取得属性定義手段にて定義した列項目の値であるキ
ーワードを取得するためのデータベース検索命令文を作
成することを特徴とする請求項1、3または6記載のテ
キスト検索装置。
8. An attribute expansion relation defining means for defining an expansion relation between column items in a tabular database, wherein said DB search command sentence creating means is a database inputted by said DB search condition input means. Search formula or D
B expands the database search formula created by the search condition creating means based on the definition of the attribute expansion relationship defining means,
7. The text search device according to claim 1, wherein a database search command sentence for obtaining a keyword that is a value of a column item defined by the obtainment attribute defining unit is created.
【請求項9】前記展開語抽出手段が取得したキーワード
が曖昧語か否かの判定基準を定義する曖昧判定規則定義
手段と、 前記展開語抽出手段が取得したキーワードから前記曖昧
判定規則定義手段で定義した判定基準に基づいて曖昧語
を除去し、曖昧語を除去したキーワードを前記キーワー
ド式作成手段に出力する曖昧語除去手段とを有すること
を特徴とする請求項1または請求項3記載のテキスト検
索装置。
9. An ambiguity determination rule defining means for defining a criterion for determining whether or not a keyword acquired by said expanded word extraction means is an ambiguous word, and an ambiguity determination rule definition means based on the keyword acquired by said expanded word extraction means. 4. The text according to claim 1, further comprising: an ambiguous word removing unit that removes an ambiguous word based on a defined criterion and outputs the keyword from which the ambiguous word has been removed to the keyword expression creating unit. Search device.
【請求項10】前記展開語抽出手段が取得したキーワー
ドが曖昧語か否かの判定基準を定義する曖昧判定規則定
義手段と、 前記展開語抽出手段が取得したキーワードから前記曖昧
判定規則定義手段で定義した判定基準に基づいて曖昧語
を除去し、曖昧語を除去したキーワードを前記キーワー
ド式統合手段に出力する曖昧語除去手段とを有すること
を特徴とする請求項6記載のテキスト検索装置。
10. An ambiguity determination rule defining means for defining a criterion for determining whether a keyword obtained by said expanded word extraction means is an ambiguous word, and said ambiguity determination rule definition means based on the keyword obtained by said expansion word extraction means. 7. The text search apparatus according to claim 6, further comprising: an ambiguous word removing unit that removes an ambiguous word based on a defined criterion and outputs the keyword from which the ambiguous word has been removed to the keyword formula integrating unit.
【請求項11】前記展開語抽出手段が取得したキーワー
ドが曖昧語か否かの判定基準を定義する曖昧判定規則定
義手段と、 前記展開語抽出手段が取得したキーワードから前記曖昧
判定規則定義手段で定義した判定基準に基づいて曖昧語
を判定する曖昧語判定手段と、 前記曖昧語を前記展開語抽出手段が取得した行から前記
曖昧語に対する関連語となる列項目の値の抽出条件を定
義する関連語定義手段と、 前記関連語定義手段の定義にしたがって前記曖昧語に対
する関連語を取得し、前記曖昧語とその関連語とを組み
合わせてキーワード式を作成する関連語取得手段と、を
有し、 前記キーワード式作成手段が、前記関連語取得手段で作
成したキーワード式も用いて、前記テキストデータベー
スを検索するキーワード式を作成することを特徴とする
請求項1または3記載のテキスト検索装置。
11. An ambiguity determination rule defining means for defining a criterion for determining whether a keyword acquired by said expanded word extraction means is an ambiguous word, and an ambiguity determination rule definition means based on the keyword acquired by said expanded word extraction means. An ambiguous word judging unit for judging an ambiguous word based on the defined judging criterion, and an extraction condition of a value of a column item which is a related word for the ambiguous word is defined from a line obtained by the expanded word extracting unit for the ambiguous word. Related word definition means, and related word acquisition means for acquiring a related word for the ambiguous word according to the definition of the related word definition means, and creating a keyword formula by combining the ambiguous word and the related word. Wherein the keyword expression creating means creates a keyword expression for searching the text database, also using the keyword expression created by the related word acquiring means. The text search device according to claim 1 or 3, wherein
【請求項12】前記展開語抽出手段が取得したキーワー
ドが曖昧語か否かの判定基準を定義する曖昧判定規則定
義手段と、 前記展開語抽出手段が取得したキーワードから前記曖昧
判定規則定義手段で定義した判定基準に基づいて曖昧語
を判定する曖昧語判定手段と、 前記曖昧語を前記展開語抽出手段が取得した行から前記
曖昧語に対する関連語となる列項目の値の抽出条件を定
義する関連語定義手段と、 前記関連語定義手段の定義にしたがって前記曖昧語に対
する関連語を取得し、前記曖昧語とその関連語とを組み
合わせてキーワード式を作成する関連語取得手段と、を
有し、 前記キーワード式統合手段が、前記関連語取得手段で作
成したキーワード式も統合し、テキスト検索のためのキ
ーワード式を作成することを特徴とする請求項6記載の
テキスト検索装置。
12. An ambiguity determination rule defining means for defining a criterion for determining whether a keyword obtained by said expanded word extraction means is an ambiguous word, and said ambiguity determination rule definition means based on the keyword obtained by said expansion word extraction means. An ambiguous word judging unit for judging an ambiguous word based on the defined judging criterion, and an extraction condition of a value of a column item which is a related word for the ambiguous word is defined from a line obtained by the expanded word extracting unit for the ambiguous word. Related word definition means, and related word acquisition means for acquiring a related word for the ambiguous word according to the definition of the related word definition means, and creating a keyword formula by combining the ambiguous word and the related word. 7. The method according to claim 6, wherein the keyword formula integrating means also integrates the keyword formula created by the related word acquiring means to create a keyword formula for text search. Text search device.
【請求項13】前記キーワード式作成手段で作成された
キーワード式をすべて表示し、ユーザが追加・削除など
の編集を行うインターフェースを提供する展開結果編集
手段を有することを特徴とする請求項1または3記載の
テキスト検索装置。
13. An expansion result editing means for displaying all the keyword expressions created by said keyword expression creating means and providing an interface for a user to edit such as addition / deletion. 3. The text search device according to 3.
【請求項14】前記キーワード式統合手段で作成された
キーワード式をすべて表示し、ユーザが追加・削除など
の編集を行うインターフェースを提供する展開結果編集
手段を有することを特徴とする請求項6記載のテキスト
検索装置。
14. A system according to claim 6, further comprising an expansion result editing means for displaying all the keyword expressions created by said keyword expression integrating means and providing an interface for a user to perform an addition or deletion. Text search device.
【請求項15】テキスト検索のためのキーワードをユー
ザが入力するテキスト検索条件入力手段と、 行と列から成る表形式データベースにおいて、この表形
式データベースの列項目の値により行同士の類似性を判
定するための類似条件を定義する類似判定定義手段と、 前記テキスト検索条件入力手段で入力されたキーワード
を含む行を前記表形式データベースから検索し、その行
と前記類似条件を満たす行から、ユーザの入力したキー
ワードを値として持つ列項目の値をキーワードとして取
得する類似キーワード取得手段と、 前記テキスト検索条件入力手段を介して入力されたキー
ワードを組み合わせたキーワード式と、前記類似キーワ
ード取得手段で取得られたキーワードを組み合わせたキ
ーワード式とを統合したキーワード式を作成するキーワ
ード式統合手段とを少なくとも有することを特徴とする
テキスト検索装置。
15. A text search condition input means for inputting a keyword for text search by a user, and in a tabular database composed of rows and columns, the similarity between rows is determined based on the values of column items in the tabular database. A similarity determination defining means for defining a similar condition for performing the search, a line including the keyword input by the text search condition input means is searched from the tabular database, and from the line and the line satisfying the similarity condition, A similar keyword obtaining unit that obtains, as a keyword, a value of a column item having the input keyword as a value; a keyword formula that combines the keywords input through the text search condition input unit; and a similar keyword obtaining unit that obtains the keyword expression. Create a keyword expression that combines the keyword expression that combines the keywords Text search apparatus characterized by having at least a keyword expression integration unit.
【請求項16】コンピュータに、 行と列から成る表形式データベースの指定と、テキスト
データベースを検索するためのデータベース検索式の入
力が行えるDB検索条件入力機能と、 前記表形式データベースにおいて取得すべきキーワード
を値として持つ列項目を定義する取得属性定義機能と、 前記DB検索条件入力機能で指定された表形式データベ
ースから前記データベース検索式を満たす行を選択し、
その行から前記取得属性定義機能で定義した列項目の値
であるキーワードを取得するためのデータベース検索命
令文を作成するDB検索命令文作成機能と、 前記データベース検索命令文を実行して前記取得属性定
義機能で定義した列項目の値であるキーワードを取得す
る展開語抽出機能と、 前記展開語抽出機能で取得したキーワードを用いて前記
テキストデータベースを検索するキーワード式を作成す
るキーワード式作成機能とを少なくとも実現させるため
のテキスト検索プログラムを記録したコンピュータ読み
取り可能な記録媒体。
16. A DB search condition input function which allows a computer to specify a tabular database composed of rows and columns and to input a database search formula for searching a text database, and a keyword to be acquired in the tabular database An acquisition attribute definition function for defining a column item having a value as a value, and selecting a row that satisfies the database search expression from a tabular database specified by the DB search condition input function,
A DB search statement creation function for creating a database search statement for acquiring a keyword that is a value of a column item defined by the acquisition attribute definition function from the row; and executing the database search statement to obtain the acquisition attribute. An expansion word extraction function for acquiring a keyword that is a value of a column item defined by a definition function; and a keyword expression creation function for creating a keyword expression for searching the text database using the keyword acquired by the expansion word extraction function. A computer-readable recording medium that records at least a text search program to be realized.
【請求項17】前記DB検索条件入力機能が、 前記表形式データベースの一覧を表示し、前記表形式デ
ータベースを選択するためのユーザインターフェースを
提供するDBユーザ選択機能と、 前記DBユーザ選択機能によって選択された表形式デー
タベースから列項目を取得して一覧表示し、各列項目に
対する値を入力するためのユーザインターフェースを提
供するDB検索式入力機能とを有して構成される請求項
16記載のテキスト検索プログラムを記録したコンピュ
ータ読み取り可能な記録媒体。
17. The DB search condition input function displays a list of the tabular databases, and provides a user interface for selecting the tabular database, and a DB user selecting function to select the tabular database. 17. The text according to claim 16, further comprising: a DB search expression input function for acquiring a column item from the tabulated database and displaying the list, and providing a user interface for inputting a value for each column item. A computer-readable recording medium recording a search program.
【請求項18】コンピュータに、 テキスト検索のためのキーワードまたは自然言語文をユ
ーザが入力するテキスト検索条件入力機能と、 前記テキスト検索条件入力機能を介して入力されたキー
ワードまたは自然言語文に対して、適切な行と列から成
る表形式データベースを選択し、その表形式データベー
スから所望の行を検索するための条件を記述した式であ
るデータベース検索式を作成するDB検索条件作成機能
と、 前記表形式データベースにおいて取得すべきキーワード
を値として持つ列項目を定義する取得属性定義機能と、 前記DB検索条件作成機能で選択した表形式データベー
スから、前記データベース検索式を満たす行を選択し、
その行から前記取得属性定義機能で定義した列項目の値
であるキーワードを取得するためのデータベース検索命
令文を作成するDB検索命令文作成機能と、 前記データベース検索命令文を実行して前記取得属性定
義機能で定義した列項目のキーワードを取得する展開語
抽出機能と、 前記展開語抽出機能で取得したキーワードを用いてテキ
スト検索のためのキーワード式を作成するキーワード式
作成機能とを少なくとも実現させるためのテキスト検索
プログラムを記録したコンピュータ読み取り可能な記録
媒体。
18. A computer, comprising: a text search condition input function for inputting a keyword or a natural language sentence for text search by a user; and a keyword or a natural language sentence input through the text search condition input function. A DB search condition creation function for selecting a tabular database including appropriate rows and columns, and creating a database search expression that is an expression describing a condition for searching for a desired row from the tabular database; An acquisition attribute definition function that defines a column item having a keyword to be acquired in a format database as a value, and a row that satisfies the database search formula is selected from a table database selected by the DB search condition creation function
A DB search statement creation function for creating a database search statement for acquiring a keyword that is a value of a column item defined by the acquisition attribute definition function from the row; and executing the database search statement to obtain the acquisition attribute. In order to realize at least a development word extraction function of acquiring a keyword of a column item defined by a definition function, and a keyword expression creation function of creating a keyword expression for text search using the keyword acquired by the expansion word extraction function And a computer-readable recording medium recording the text search program.
【請求項19】前記DB検索条件作成機能が、 キーワードが属する表形式データベースとキーワードの
表形式データベースにおける列項目とを示した情報を格
納する被展開語テーブルを作成する機能と、 前記テキスト検索条件入力機能を介して入力されたキー
ワードまたは前記テキスト検索条件入力機能で入力され
た自然言語文から得られるキーワードと前記被展開語テ
ーブルを照合することによって、前記表形式データベー
スを選択するDB自動選択機能と、 前記DB自動選択機能でデータベース選択に用いたキー
ワードとそのキーワードの表形式データベースにおける
列項目とからデータベース検索式を作成するDB検索式
作成機能とを有して構成される請求項18記載のテキス
ト検索プログラムを記録したコンピュータ読み取り可能
な記録媒体。
19. A function for creating a DB expansion condition table for storing information indicating a tabular database to which a keyword belongs and a column item of the keyword in a tabular database in the tabular database; A DB automatic selection function of selecting the tabular database by comparing the keyword input from the input function or the keyword obtained from the natural language sentence input by the text search condition input function with the developed word table 19. The database search function creating function for creating a database search equation from a keyword used for database selection by the DB automatic selection function and a column item of the keyword in a tabular database in a tabular database. Computer readable recorded text search program Recording medium.
【請求項20】ユーザの利用履歴の興味情報などの個人
情報を記憶するユーザ情報メモリを作成する機能を更に
備え、 前記DB自動選択機能は、前記ユーザ情報メモリも参照
して前記表形式データベースを選択することを特徴とす
る請求項19記載のテキスト検索プログラムを記録した
コンピュータ読み取り可能な記録媒体。
20. The apparatus further comprising a function of creating a user information memory for storing personal information such as interest information of a user's usage history, and wherein the DB automatic selection function refers to the user information memory and stores the tabular database. 20. A computer-readable recording medium on which the text search program according to claim 19 is selected.
【請求項21】テキスト検索のためのキーワードまたは
自然言語文をユーザが入力するテキスト検索条件入力機
能と、 前記テキスト検索条件入力機能を介して入力されたキー
ワードまたは自然言語文に対して、適切な行と列から成
る表形式データベースを選択し、その表形式データベー
スから所望の行を検索するための条件を記述した式であ
るデータベース検索式を作成するDB検索条件作成機能
と、 前記表形式データベースにおいて取得すべきキーワード
を値として持つ列項目を定義する取得属性定義機能と、 前記DB検索条件作成機能で選択した表形式データベー
スから前記データベース検索式を満たす行を選択し、そ
の行から前記取得属性定義機能で定義した列項目の値で
あるキーワードを取得するためのデータベース検索命令
文を作成するDB検索命令文作成機能と、 前記データベース検索命令文を実行して前記取得属性定
義機能で定義した列項目の値であるキーワードを取得す
る展開語抽出機能と、 前記テキスト検索条件入力機能で入力されたキーワード
を組み合わせたキーワード式または前記テキスト検索条
件入力機能で入力された自然言語文から得られるキーワ
ードを組み合わせたキーワード式と前記展開語抽出機能
で得られたキーワードを組み合わせたキーワード式とを
統合し、テキスト検索のためのキーワード式を作成する
キーワード式統合機能とを少なくとも実現させるための
テキスト検索プログラムを記録したコンピュータ読み取
り可能な記録媒体。
21. A text search condition input function for inputting a keyword or a natural language sentence for text search by a user, and an appropriate keyword or natural language sentence input through the text search condition input function. A DB search condition creation function for selecting a tabular database composed of rows and columns and creating a database search expression that is an expression describing a condition for searching for a desired row from the tabular database; An acquisition attribute definition function that defines a column item having a keyword to be acquired as a value, and a row that satisfies the database search formula is selected from the tabular database selected by the DB search condition creation function, and the acquisition attribute definition is selected from the row. A database search statement to retrieve the keyword that is the value of the column item defined in the function A DB search statement creation function to be executed, an expansion word extraction function for executing the database search statement and acquiring a keyword that is a value of a column item defined by the acquisition attribute definition function, and a text search condition input function. A keyword expression combining the input keywords or a keyword expression combining keywords obtained from the natural language sentence input by the text search condition input function and a keyword expression combining the keywords obtained by the expansion word extraction function A computer-readable recording medium that records a text search program for realizing at least a keyword expression integration function of integrating and creating a keyword expression for text search.
【請求項22】コンピュータに、 前記DB検索条件入力機能を介して入力されたデータベ
ース検索式からテキスト検索に用いるキーワードを値と
して持つ表形式データベースにおける列項目あるいは列
項目間の結合条件を定義するキーワード属性定義機能
と、 前記キーワード属性定義機能の定義に基づいて前記デー
タベース検索式からキーワードを抽出して組み合わせた
キーワード式を作成するキーワード結合機能と、更に実
現し、 前記キーワード式作成機能が、前記キーワード結合機能
で得られたキーワード式と前記展開語抽出機能で得られ
たキーワードを組み合わせたキーワード式とを統合し、
前記テキストデータベースを検索するキーワード式を作
成するキーワード式統合機能であるこを特徴とする請求
項16記載のテキスト検索プログラムを記録したコンピ
ュータ読み取り可能な記録媒体。
22. A computer that defines a column item or a join condition between column items in a tabular database having a keyword used for text search as a value from a database search formula input via the DB search condition input function. An attribute definition function; and a keyword combining function of creating a keyword expression by extracting and combining keywords from the database search expression based on the definition of the keyword attribute definition function. Integrate the keyword expression obtained by the combining function and the keyword expression obtained by combining the keywords obtained by the expansion word extraction function,
17. The computer-readable recording medium storing a text search program according to claim 16, which is a keyword expression integration function for creating a keyword expression for searching the text database.
【請求項23】コンピュータに表形式データベースにお
ける列項目間の展開関係を定義する属性展開関係定義機
能と、を更に実現し、 前記DB検索命令文作成機能は、前記DB検索条件入力
機能にて入力されたデータベース検索式あるいは前記D
B検索条件作成機能にて作成されたデータベース検索式
を前記属性展開関係定義機能の定義に基づいて展開し、
前記取得属性定義機能にて定義した列項目の値であるキ
ーワードを取得するためのデータベース検索命令文を作
成することを特徴とする請求項16、18または21記
載のテキスト検索プログラムを記録したコンピュータ読
み取り可能な記録媒体。
23. A computer, further comprising: an attribute expansion relation definition function for defining an expansion relation between column items in a tabular database, wherein the DB search command statement creation function is input by the DB search condition input function. Database search formula or D
B Expand the database search formula created by the search condition creation function based on the definition of the attribute expansion relationship definition function,
22. A computer-readable recording program for recording a text search program according to claim 16, wherein a database search command sentence for obtaining a keyword which is a value of a column item defined by the acquisition attribute definition function is created. Possible recording medium.
【請求項24】コンピュータに、 前記展開語抽出機能が取得したキーワードが曖昧語か否
かの判定基準を定義する曖昧判定規則定義機能と、 前記展開語抽出機能が取得したキーワードから前記曖昧
判定規則定義機能で定義した判定基準に基づいて曖昧語
を除去し、曖昧語を除去したキーワードを前記キーワー
ド式作成機能に出力する曖昧語除去機能とを更に実現す
る請求項16または請求項18記載のテキスト検索プロ
グラムを記録したコンピュータ読み取り可能な記録媒
体。
24. A computer, comprising: an ambiguity determination rule definition function for defining a criterion for determining whether a keyword obtained by the expansion word extraction function is an ambiguous word; and an ambiguity determination rule from the keyword obtained by the expansion word extraction function. 19. The text according to claim 16, further comprising: an ambiguous word removing function of removing an ambiguous word based on a criterion defined by a definition function and outputting the keyword from which the ambiguous word has been removed to the keyword expression creating function. A computer-readable recording medium recording a search program.
【請求項25】コンピュータに、 前記展開語抽出機能が取得したキーワードが曖昧語か否
かの判定基準を定義する曖昧判定規則定義手段と、 前記展開語抽出機能が取得したキーワードから前記曖昧
判定規則定義機能で定義した判定基準に基づいて曖昧語
を除去し、曖昧語を除去したキーワードを前記キーワー
ド式統合機能に出力する曖昧語除去機能とを有すること
を特徴とする請求項21記載のテキスト検索プログラム
を記録したコンピュータ読み取り可能な記録媒体。
25. An ambiguity determination rule defining means for defining a criterion for determining whether or not a keyword acquired by the expansion word extraction function is an ambiguous word; and an ambiguity determination rule based on the keyword acquired by the expansion word extraction function. 22. The text search according to claim 21, further comprising: an ambiguous word removing function that removes an ambiguous word based on a criterion defined by a definition function and outputs the keyword from which the ambiguous word has been removed to the keyword expression integration function. A computer-readable recording medium on which a program is recorded.
【請求項26】コンピュータに、 前記展開語抽出機能が取得したキーワードが曖昧語か否
かの判定基準を定義する曖昧判定規則定義機能と、 前記展開語抽出機能が取得したキーワードから前記曖昧
判定規則定義機能で定義した判定基準に基づいて曖昧語
を判定する曖昧語判定機能と、 前記曖昧語を前記展開語抽出機能が取得した行から前記
曖昧語に対する関連語となる列項目の値の抽出条件を定
義する関連語定義機能と、 前記関連語定義機能の定義にしたがって前記曖昧語に対
する関連語を取得し、前記曖昧語とその関連語とを組み
合わせてキーワード式を作成する関連語取得機能と、を
更に実現し、 前記キーワード式作成機能が、前記関連語取得機能で作
成したキーワード式も用いて、前記テキストデータベー
スを検索するキーワード式を作成する請求項16または
請求項18記載のテキスト検索プログラムを記録したコ
ンピュータ読み取り可能な記録媒体。
26. A computer, comprising: an ambiguity determination rule definition function for defining a criterion for determining whether a keyword acquired by the expansion word extraction function is an ambiguous word; and an ambiguity determination rule from the keyword acquired by the expansion word extraction function. An ambiguous word judging function for judging an ambiguous word based on a judgment criterion defined by a definition function; and an extraction condition of a value of a column item serving as a related word for the ambiguous word from a row obtained by the expanded word extracting function for the ambiguous word. A related word definition function for defining, and a related word acquisition function for acquiring a related word for the ambiguous word according to the definition of the related word definition function, and creating a keyword formula by combining the ambiguous word and its related word; A keyword for searching the text database by using the keyword expression created by the related word acquisition function. A computer-readable recording medium according to claim 16 or claim 18, wherein the text retrieval program for creating a.
【請求項27】前記展開語抽出機能が取得したキーワー
ドが曖昧語か否かの判定基準を定義する曖昧判定規則定
義機能と、 前記展開語抽出機能が取得したキーワードから前記曖昧
判定規則定義機能で定義した判定基準に基づいて曖昧語
を判定する曖昧語判定機能と、 前記曖昧語を前記展開語抽出機能が取得した行から前記
曖昧語に対する関連語となる列項目の値の抽出条件を定
義する関連語定義機能と、 前記関連語定義機能の定義にしたがって前記曖昧語に対
する関連語を取得し、前記曖昧語とその関連語とを組み
合わせてキーワード式を作成する関連語取得機能と、を
更に実現し、 前記キーワード式統合機能が、前記関連語取得機能で作
成したキーワード式も統合し、テキスト検索のためのキ
ーワード式を作成する請求項21記載のテキスト検索プ
ログラムを記録したコンピュータ読み取り可能な記録媒
体。
27. An ambiguity determination rule definition function for defining a criterion for determining whether a keyword acquired by the expansion word extraction function is an ambiguous word, and an ambiguity determination rule definition function based on the keyword acquired by the expansion word extraction function. An ambiguous word determination function for determining an ambiguous word based on the defined criteria, and an extraction condition for a value of a column item serving as a related word for the ambiguous word from a line obtained by the expanded word extraction function for the ambiguous word. Further realizing a related word definition function and a related word obtaining function of obtaining a related word for the vague word according to the definition of the related word definition function, and creating a keyword formula by combining the vague word and the related word. 22. The text according to claim 21, wherein the keyword expression integration function integrates the keyword expression created by the related word acquisition function to create a keyword expression for text search. A computer-readable recording medium on which a program for retrieving a list is recorded.
【請求項28】コンピュータに、 前記キーワード式作成機能で作成されたキーワード式を
すべて表示し、ユーザが追加・削除などの編集を行うイ
ンターフェースを提供する展開結果編集機能を更に実現
する請求項16または18記載のテキスト検索プログラ
ムを記録したコンピュータ読み取り可能な記録媒体。
28. The computer system according to claim 16, further comprising: displaying, on the computer, all of the keyword expressions created by the keyword expression creating function, and providing an expansion result editing function of providing an interface for a user to perform editing such as addition or deletion. 19. A computer-readable recording medium recording the text search program according to 18.
【請求項29】コンピュータに、 前記キーワード式統合機能で作成されたキーワード式を
すべて表示し、ユーザが追加・削除などの編集を行うイ
ンターフェースを提供する展開結果編集機能を更に実現
する請求項21記載のテキスト検索プログラムを記録し
たコンピュータ読み取り可能な記録媒体。
29. The computer system according to claim 21, further comprising: displaying, on a computer, all of the keyword expressions created by the keyword expression integration function, and providing an expansion result editing function of providing an interface for a user to perform an addition / deletion operation. And a computer-readable recording medium recording the text search program.
【請求項30】コンピュータに、 テキスト検索のためのキーワードをユーザが入力するテ
キスト検索条件入力機能と、 行と列から成る表形式データベースにおいて、この表形
式データベースの列項目の値により行同士の類似性を判
定するための類似条件を定義する類似判定定義機能と、 前記テキスト検索条件入力機能で入力されたキーワード
を含む行を前記表形式データベースから検索し、その行
と前記類似条件を満たす行から、ユーザの入力したキー
ワードを値として持つ列項目の値をキーワードとして取
得する類似キーワード取得機能と、 前記テキスト検索条件入力機能を介して入力されたキー
ワードを組み合わせたキーワード式と、前記類似キーワ
ード取得機能で取得られたキーワードを組み合わせたキ
ーワード式とを統合したキーワード式を作成するキーワ
ード式統合機能とを少なくとも実現させるためのテキス
ト検索プログラムを記録したコンピュータ読み取り可能
な記録媒体。
30. A computer, comprising: a text search condition input function for inputting a keyword for text search by a user; and, in a tabular database comprising rows and columns, similarity between rows by a column item value of the tabular database. A similarity determination definition function for defining similarity conditions for determining the similarity, and a line including the keyword input by the text search condition input function is searched from the tabular database, and the line and the line satisfying the similarity condition are searched. A similar keyword acquisition function for acquiring a value of a column item having a keyword input by a user as a value as a keyword, a keyword expression combining keywords input via the text search condition input function, and a similar keyword acquisition function Key that combines the keyword expression obtained by combining with the keyword expression A computer-readable recording medium on which a text search program for realizing at least a keyword expression integration function for creating a word expression is recorded.
JP18593498A 1998-07-01 1998-07-01 Text search device and computer-readable recording medium storing text search program Expired - Fee Related JP3178421B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18593498A JP3178421B2 (en) 1998-07-01 1998-07-01 Text search device and computer-readable recording medium storing text search program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18593498A JP3178421B2 (en) 1998-07-01 1998-07-01 Text search device and computer-readable recording medium storing text search program

Publications (2)

Publication Number Publication Date
JP2000020537A true JP2000020537A (en) 2000-01-21
JP3178421B2 JP3178421B2 (en) 2001-06-18

Family

ID=16179447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18593498A Expired - Fee Related JP3178421B2 (en) 1998-07-01 1998-07-01 Text search device and computer-readable recording medium storing text search program

Country Status (1)

Country Link
JP (1) JP3178421B2 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001282828A (en) * 2000-03-30 2001-10-12 Just Syst Corp Device for retrieval and method of retrieval, and storage medium
JP2001331518A (en) * 2000-05-22 2001-11-30 Instranet Inc System for publishing, organizing, accessing, and distributing information on computer network
JP2002117041A (en) * 2000-10-10 2002-04-19 Nec Corp Database inquiring system
JP2002175322A (en) * 2000-12-07 2002-06-21 Taiji Kasai Method and system for collecting information
JP2002329140A (en) * 2001-03-02 2002-11-15 System Location Co Ltd Catalog data input system and retrieval system for vehicle type database generated by the catalog data input system
JP2004062794A (en) * 2002-07-31 2004-02-26 P To Pa:Kk Conversation control system, conversation control method and program
JP2006024071A (en) * 2004-07-09 2006-01-26 Matsushita Electric Ind Co Ltd Automatic reply retrieving device
JP2009043022A (en) * 2007-08-08 2009-02-26 Fujitsu Ltd Device for automatically generating inquiry picture for tagged document data inquiry processing system
JP2011081794A (en) * 2009-10-06 2011-04-21 Internatl Business Mach Corp <Ibm> Method for mutual search and alert, information processing system, and computer program (mutual search and alert between structured data source and unstructured data source)
JP2014102562A (en) * 2012-11-16 2014-06-05 Nintendo Co Ltd Program, information processing device, information processing system and information processing method
JP2019159396A (en) * 2018-03-07 2019-09-19 株式会社日本電気特許技術情報センター Editing device, editing method, and editing program
JP2021096673A (en) * 2019-12-18 2021-06-24 本田技研工業株式会社 Vehicle information retrieval method and vehicle information retrieval device
WO2022208822A1 (en) * 2021-03-31 2022-10-06 富士通株式会社 Information processing program, information processing method, information processing device, and information processing system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001282828A (en) * 2000-03-30 2001-10-12 Just Syst Corp Device for retrieval and method of retrieval, and storage medium
JP2001331518A (en) * 2000-05-22 2001-11-30 Instranet Inc System for publishing, organizing, accessing, and distributing information on computer network
JP2002117041A (en) * 2000-10-10 2002-04-19 Nec Corp Database inquiring system
JP2002175322A (en) * 2000-12-07 2002-06-21 Taiji Kasai Method and system for collecting information
JP2002329140A (en) * 2001-03-02 2002-11-15 System Location Co Ltd Catalog data input system and retrieval system for vehicle type database generated by the catalog data input system
JP2004062794A (en) * 2002-07-31 2004-02-26 P To Pa:Kk Conversation control system, conversation control method and program
JP2006024071A (en) * 2004-07-09 2006-01-26 Matsushita Electric Ind Co Ltd Automatic reply retrieving device
JP2009043022A (en) * 2007-08-08 2009-02-26 Fujitsu Ltd Device for automatically generating inquiry picture for tagged document data inquiry processing system
JP2011081794A (en) * 2009-10-06 2011-04-21 Internatl Business Mach Corp <Ibm> Method for mutual search and alert, information processing system, and computer program (mutual search and alert between structured data source and unstructured data source)
US8930389B2 (en) 2009-10-06 2015-01-06 International Business Machines Corporation Mutual search and alert between structured and unstructured data stores
JP2014102562A (en) * 2012-11-16 2014-06-05 Nintendo Co Ltd Program, information processing device, information processing system and information processing method
JP2019159396A (en) * 2018-03-07 2019-09-19 株式会社日本電気特許技術情報センター Editing device, editing method, and editing program
JP7050533B2 (en) 2018-03-07 2022-04-08 株式会社日本電気特許技術情報センター Editing device, editing method and editing program
JP2021096673A (en) * 2019-12-18 2021-06-24 本田技研工業株式会社 Vehicle information retrieval method and vehicle information retrieval device
JP7079235B2 (en) 2019-12-18 2022-06-01 本田技研工業株式会社 Vehicle information retrieval method and vehicle information retrieval device
WO2022208822A1 (en) * 2021-03-31 2022-10-06 富士通株式会社 Information processing program, information processing method, information processing device, and information processing system

Also Published As

Publication number Publication date
JP3178421B2 (en) 2001-06-18

Similar Documents

Publication Publication Date Title
JP3691844B2 (en) Document processing method
US6366908B1 (en) Keyfact-based text retrieval system, keyfact-based text index method, and retrieval method
US5523945A (en) Related information presentation method in document processing system
JP4634715B2 (en) Search for matching documents by querying in any national language
US8250074B2 (en) Document processing system and method thereof
JP2002297605A (en) Method and device for structured document retrieval, and program
JP2001043236A (en) Synonym extracting method, document retrieving method and device to be used for the same
JP2005122295A (en) Relationship figure creation program, relationship figure creation method, and relationship figure generation device
WO2002091234A1 (en) Retrieval device for database of secondary information-attached text
JP3178421B2 (en) Text search device and computer-readable recording medium storing text search program
JP4091146B2 (en) Document retrieval apparatus and computer-readable recording medium recording a program for causing a computer to function as the apparatus
JPH0484271A (en) Intra-information retrieval device
JP3356519B2 (en) Document information retrieval device
JP3612769B2 (en) Information search apparatus and information search method
EP3432161A1 (en) Information processing system and information processing method
JP3617096B2 (en) Relational expression extraction apparatus, relational expression search apparatus, relational expression extraction method, relational expression search method
JP4439497B2 (en) Search processing apparatus and program
KR101835994B1 (en) Method and apparatus of providing searching service for electronic books
JP2003316783A (en) Heterogeneous semi-structured information integration/ retrieval device, method and program, and recording medium with program recorded thereon
JP4783563B2 (en) Index generation program, search program, index generation method, search method, index generation device, and search device
JP2009140113A (en) Dictionary editing device, dictionary editing method, and computer program
JP2002297662A (en) Method and device for editing structured document, terminal, and program
JP2004118543A (en) Method for retrieving structured document, and method, device and program for supporting retrieval
JP4034503B2 (en) Document search system and document search method
JP2004133510A (en) Technical literature retrieval system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010313

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

Free format text: PAYMENT UNTIL: 20080413

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090413

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100413

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110413

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120413

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120413

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130413

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130413

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20140413

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees