JPH0785006A - Method and device for retrieving information - Google Patents

Method and device for retrieving information

Info

Publication number
JPH0785006A
JPH0785006A JP5180680A JP18068093A JPH0785006A JP H0785006 A JPH0785006 A JP H0785006A JP 5180680 A JP5180680 A JP 5180680A JP 18068093 A JP18068093 A JP 18068093A JP H0785006 A JPH0785006 A JP H0785006A
Authority
JP
Japan
Prior art keywords
search
character string
file
information
natural language
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5180680A
Other languages
Japanese (ja)
Inventor
Junichi Aoe
順一 青江
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.)
JustSystems Corp
Original Assignee
JustSystems 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 JustSystems Corp filed Critical JustSystems Corp
Priority to JP5180680A priority Critical patent/JPH0785006A/en
Publication of JPH0785006A publication Critical patent/JPH0785006A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily retrieve a target file and further to improve a user interface by inputting a retrieval conditional expression with a character string in a natural language form, interpreting the meaning of this character string and retrieving a storage medium while referring to a file managing table and a directory based on the result of this interpretation. CONSTITUTION:A thesaurus dictionary 22 stores a keyword group for file retrieval and the relation of those keywords. A reserved word dictionary 23 stores the meaning and meaning contents of specified character strings previously decided for file retrieval. A logical arithmetic table 24 stores the logical arithmetic contents of specified character strings to be used for Japanese. When the retrieval conditional expression is inputted with the character string in the natural language form, an OS 20 and an application program 21 interprete the meaning of this character string while referring to these thesaurus dictionary 22, reserved word dictionary 23 and logical arithmetic table 24. Based on the result of this interpretation, the OS 20 and this program 21 retrieve the target file while referring to a file managing table 25 and a file storage area 26.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は情報検索方法及びその装
置、詳しくは記憶媒体に記憶された多数のファイルの中
から目的のファイルを探し出す情報検索方法及びその装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information retrieving method and apparatus, and more particularly to an information retrieving method and apparatus for finding a target file from a large number of files stored in a storage medium.

【0002】[0002]

【従来の技術】近年、外部記憶装置、特にハードディス
ク装置や光磁気ディスク装置等は大容量化及び低価格化
が進んできており、広く普及している。こうした大容量
の記憶装置が普及してくると、そこに多量の文書ファイ
ル等を記憶できるようになる。更に、これまでのフロッ
ピーディスク等の記憶メディアの出し入れ操作が不要に
なると共に高速な読み書きが可能となることもあって操
作面での環境は向上する。しかし、非常に多量の文書を
記憶させると、目的の文書ファイルを探し出すのが困難
になるという反面がある。
2. Description of the Related Art In recent years, external storage devices, particularly hard disk devices, magneto-optical disk devices, etc., have become widespread due to their large capacity and low price. When such a large-capacity storage device becomes widespread, it becomes possible to store a large amount of document files and the like therein. Further, since the operation of taking in and out a storage medium such as a floppy disk, which has been necessary up to now, is not necessary and high-speed reading and writing are possible, the operating environment is improved. However, if an extremely large amount of documents are stored, it is difficult to find the target document file.

【0003】[0003]

【発明が解決しようとする課題】通常、ファイルを階層
構造(木構造)で管理できるOSが稼働する電子機器、
例えば各階層(ディレクトリと一般には呼ばれている)
にファイルを分類するのに適した名称を付け、各々の階
層の下に作成した文書ファイルを記憶させることで、フ
ァイルの管理を行っているのが常である。しかしなが
ら、どの階層下に作成した文書を記憶させるかを決定す
るのは操作者であって、その操作が適切でないと後で発
見するのに苦労する。また、仮に文書の保存先が正しく
行われた場合であっても、その階層の下に記憶される文
書ファイルの数が膨れ上がってくる場合を想定すると、
目的の文書を探し出すのは困難になることは避けられな
い。
Generally, an electronic device running an OS capable of managing files in a hierarchical structure (tree structure),
For example, each level (commonly called a directory)
It is usual to manage files by assigning a name suitable for classifying the files to and storing the document files created under each hierarchy. However, it is the operator who decides under which hierarchy the created document should be stored, and it is difficult to discover later that the operation is not appropriate. Further, even if the document is stored in the correct location, assuming that the number of document files stored under that layer expands,
It is inevitable that finding the desired document will be difficult.

【0004】[0004]

【課題を解決するための手段】本発明はかかる従来技術
に鑑みなされたものであり、目的ファイルを容易に探し
出し、しかも、ユーザインターフェースに優れた情報検
索方法及びその装置を提供しようとするものである。こ
の課題を解決するため、本発明の情報検索方法は以下の
工程を備える。すなわち、複数の情報ファイル及びここ
のファイルを特定するための文字列を記憶している記憶
媒体の中から所望とするファイルを検索するファイル検
索方法において、検索条件式を自然言語形態の文字列で
入力する工程と、入力した自然言語文字列を解釈して、
前記記憶媒体を検索する検索工程とを備える。
SUMMARY OF THE INVENTION The present invention has been made in view of the above prior art, and aims to provide an information retrieval method and an apparatus therefor which can easily find a target file and which has an excellent user interface. is there. In order to solve this problem, the information search method of the present invention includes the following steps. That is, in a file search method for searching for a desired file from a storage medium that stores a plurality of information files and a character string for identifying the file, the search condition expression is a natural language character string. Interpret the input process and the input natural language character string,
And a search step of searching the storage medium.

【0005】また、本発明の情報検索装置は以下に示す
構成を備える。すなわち、複数の情報ファイル及びここ
のファイルを特定するための文字列を記憶している記憶
媒体の中から所望とするファイルを検索するファイル検
索装置において、検索条件式を自然言語形態の文字列で
入力する手段と、入力した自然言語文字列を解釈して、
前記記憶媒体を検索する検索手段とを備える。
The information retrieval device of the present invention has the following configuration. That is, in a file search device that searches for a desired file from a storage medium that stores a plurality of information files and a character string for specifying the file, the search condition expression is a natural language character string. Interpret the input means and the input natural language character string,
And a search means for searching the storage medium.

【0006】[0006]

【作用】かかる本発明の工程或いは装置において、自然
言語形態の文章を入力し、その入力した文章のなす意味
に従って検索を行う。
In the process or apparatus of the present invention, a sentence in a natural language form is input and a search is performed according to the meaning of the input sentence.

【0007】[0007]

【実施例】以下、添付図面に従って本発明にかかる実施
例を詳細に説明する。図1は実施例における情報処理装
置のブロック構成図である。図示において、1は本装置
全体の制御を司るCPU、2はブートプログラム及び文
字フォントを記憶しているROM、3は編集対象の情報
を記憶したりCPU1のワークエリアとして使用するR
AMである。4は各種指示を与えたり文字列を入力する
キーボード、5はマウス等の表示画面上の任意の位置を
指定するポインティングデバイスである。6は表示画面
に表示する情報に一対一に対応するイメージを展開する
VRAM、7はVRAM6に展開された情報を表示する
表示装置である。そして、8はオペレーティングシステ
ム(OS)や各種アプリケーションプログラムをはじめ
とし、更には後述する各種情報を記憶する外部記憶装置
(例えばハードディスク装置)である。
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 is a block diagram of the information processing apparatus in the embodiment. In the figure, 1 is a CPU that controls the entire apparatus, 2 is a ROM that stores a boot program and character fonts, 3 is an R that is used for storing information to be edited and used as a work area of the CPU 1.
AM. Reference numeral 4 is a keyboard for giving various instructions and inputting a character string, and 5 is a pointing device such as a mouse for designating an arbitrary position on the display screen. Reference numeral 6 is a VRAM that develops an image corresponding to the information displayed on the display screen one-to-one, and 7 is a display device that displays the information developed in the VRAM 6. An external storage device (for example, a hard disk device) 8 stores an operating system (OS), various application programs, and various information described later.

【0008】上記構成における実施例の動作概要は、外
部記憶装置8に記憶されているファイルをユーザが通常
の会話形式の検索情報を入力して対応するファイルを検
索するものである。具体的には、例えば“コンピュータ
に関し、去年の文書”という具合に通常使い慣れた文章
形式(自然言語形式)の検索条件を入力して検索を行う
ものである。外部記憶装置8の記憶内容を図2に示す。
外部記憶装置8には、OS20、各種アプリケーション
プログラム(文書編集プログラムや図形演習プログラム
等)21をはじめとする以下の情報が記憶されている。
22はファイル検索に用いられるキーワード群及びそれ
らの関係を記憶しているシソーラス辞書、23はファイ
ル検索のために予め決められた特定文字列の意味及びそ
の意味内容を記憶している予約語辞書、24は日本語で
用いられる特定の文字列の論理演算内容を記憶している
論理演算テーブル、25は各種ファイルを管理するファ
イル管理テーブルである。26は各種アプリケーション
プログラムを実行して作成・編集された情報をファイル
として記憶するファイル格納エリア、27はかな漢字変
換のための辞書である。
The outline of the operation of the embodiment having the above-mentioned structure is that the user inputs the usual conversation type search information for the file stored in the external storage device 8 and searches for the corresponding file. Specifically, the search is performed by inputting a search condition in a text format (natural language format) that is normally used, such as "Document for computer last year". The stored contents of the external storage device 8 are shown in FIG.
The external storage device 8 stores the following information including an OS 20 and various application programs (document editing program, figure practice program, etc.) 21.
Reference numeral 22 is a thesaurus dictionary that stores a keyword group used for file search and their relation, 23 is a reserved word dictionary that stores the meaning of a specific character string predetermined for file search and its meaning content, Reference numeral 24 is a logical operation table that stores the logical operation contents of a specific character string used in Japanese, and 25 is a file management table that manages various files. Reference numeral 26 is a file storage area for storing information created and edited by executing various application programs as a file, and 27 is a dictionary for kana-kanji conversion.

【0009】上記各種情報において、シソーラス辞書2
2の概念図を図3に示す。シソーラス辞書22は、図示
の如く木構造になっていて、例えば、“文化”という単
語の下(下位)には“言語”、“学術”といった単語が
含まれることを示している。そして、各単語の下位に
は、文字通りその下位の概念を表す単語が接続される。
かかる辞書構造において、ユーザが特定の文字列を入力
して検索を行う場合には、その文字列、及び当該文字列
の下位に位置する全ての文字列を検索対象としてファイ
ル検索を行うものである。実施例における予約語辞書2
3の構造は図4に示す。予約語辞書23は図示の如く時
間に関する文字列を管理している。図示で、『xx』は
任意の文字列が位置することを示している。
In the above various information, the thesaurus 2
A conceptual diagram of No. 2 is shown in FIG. The thesaurus dictionary 22 has a tree structure as shown in the figure, and indicates that, for example, the words "language" and "academic" are included below (lower) the word "culture". Then, a word that literally represents the concept of the subordinate is connected to the subordinate of each word.
In such a dictionary structure, when a user inputs a specific character string to perform a search, the character string and all character strings located under the character string are searched for a file. . Reserved word dictionary 2 in the embodiment
The structure of 3 is shown in FIG. The reserved word dictionary 23 manages character strings related to time as illustrated. In the figure, “xx” indicates that an arbitrary character string is located.

【0010】例えば、文字列『から』とは、その形態が
第1パラメータで表される時期と第2パラメータで表さ
れる時期との間を表すために使用される。また、『去
年』とは現在の年(本装置が有している不図示の時計で
計時されている)から“1”を引くことを意味してい
る。また、文字列『去年の』の後に続くパラメータとし
ては、“文書”、“図形”が位置することを想定してい
る。実施例で予約語辞書23に記憶されている文字列に
は優先順位がある。ここではその記憶順位で優先順位を
管理しているが、その順位を示す番号を保持するように
してもよい。但し、『xxの文書(図形)』という文字
列の『の文書』は一番優先順位が低いものとして定義す
る。上記の如く、予約語遺書23は、ユーザが入力した
時間限定にかかる文字列を解釈し、その内容を認識する
ために使用される。尚、予約語辞書23にはユーザが任
意に新たな文字列を登録することができるようになって
いる。
For example, the character string "kara" is used to represent a period between the time when the form is represented by the first parameter and the time when the form is represented by the second parameter. Also, "last year" means subtracting "1" from the current year (clocked by a clock (not shown) of the present device). Further, it is assumed that "document" and "figure" are located as parameters following the character string "last year". In the embodiment, the character strings stored in the reserved word dictionary 23 have a priority order. Here, the priority order is managed by the storage order, but a number indicating the order may be held. However, "no document" of the character string "xx document (graphic)" is defined as having the lowest priority. As described above, the reserved word will 23 is used for interpreting the time-limited character string input by the user and recognizing its content. The reserved word dictionary 23 allows the user to arbitrarily register a new character string.

【0011】次に論理演算テーブル24の内容を図6に
示す。複数の独立した検索語(その文字列のみで検索内
容がわかる文字列)の組み合わせによって、より限定し
た検索文字列を作成する必要がある。これを自然言語で
構築するためには、個々の独立検索語を何らかの手段で
連結する必要がある。その連結するための文字列を管理
するのがこの論理演算テーブルである。図示において、
例えば文字列『で、』とは、2つの独立した条件文字列
を連結するための接続文字列で、第1条件文字列を満足
すると共に、第2条件文字列を満足するものを探し出す
場合(論理積)に使用される。また、先に説明した条件
文字列『コンピュータに関し、去年の文書』の場合には
文字列『に関し、』の前に位置するキーワード『コンピ
ュータ』と後に続く『去年の文書』の2つの論理積をと
ることを意味している。従って、『去年で、コンピュー
タの文書』としても全く同じ意味である。但し、日本語
として見た場合、前者の方が自然である。この論理演算
テーブル24にもユーザが自由に新たな文字列を追加す
ることが可能になっている。優先順位はその格納順次に
従うものとするが、優先番号を付すようにしてもよいの
は予約語辞書23と同様である。
The contents of the logical operation table 24 are shown in FIG. It is necessary to create a more limited search character string by combining a plurality of independent search words (a character string whose search content is known only by the character string). In order to construct this in natural language, it is necessary to connect individual independent search terms by some means. This logical operation table manages the character string for the connection. In the figure,
For example, the character string “de,” is a connection character string for connecting two independent condition character strings, and when a character string satisfying the first condition character string and the second condition character string is searched for ( Used for AND). Further, in the case of the condition character string "Computer, last year's document" described above, two logical products of the keyword "computer" preceding the character string "and" and the following "last year's document" are calculated. It means to take. Therefore, it means exactly the same as "Last year, computer documents". However, when viewed as Japanese, the former is more natural. The user can freely add a new character string also to the logical operation table 24. The priority order is based on the order of storage, but a priority number may be added, as in the reserved word dictionary 23.

【0012】次に、実施例のファイル管理テーブル25
の内容を図5に示す。図示の如く、各ファイルは、その
名称、作成者、キーワード情報から構成されている。あ
る1つのアプリケーションプログラムの実行中に作成さ
れた情報を新規に保存する場合には、そのファイル名を
ユーザが任意に決めて保存することになるが、その段階
で、作成者やキーワードを入力してもらう。そして、こ
こで入力されたファイル名、作成者、キーワードはファ
イル管理テーブルに追加されることになる。尚、当然の
ことながら、外部記憶装置8内に記憶されたファイルを
削除する場合、このファイル管理テーブル25からは対
応するファイルの情報は削除される。新規保存時の処理
やファイル削除処理はOSが管理する。
Next, the file management table 25 of the embodiment
The contents of the above are shown in FIG. As shown in the figure, each file is composed of its name, creator, and keyword information. When newly saving the information created during the execution of a certain application program, the user has to arbitrarily decide the file name and save it. At that stage, enter the creator and keywords. Ask. Then, the file name, creator, and keyword input here are added to the file management table. As a matter of course, when deleting a file stored in the external storage device 8, the information of the corresponding file is deleted from the file management table 25. The OS manages the processing for new saving and file deletion processing.

【0013】キーワードはユーザが任意に決定できる
が、それは先に説明したシソーラス辞書22に管理され
ている言葉であることが必要である。従って、シソーラ
ス辞書22内には大方の単語が登録されているものとす
る。尚、シソーラス辞書22が完全な辞書として機能す
るとの保証はないので、この辞書にはユーザが自由に単
語を登録することができるようになっている。単語を登
録する場合には、一番上位(最も上位概念)の文字列一
覧を表示し、そのどれかを選択して更にその下の概念の
文字列を表示するという操作を繰り返す。そして、所望
とする段階の文字列が表示されたら、その文字列を選択
した状態で登録する文字列を入力すればよい。また、新
たにファイルを保存する場合には、入力したキーワード
がシソーラス辞書22に存在するかどうかもチェックす
る。そして、それが存在しない場合、或いはユーザから
その旨の指示があった場合に、登録処理を行うものとす
る。登録処理そのものは上述した通りであるので、その
説明は省略する。
The keyword can be arbitrarily determined by the user, but it needs to be a word managed in the thesaurus dictionary 22 described above. Therefore, it is assumed that most of the words are registered in the thesaurus dictionary 22. Note that there is no guarantee that the thesaurus dictionary 22 will function as a complete dictionary, so that the user can freely register words in this dictionary. In the case of registering a word, the operation of displaying a list of character strings of the highest order (the highest order concept), selecting any one of them, and displaying the character string of the concept thereunder is repeated. Then, when the character string at the desired stage is displayed, the character string to be registered may be input while the character string is selected. Further, when the file is newly saved, it is also checked whether the input keyword exists in the thesaurus dictionary 22. Then, when it does not exist, or when the user gives an instruction to that effect, the registration process is performed. Since the registration process itself is as described above, its explanation is omitted.

【0014】また、一般に、キーワードはその文書の特
性をよく表す言葉が用いられ、その文書内での使用頻度
が高い言葉になることが多い。そこで、図形の場合はと
もかく、文書の場合にはその中で使用されている最も多
いいくつかの単語をキーワードとして扱う、或いは頻度
の高い言葉をいくつか表示してその中からユーザがいく
つか指定したものをキーワードとして登録するようにし
てもよい。文書内における使用頻度の高い言葉を探し出
すこと自体は公知であるので、ここでの説明は省略す
る。
In general, the keywords are words that express the characteristics of the document well, and are often words that are frequently used in the document. Therefore, regardless of the figure, in the case of a document, the most frequently used words in the document are treated as keywords, or some of the most frequently used words are displayed and the user specifies some of them. You may make it register what you did as a keyword. Searching for frequently used words in a document is known per se, and a description thereof will be omitted here.

【0015】説明が前後するが、実施例の装置上で動作
するオペレーティングシステムでは、ファイルを外部記
憶装置8に格納したときには、ファイルを管理するディ
レクトリエリアにその更新日が保持される。従って、先
に説明した予約語辞書23で日時で特定した検索情報に
従った検索は、ディレクトリに保持されている日付情報
を基に行うことになる。但し、ファイル管理テーブルに
日付情報の項目を持たせるようにしても全く構わない。
従って、OSの種類によって本願発明が限定されるもの
ではない。
Before and after the explanation, in the operating system operating on the apparatus of the embodiment, when the file is stored in the external storage device 8, the update date is held in the directory area for managing the file. Therefore, the search according to the search information specified by the date and time in the reserved word dictionary 23 described above is performed based on the date information held in the directory. However, the file management table may have an item of date information at all.
Therefore, the present invention is not limited by the type of OS.

【0016】次に上記各管理情報に基づく実際の検索処
理の一例を図7〜図13に従って説明する。キーボード
4或いはポインティングデバイス5等によって、検索処
理を行う旨の指示を与えると、図7の符号70に示すよ
うな検索のためのウインドウが表示される。図示で71
はポインティングデバイス5に連動するカーソルであ
り、72は検索文字列を入力するための欄であり、73
はキーボード4から入力された文字列の位置を示すテキ
ストカーソルである。
Next, an example of an actual search process based on the above management information will be described with reference to FIGS. When an instruction to perform a search process is given using the keyboard 4 or the pointing device 5, a window for search as shown by reference numeral 70 in FIG. 7 is displayed. 71 in the figure
Is a cursor linked to the pointing device 5, 72 is a field for inputting a search character string, and 73
Is a text cursor indicating the position of the character string input from the keyboard 4.

【0017】さて、図7の状態で、ユーザは対象となる
ファイルを探し出すための条件文字列を欄72内にキー
ボードを使用して入力する。キーワード(ファイル管理
テーブルに格納されているそのファイルを表すための文
字列)はユーザが自由に設定できるので、何が入力され
るのかわからない。しかし、時間に関する条件式で使用
される文字列は限られているので、図示の如く、日付の
ための論理的なボタンを設けた。これによって、慣れな
いうちは、時間に関する条件式の入力を容易にする。ま
た、作成者をキーワードという概念でとらえても構わな
いが、個々の個人の名前をシソーラス辞書22に登録す
るのでは、検索及び管理効率が悪くなるので、先に説明
した如く、ファイル管理テーブル25で独立した項目と
して管理する。そして、一般のキーワードと区別する意
味で、図示の如く、“作成者”を入力するためのボタン
を用意した。“作成者”の入力フォームは説明しなかっ
たが、仮にここでは『作成者はxxxxx』という形式
で入力するものとする。従って、例えば図7の状態で、
ボタン75をカーソル71によって指示してポインティ
ングデバイス5に設けられた物理的なボタンを押下した
場合、(以下、この操作をクリックという)には、作成
者は誰かという旨のメッセージウインドウを表示し、そ
の名前のみを入力する。その結果、欄72内には『作成
者はxxxxx』という形式で文字列が自動的に入力さ
れる。ここで文字列『作成者は』とそれに続く文字列
(人名)の結びつきは勿論高い。
Now, in the state of FIG. 7, the user inputs a condition character string for searching for a target file into the field 72 using the keyboard. The user can freely set the keyword (a character string for representing the file stored in the file management table), and therefore he / she does not know what is input. However, since the character string used in the conditional expression regarding time is limited, a logical button for the date is provided as shown in the figure. This makes it easy to input a conditional expression related to time without getting used to it. Although the creator may be regarded as a keyword, if the name of each individual is registered in the thesaurus dictionary 22, the efficiency of search and management will deteriorate. Therefore, as described above, the file management table 25 And manage it as an independent item. In order to distinguish it from general keywords, a button for inputting "creator" is prepared as shown in the figure. Although the input form of the "creator" has not been described, it is assumed here that the input is made in the format of "creator is xxxxxx". Therefore, for example, in the state of FIG.
When the button 75 is instructed by the cursor 71 and a physical button provided on the pointing device 5 is pressed (hereinafter, referred to as clicking this operation), a message window indicating who the creator is is displayed, Enter only its name. As a result, the character string is automatically entered in the field 72 in the format of “creator is xxxxxx”. Of course, the connection between the character string "creator is" and the character string (personal name) following it is high.

【0018】さて、図7の状態で、今、ボタン74をク
リックしたとする。その結果、図8に示すような時間
(期間)限定のためのウインドウが重畳表示される。ユ
ーザはこの中から1つの項目をクリックする。ここで、
3つ目の項目『###から###』を選択したとする。
この場合、パラメータとしては2つ必要になるので、第
1のパラメータとなり得る文字列の例を表示、例えば
“XX年(XX月)という形式で入力して下さい”とい
うメッセージを表示し、第1のパラメータを入力する。
そして、同様に第2のパラメータを入力する。
Now, assume that the button 74 is clicked in the state of FIG. As a result, a window for time (period) limitation as shown in FIG. 8 is displayed in a superimposed manner. The user clicks on one of the items. here,
It is assumed that the third item “#### to ##” is selected.
In this case, since two parameters are required, an example of a character string that can be the first parameter is displayed, for example, the message “Please input in the format XX year (XX month)” is displayed and the first parameter is displayed. Enter the parameters of.
Then, similarly, the second parameter is input.

【0019】こうして、検索ウインドウは図9に示すよ
うな状態になる。繰り返すが、ボタン74、75は使い
慣れていないユーザに対して設けられたものであり、そ
の操作形態になれてくれば、直接キーボード4から同様
の文字列を入力しても構わない。さて、図9の状態で、
検索ウインドウに表示された“実行”をクリックする
と、欄72に入力された文字列に基づく検索を実行す
る。
Thus, the search window is in the state shown in FIG. Again, the buttons 74 and 75 are provided for a user who is not familiar with them, and similar character strings may be directly input from the keyboard 4 as long as the operation mode can be realized. Now, in the state of FIG.
When “execute” displayed in the search window is clicked, a search based on the character string input in the field 72 is executed.

【0020】この結果、例えば予め設定された固定値を
超えるような多数のファイルが見つかった場合、警告の
メッセージが表示される(ファイルが見つからなかった
場合も同様に警告メッセージが表示される)。ユーザ
は、かかるメッセージを見ることで、条件式を変更或い
は限定しなければならないことがわかる。そこで、先に
入力した条件文字列の後に続けて(変更する場合には先
の条件文字列を消去して)、新たな条件を追加する。こ
こでは、例えば、キーボード4から『で、FEPに関す
る』と入力したとしよう。この状態を示すのが図10で
ある。
As a result, if a large number of files exceeding a preset fixed value are found, a warning message is displayed (a warning message is also displayed if no files are found). By seeing such a message, the user knows that the conditional expression must be changed or restricted. Therefore, a new condition is added subsequently to the previously inputted condition character string (when the condition character string is changed, the former condition character string is erased). Here, suppose, for example, the user inputs ", with respect to FEP" from the keyboard 4. FIG. 10 shows this state.

【0021】ここで再び、ボタン76をクリックして検
索を再開させた結果、固定値以下の3つのファイルが検
索された場合には、図11に示すように、それらのファ
イル名一覧が表示される。ユーザはカーソル71でどれ
か所望とするファイル名をクリックすることで、そのフ
ァイルに関する情報(ファイル管理テーブル及びディレ
クトリにある情報)を図12に示すようなウインドウで
表示する。この操作を繰り返していって、目的のファイ
ルが見つかったと判断したら、所定の操作を行ってその
ファイルをRAM3に読み込むと共に、そのファイルを
作成したアプリケーションを起動させる。尚、検索式に
日時情報、作成者情報の他にキーワードが含まれる場合
であって、検索した結果が多数存在することが判明した
場合(固定値以上のファイル数が検索された場合)、図
13に示すような警告メッセージが表示される。そし
て、入力したキーワード(この場合には“電子技術”)
に対する下位概念の文字列一覧をシソーラス辞書22を
参照して表示し、言葉(キーワード)を限定することを
促す。ここで、例えば“ハードウェア”を選択し、所定
の操作を行うことで、ハードウェアの下位概念の言葉一
覧を表示することができる。いずれにしても、探しだそ
うとするファイルを示す言葉が見つかったら、その旨を
指示する。これによって、直前の検索処理で使用された
検索文字列中のキーワードの部分が指定された言葉で置
き換えられる。勿論、直接キーボード4からその文字列
を入力しても構わない。
When the button 76 is clicked again to restart the search, if three files having a fixed value or less are searched, a list of those file names is displayed as shown in FIG. It The user clicks any desired file name with the cursor 71 to display information (information in the file management table and directory) about the file in a window as shown in FIG. When it is determined that the target file has been found by repeating this operation, the predetermined operation is performed to read the file into the RAM 3 and the application that created the file is activated. If the search expression contains keywords in addition to the date / time information and creator information, and it is found that there are many search results (when the number of files equal to or greater than a fixed value is searched), A warning message as shown in 13 is displayed. And the entered keyword (in this case "electronic technology")
A list of subordinate concept character strings is displayed with reference to the thesaurus dictionary 22 to prompt the user to limit the words (keywords). Here, for example, by selecting “hardware” and performing a predetermined operation, it is possible to display a list of words that are subordinate concepts of hardware. In any case, if you find a word that describes the file you're looking for, indicate so. As a result, the keyword part in the search character string used in the immediately preceding search process is replaced with the specified word. Of course, the character string may be directly input from the keyboard 4.

【0022】上記処理は図14〜図17に示すフローチ
ャートに従って処理することで達成される。以下、順を
追って説明する。先ず、ステップS1で検索のための初
期条件の入力画面(ウインドウ)を表示し、次のステッ
プS3、S11でボタン74、75がクリックされたか
どうかを判断する。
The above processing is achieved by processing according to the flowcharts shown in FIGS. Hereinafter, description will be made step by step. First, in step S1, an input screen (window) for initial conditions for search is displayed, and in the next steps S3 and S11, it is determined whether or not the buttons 74 and 75 have been clicked.

【0023】ここでボタン74(日時条件を入力するた
めのボタン)がクリックされた場合、処理はステップS
5に進んで、日時項目リストを表示し、その中の1つを
選択してもらう。この後、処理はステップS7に進ん
で、選択した項目に対するパラメータ入力用のウインド
ウを表示し、それを入力してもらう。そして、ステップ
S9進んで、選択された項目及び入力されたパラメータ
に基づく自然言語の文字列を作成し、それをウインドウ
内の検索条件入力欄72に出力する。
If the button 74 (button for inputting date and time conditions) is clicked here, the process proceeds to step S.
Proceed to step 5 to display the date and time item list and have one selected. After this, the process proceeds to step S7, a window for inputting parameters for the selected item is displayed, and the user is prompted to input it. Then, in step S9, a natural language character string is created based on the selected item and the input parameter, and is output to the search condition input field 72 in the window.

【0024】また、ボタン75(作成者名を入力するた
めのボタン)がクリックされた場合には、ステップS1
3に進んで、作成者名の入力を促すウインドウを表示
し、その中に名前を入力してもらう。そして、ステップ
S15に進んで、『作成者はxxxxx』という形式の
文字列を発生し、それを検索条件入力欄72に出力す
る。また、上記ボタン74、75がクリックされてい
ず、キーボードによる文字入力が検出されたらステップ
S17に進んで、直接に検索条件入力欄72内に検索文
字列を入力してもらう。
When the button 75 (button for inputting the creator's name) is clicked, step S1
Proceed to step 3 to display a window prompting you to enter the creator's name, and have the user enter the name in the window. Then, the process proceeds to step S15 to generate a character string of the format "creator is xxxxxx" and outputs it to the search condition input field 72. When the buttons 74 and 75 are not clicked and the character input by the keyboard is detected, the process proceeds to step S17 to directly input the search character string in the search condition input field 72.

【0025】いずれにしても、処理はステップS19に
進んで、ボタン76(検索実行を指示するためのボタ
ン)がクリックされたと判断するまで、上記処理を繰り
返す。さて、ボタン76がクリックされると、処理はス
テップS21に進んで、検索条件入力欄72内に入力さ
れた文字列を解析し、CPUが理解しやすいように論理
式を構築する。この解析によって、文法的なエラーが発
生したと判断した場合には、ステップS23からステッ
プS25に進んで、検索条件の文字列に誤りがある旨を
表示し、ステップS3に戻る。また、解析が正常に終わ
ったら、ステップS27に進んで、解析結果に基づく検
索処理を実行する。
In any case, the process proceeds to step S19, and the above process is repeated until it is determined that the button 76 (button for instructing search execution) is clicked. When the button 76 is clicked, the process proceeds to step S21 to analyze the character string input in the search condition input field 72 and construct a logical expression so that the CPU can easily understand it. If it is determined by this analysis that a grammatical error has occurred, the process proceeds from step S23 to step S25 to display that there is an error in the character string of the search condition, and returns to step S3. If the analysis is completed normally, the process proceeds to step S27 to execute the search process based on the analysis result.

【0026】ステップS29及びS31では、検索した
結果、目的のファイルが探し出せたか否か、及び、予め
設定された個数以下にまで絞り込めたか否かを判断す
る。以下、1つのファイルも探し出せなかった場合(図
15)、発見できたファイルが多すぎる場合(図1
6)、そして、許容範囲内の個数のファイルが発見でき
た場合(図17)を順に説明する。
In steps S29 and S31, it is determined as a result of the search whether or not the target file has been found, and whether or not the number of files has been narrowed down to a preset number or less. In the following, if one file could not be found (Fig. 15) and too many files were found (Fig. 1)
6), and the case where the number of files within the allowable range can be found (FIG. 17) will be described in order.

【0027】1つも見つからなかった場合には、処理は
ステップS41に進む。ここでは、先ず、1つも見つか
らなかった旨のメッセージを表示し、ステップS43で
その時点での検索文字列中に時間に関する情報が含まれ
ているかどうかを判断する。そして、時間に関する情報
が含まれていれば、ステップS45に進んで、時間の変
更・範囲の拡大を促すメッセージを表示する。また、ス
テップS47では、検索文字列中にキーワード情報が含
まれるかどうかを判断する。キーワード情報が含まれな
い場合には、ステップS3に戻る。そして、キーワード
情報が含まれる場合には、ステップS49に進んで、そ
のキーワードに対する上位概念の文字列の一覧をシソー
ラス辞書22を参照して探し出し、その内の1つを選択
してもらう(選択した文字列の更に上位概念を選択する
ことも可能)。
If no one is found, the process proceeds to step S41. Here, first, a message indicating that no items have been found is displayed, and in step S43, it is determined whether or not information regarding time is included in the search character string at that time. Then, if the information on the time is included, the process proceeds to step S45 to display a message prompting the change of the time and the expansion of the range. Further, in step S47, it is determined whether or not the search character string includes keyword information. If no keyword information is included, the process returns to step S3. If the keyword information is included, the process proceeds to step S49, a list of character strings of superordinate concepts for the keyword is searched for by referring to the thesaurus dictionary 22, and one of them is selected (selected. It is also possible to select a higher concept of the character string).

【0028】通常、1つのキーワードに対する上位概念
のキーワードは1つであるが、実施例では複数個存在し
得るものとした。例えば、コンピュータ言語である
“C”や“LISP”などは文字通り、“コンピュー
タ”の下位概念としても使用できるし、言語の下位概念
としても使用できるからである。但し、検索文字列とし
て入力したキーワードがシソーラス辞書22内の複数箇
所に存在する場合、それぞれで検索された結果の論理和
を最終的な検索結果として出力する。
Normally, there is one keyword of a superordinate concept to one keyword, but in the embodiment, there may be a plurality of keywords. For example, computer languages such as "C" and "LISP" can be used literally as a subordinate concept of "computer" and also as a subordinate concept of language. However, when the keyword input as the search character string exists in a plurality of places in the thesaurus dictionary 22, the logical sum of the results searched by each is output as the final search result.

【0029】さて、上位概念のキーワードを選択或いは
キーボード4から入力すると、処理はステップS51に
進んで直前の検索処理で使用されていたキーワードをス
テップS49で選択したキーワードで置き換え、ステッ
プS3に戻る。一方、検索した結果が多すぎる場合に
は、ステップS61に進んで、多すぎる旨のメッセージ
を表示する。そして、ステップS63でその時点での検
索文字列中に時間に関する情報が含まれているかどうか
を判断する。時間に関する情報が含まれていれば、ステ
ップS65に進んで、時間の変更・範囲の縮小を促すメ
ッセージを表示する。
When a keyword of a superordinate concept is selected or input from the keyboard 4, the process proceeds to step S51, the keyword used in the immediately preceding search process is replaced with the keyword selected in step S49, and the process returns to step S3. On the other hand, if there are too many search results, the process proceeds to step S61, and a message indicating that there are too many is displayed. Then, in step S63, it is determined whether or not the search character string at that time includes information regarding time. If the information about time is included, the process proceeds to step S65 to display a message prompting change of time / reduction of range.

【0030】また、ステップS67では、検索文字列中
にキーワード情報が含まれるかどうかを判断する。キー
ワード情報が含まれない場合には、ステップS3に戻
る。そして、キーワード情報が含まれる場合には、ステ
ップS69に進んで、そのキーワードに対する下位概念
の文字列の一覧をシソーラス辞書22を参照して探し出
し、その内の1つを選択してもらう(選択した文字列の
更に下位概念を選択することも可能)。こうして、新た
なキーワードを選択或いは入力すると、処理はステップ
S71に進んで直前の検索処理で使用されていたキーワ
ードをステップS69で選択したキーワードで置き換
え、ステップS3に戻る。
In step S67, it is determined whether or not the search character string contains keyword information. If no keyword information is included, the process returns to step S3. If the keyword information is included, the process proceeds to step S69, a list of character strings of subordinate concepts for the keyword is searched for by searching the thesaurus dictionary 22, and one of them is selected (selected. It is also possible to select a subordinate concept of the character string). Thus, when a new keyword is selected or input, the process proceeds to step S71, the keyword used in the immediately preceding search process is replaced with the keyword selected in step S69, and the process returns to step S3.

【0031】さて、検索した結果、ある程度以下の数ま
で絞り込めたらステップS81に進む。ここでは、検索
条件の合致する候補一覧を表示する。そして、次のステ
ップS83に進んで、その内の1つを選択する。この選
択を行うと、その選択されたファイルの詳細がファイル
管理テーブル25及びディレクトリから読出され、ユー
ザに報知する。ユーザはこの内容を見て、目的の文書か
どうかを判断することになるが、目的とするものではな
いと判断した場合にはステップS87からステップS8
1に戻り、残りの文書のいずれか1つを選択し、その内
容を確認するという作業を繰り返す。こうして目的の文
書が探し出せたと判断したらその旨を指示する。これに
よって、処理はステップS87からステップS89に進
んで、その時点で選択されているファイルの属性(文書
か図形か等)に従って、対応するアプリケーションプロ
グラムを起動させ、その指定されたファイルを読み込ま
せて編集処理等を行わせる。
As a result of the search, if the number is narrowed down to a certain degree or less, the process proceeds to step S81. Here, a list of candidates that match the search conditions is displayed. Then, the process proceeds to the next step S83, and one of them is selected. When this selection is made, the details of the selected file are read from the file management table 25 and the directory, and the user is notified. The user looks at this content and determines whether the document is a target document. If it is determined that the document is not the target document, steps S87 to S8 are performed.
The process of returning to 1 and selecting any one of the remaining documents and confirming the contents is repeated. If it is determined that the target document can be found in this way, an instruction to that effect is given. As a result, the process proceeds from step S87 to step S89, and the corresponding application program is started according to the attribute (document or graphic) of the file selected at that time, and the specified file is read. Perform editing processing.

【0032】尚、上記処理では、目的のファイルが探し
出せた場合に、アプリケーションプログラムを起動させ
るものとして説明したが、その使用方法によって本発明
が限定されるものではない。例えば、そのファイル名一
覧を印刷するようにしてもよい。
In the above process, it is described that the application program is started when the target file is found, but the present invention is not limited by the usage method. For example, the file name list may be printed.

【0033】また、検索条件文字列として1つのパラメ
ータしか持たない文字列、例えば『xx年前』という文
字列を使用した検索によって、多数のファイルが発見さ
れた時のメッセージとして『xx年前のいつですか?』
等のメッセージを表示し、その年の前半か、広範化、何
月か、或いは何月から何月までか等の絞り込み候補一覧
を表示し、その内の1つを選択し、必要ならそのための
パラメータを入力して検索条件文字列を再構築してもよ
い。以上説明したように、本実施例によれば、検索条件
を自然言語で入力することが可能になる。また、対応す
るファイルが1つも見つからなかったり、多すぎたりし
た場合には、どのような方向で検索条件を再構築するか
の指針を与えるので、適切な方法で効率よく検索条件文
字列を作成することが可能になる。尚、実施例では検索
する情報として文書や図形としたが、これをもって本願
発明が限定されるものではない。
Further, as a search condition character string, a character string having only one parameter, for example, a character string "xx years ago" is used as a message when a large number of files are found, "xx years ago when? ]
Etc., display a message such as the first half of the year, broadening, what month, or from month to month etc., select one of them, select one of them, and if necessary You may input a parameter and reconstruct a search condition character string. As described above, according to this embodiment, it is possible to input the search condition in natural language. In addition, if no corresponding file is found or there are too many files, it gives a guideline on how to reconstruct the search condition, so create a search condition character string efficiently by an appropriate method. It becomes possible to do. Although the information to be searched is a document or a graphic in the embodiment, the present invention is not limited to this.

【0034】[0034]

【発明の効果】以上説明したように本発明によれば、目
的ファイルを容易に探し出し、しかも、ユーザインター
フェースに優れた情報検索方法及びその装置を提供する
ことが可能になる。
As described above, according to the present invention, it is possible to provide an information retrieval method and an apparatus therefor which can easily find a target file and which has an excellent user interface.

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

【図1】実施例の情報処理装置のブロック図である。FIG. 1 is a block diagram of an information processing apparatus according to an embodiment.

【図2】実施例における外部記憶装置に記憶されている
情報を示す図である。
FIG. 2 is a diagram showing information stored in an external storage device according to an embodiment.

【図3】実施例におけるシソーラス辞書の概念構成図で
ある。
FIG. 3 is a conceptual configuration diagram of a thesaurus dictionary in the embodiment.

【図4】実施例における予約語辞書のデータ構造を示す
図である。
FIG. 4 is a diagram showing a data structure of a reserved word dictionary in the embodiment.

【図5】実施例におけるファイル管理テーブルの構造を
示す図である。
FIG. 5 is a diagram showing a structure of a file management table in the embodiment.

【図6】実施例における論理演算テーブルの構造を示す
図である。
FIG. 6 is a diagram showing a structure of a logical operation table in the embodiment.

【図7】実施例における検索処理の表示画面の一状態例
を示す図である。
FIG. 7 is a diagram showing an example of a state of a display screen of search processing in the embodiment.

【図8】実施例における検索処理の表示画面の一状態例
を示す図である。
FIG. 8 is a diagram showing an example of a state of a display screen of search processing in the embodiment.

【図9】実施例における検索処理の表示画面の一状態例
を示す図である。
FIG. 9 is a diagram showing an example of a state of a display screen of search processing in the embodiment.

【図10】実施例における検索処理の表示画面の一状態
例を示す図である。
FIG. 10 is a diagram showing an example of a state of a display screen of search processing in the embodiment.

【図11】実施例における検索処理の表示画面の一状態
例を示す図である。
FIG. 11 is a diagram showing an example of a state of a display screen of search processing in the embodiment.

【図12】実施例における検索結果の1つのファイルの
詳細の表示例を示す図である。
FIG. 12 is a diagram showing a display example of details of one file as a search result in the embodiment.

【図13】実施例における検索処理の表示画面の一状態
例を示す図である。
FIG. 13 is a diagram showing an example of a state of a display screen of search processing in the embodiment.

【図14】実施例の検索処理を説明するためのフローチ
ャートである。
FIG. 14 is a flowchart illustrating a search process according to the embodiment.

【図15】実施例の検索処理を説明するためのフローチ
ャートである。
FIG. 15 is a flowchart illustrating a search process according to the embodiment.

【図16】実施例の検索処理を説明するためのフローチ
ャートである。
FIG. 16 is a flowchart illustrating a search process according to the embodiment.

【図17】実施例の検索処理を説明するためのフローチ
ャートである。
FIG. 17 is a flowchart illustrating a search process according to the embodiment.

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

1 CPU 2 ROM 3 RAM 4 キーボード 5 ポインティングデバイス 6 VRAM 7 表示装置 8 外部記憶装置 1 CPU 2 ROM 3 RAM 4 keyboard 5 pointing device 6 VRAM 7 display device 8 external storage device

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数の情報ファイル及び個々のファイル
を特定するための文字列を記憶している記憶媒体の中か
ら所望とするファイルを検索するファイル検索方法にお
いて、 検索条件式を自然言語形態の文字列で入力する工程と、 入力した自然言語文字列を解釈して、前記記憶媒体を検
索する検索工程と、 を備えることを特徴とする情報検索方法。
1. A file search method for searching for a desired file from a storage medium storing a plurality of information files and a character string for identifying each file, wherein the search condition expression is in a natural language form. An information search method comprising: a step of inputting a character string; and a search step of interpreting the input natural language character string to search the storage medium.
【請求項2】 更に、前記検索工程で検索した結果、該
当するファイルがない或いは多数になった場合、検索に
用いられた自然言語文字列中に含まれる時間限定の言葉
或いは目的ファイルの内容を表す言葉の拡大方向或いは
縮小方向を示唆するメッセージを表示する表示工程を備
えることを特徴とする請求項第1項に記載の情報検索方
法。
2. If, as a result of the search in the search step, there are no corresponding files or a large number of files, the time-limited words contained in the natural language character string used for the search or the contents of the target file are displayed. The information retrieval method according to claim 1, further comprising a display step of displaying a message that suggests an enlargement direction or a reduction direction of a word to be expressed.
【請求項3】 複数の情報ファイル及びここのファイル
を特定するための文字列を記憶している記憶媒体の中か
ら所望とするファイルを検索するファイル検索装置に置
いて、 検索条件式を自然言語形態の文字列で入力する手段と、 入力した自然言語文字列を解釈して、前記記憶媒体を検
索する検索手段と、 を備えることを特徴とする情報検索装置。
3. A search condition expression is placed in a file search device for searching a desired file from a storage medium storing a plurality of information files and a character string for specifying the file, and the search condition expression is a natural language. An information retrieving apparatus comprising: a unit for inputting a character string in a form; and a retrieving unit for interpreting the input natural language character string to retrieve the storage medium.
【請求項4】 更に、前記検索手段で検索した結果、該
当するファイルがない或いは多数になった場合、検索に
用いられた自然言語文字列中に含まれる時間限定の言葉
或いは目的ファイルの内容を表す言葉の拡大方向或いは
縮小方向を示唆するメッセージを表示する表示工程を備
えることを特徴とする請求項第1項に記載の情報検索装
置。
4. If, as a result of the search by the search means, there are no corresponding files or a large number of files, the time-limited words contained in the natural language character string used for the search or the contents of the target file are displayed. The information retrieval apparatus according to claim 1, further comprising a display step of displaying a message that suggests an expansion direction or a reduction direction of a word to be expressed.
JP5180680A 1993-06-26 1993-06-26 Method and device for retrieving information Pending JPH0785006A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5180680A JPH0785006A (en) 1993-06-26 1993-06-26 Method and device for retrieving information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5180680A JPH0785006A (en) 1993-06-26 1993-06-26 Method and device for retrieving information

Publications (1)

Publication Number Publication Date
JPH0785006A true JPH0785006A (en) 1995-03-31

Family

ID=16087432

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5180680A Pending JPH0785006A (en) 1993-06-26 1993-06-26 Method and device for retrieving information

Country Status (1)

Country Link
JP (1) JPH0785006A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6564254B1 (en) 1998-11-04 2003-05-13 Dream Technologies Corporation System and a process for specifying a location on a network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6564254B1 (en) 1998-11-04 2003-05-13 Dream Technologies Corporation System and a process for specifying a location on a network

Similar Documents

Publication Publication Date Title
US6993473B2 (en) Productivity tool for language translators
US7703037B2 (en) Searchable task-based interface to control panel functionality
US8122349B2 (en) Listing and modifying groups of blocks in the editing of a document
US5982365A (en) System and methods for interactively generating and testing help systems
KR20100038378A (en) A method, system and computer program for intelligent text annotation
JP5284030B2 (en) Search condition specifying device, search condition specifying method and program
JPH05225181A (en) Editing device
US5940842A (en) Character string retrieval system having a variable display range
JP2839555B2 (en) Information search method
JP2005173999A (en) Device, system and method for searching electronic file, program, and recording media
JP3108031B2 (en) Command input method for inputting characters using kana-kanji conversion software and computer-readable recording medium storing a program for causing a computer to execute the method
JP7340952B2 (en) Template search system and template search method
JPH11282882A (en) Document management method
JPH0785006A (en) Method and device for retrieving information
JP5016333B2 (en) Document creation support apparatus and document creation support program
JP4000332B2 (en) Information retrieval apparatus and computer-readable recording medium recording a program for causing a computer to function as the apparatus
JP4224131B2 (en) Document search system
JP2006301809A (en) Data processing system
JP3672473B2 (en) Individual name extraction device, extraction method, and recording medium
JP2005327023A (en) Retrieval system of full-text search using hit number expectancy
JPH09297760A (en) Document preparation supporting device
JP2003216645A (en) Information retrieval system and method
JPH11272666A (en) System and method for editing document and record medium
JP3824468B2 (en) Data management system
JPH02108130A (en) Document knowledge editing system for knowledge arrangement editor