JPH0261765A - Interactive data base device - Google Patents
Interactive data base deviceInfo
- Publication number
- JPH0261765A JPH0261765A JP63214401A JP21440188A JPH0261765A JP H0261765 A JPH0261765 A JP H0261765A JP 63214401 A JP63214401 A JP 63214401A JP 21440188 A JP21440188 A JP 21440188A JP H0261765 A JPH0261765 A JP H0261765A
- Authority
- JP
- Japan
- Prior art keywords
- dictionary
- dictionary file
- dummy
- command
- file
- 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
Links
- 230000002452 interceptive effect Effects 0.000 title claims description 7
- 230000004913 activation Effects 0.000 claims description 16
- 230000003213 activating effect Effects 0.000 abstract 1
- 238000000034 method Methods 0.000 description 11
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、利用者からの処理要求がコマンドで入力され
、そのコマンドの要求内容が直ちに実行される会話型シ
ステムに利用する。特に、会話型システムのコマンド変
換手段に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention is applied to an interactive system in which a processing request from a user is input as a command, and the request contents of the command are immediately executed. In particular, it relates to command conversion means for conversational systems.
本発明は、利用者からのコマンドの要求内容が直ちに実
行される会話型データベース装置において、
指定された辞書ファイルのデータが複写されるダミー辞
書ファイルを設け、キーワードに対応する変換文字列を
このダミー辞書ファイルから検索することにより、
繰返し使用する同一のコマンドとそのパラメー夕の打鍵
を一回ですますことができるようにしたものである。The present invention provides a dummy dictionary file in which the data of a specified dictionary file is copied in an interactive database device in which the contents of a command request from a user are immediately executed. By searching the dictionary file, you can type the same command and its parameters that are used repeatedly only once.
従来、会話型システムを使用する場合にすべてのパラメ
ータをその都度指定していた。Traditionally, when using a conversational system, all parameters were specified each time.
従来の会話型システムでは、同一のコマンドを繰り返し
て使用する場合でもその都度コマンドとそのパラメータ
を利用者は打鍵しなければならない欠点がある。また、
パラメータが長い場合に打鍵ミスが起こりうる欠点があ
る。さらに、コマンドを実行する場合に利用者はそのコ
マンドの使用方法(オプション)を正確に理解して使用
しなけれはなならないので、コマンドを使用できるよう
になるまでに時間がかかる欠点がある。Conventional conversational systems have the disadvantage that even when using the same command repeatedly, the user must type the command and its parameters each time. Also,
This has the disadvantage that keystroke errors may occur if the parameters are long. Furthermore, when executing a command, the user must understand exactly how to use the command (options) and use it, so there is a drawback that it takes time before the user can use the command.
本発明は、会話型システムの使用に際して同一コマンド
を繰り返して使用する場合に、その都度コマンドとその
パラメータを利用者は打鍵しなければならない欠点と、
パラメータが長い場合打鍵ミスが起こる可能性がある欠
点と、あるコマンドを実行する場合利用者はそのコマン
ドの使用方法(オプション)を正確に理解して使用しな
ければならず、コマンドを使用できるようになるまでに
時間がかかる欠点を排除し、また、このコマンド変換方
法を使用することによって異なったシステムにそれぞれ
存在する類似のコマンドを統一的な仕様で使用できる会
話型データベース装置を提供することを目的とする。The present invention has the following drawbacks: When using an interactive system, when using the same command repeatedly, the user must type the command and its parameters each time.
The disadvantage of long parameters is that typing errors may occur, and when executing a command, the user must understand exactly how to use the command (options). This method eliminates the drawback that it takes a long time to convert commands, and provides an interactive database device that can use similar commands that exist in different systems with unified specifications by using this command conversion method. purpose.
本発明は、キーワードとこのキーワードに対応する変換
文字列とを組にして格納する複数の辞書ファイルと、与
えられたキーワードに対応する変換文字列をコマンドと
して実行するコマンド起動手段とを備えた会話型データ
ベース装置において、与えられたキーワードとこのキー
ワードに対応する変換文字列とを格納するダミー辞書フ
ァイルと、指定された辞書ファイルのデータを上記ダミ
ー辞書ファイルに複写する辞書登録手段と、与えられた
キーワードに対応する変換文字列を上記ダミー辞書ファ
イルから検索して上記コマンド起動手段に与える辞書参
照手段と、上記ダミー辞書ファイルのデータを指定され
た辞書ファイルに複写する辞書保存手段とを備えたこと
を特徴とする。The present invention provides a conversation system that includes a plurality of dictionary files that store keywords and converted character strings corresponding to the keywords in pairs, and a command activation means that executes the converted character strings corresponding to the given keywords as commands. In the type database device, a dummy dictionary file that stores a given keyword and a converted character string corresponding to this keyword, a dictionary registration means that copies data of the specified dictionary file to the dummy dictionary file, and A dictionary reference means for searching a converted character string corresponding to a keyword from the dummy dictionary file and providing it to the command activation means, and a dictionary storage means for copying data of the dummy dictionary file to a specified dictionary file. It is characterized by
利用者から人力されたコマンド文字列とキーワードを人
力装置から受は取りコマンド文字列とキーワードと関連
付けて辞書ファイルに登録する。The command string and keyword manually entered by the user are received from the human-powered device, and are registered in a dictionary file in association with the command string and keyword.
利用者から入力されたキーワードを人力装置から受は取
りそのキーワードと関係するコマンドをコマンド起動手
段が実行する。コマンド起動手段から呼び出されキーワ
ードを受は取り、そのキーワードに関係するコマンド文
字列を辞書ファイルから検索する。また、ダミー辞書フ
ァイルのデータを指定された辞書ファイルに複写して辞
書ファイルを保存する。A command activation means receives a keyword input from a user from a human-powered device and executes a command related to the keyword. It is called by the command activation means, receives a keyword, and searches a dictionary file for a command string related to the keyword. Also, the data in the dummy dictionary file is copied to the specified dictionary file and the dictionary file is saved.
以下、本発明の一実施例を図面に基づき説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.
第1図はこの実施例の構成を示すブロック構成図である
。この実施例は、第1図に示すように、人力装置1と、
ダミー辞書ファイル6と、辞書ファイル7と、入力装置
1からキーワードおよび変換文字列と辞書ファイル名と
を受は取り、ダミー辞書ファイル6に登録する辞書登録
手段2と、入力装置1からキーワードと直ちに実行の場
合はその指示を受は取り、辞書参照手段4を呼び出して
人力装置1から入力されたキーワードと関係する変換文
字列を受は取り、それをコマンドとして実行するコマン
ド起動手段3と、コマンド起動手段3からキーワードを
受は取り、そのキーワードと関係する変換文字列をダミ
ー辞書ファイル6から探し、コマンド起動手段3に返す
辞書参照手段4と、人力装置1から保存辞書ファイル名
を受は取り、使用していたダミー辞書ファイル6のデー
タを指定された辞書ファイル7に書き込む辞書保存手段
5とを備える。すなわち、この実施例は、キーワードと
このキーワードに対応する変換文字列とを組にして格納
する複数の辞書ファイル7と、与えられたキーワードに
対応する変換文字列をコマンドとして実行するコマンド
起動手段3と、与えられたキーワードとこのキーワード
に対応する変換文字列とを格納するダミー辞書ファイル
6と、指定された辞書ファイルのデータをダミー辞書フ
ァイル6に複写する辞書登録手段2と、与えられたキー
ワードに対応する変換文字列をダミー辞書ファイル6か
ら検索してコマンド起動手段3に与える辞書参照手段4
と、ダミー辞書ファイル6のデータを指定された辞書フ
ァイル7に複写する辞書保存手段5とを備える。FIG. 1 is a block diagram showing the configuration of this embodiment. In this embodiment, as shown in FIG. 1, a human power device 1 and
Dictionary registration means 2 receives keywords, converted character strings, and dictionary file names from the dummy dictionary file 6, the dictionary file 7, and the input device 1, and registers them in the dummy dictionary file 6; In the case of execution, the receiver receives the instruction, calls the dictionary reference means 4, receives the converted character string related to the keyword input from the human-powered device 1, and executes it as a command. A dictionary reference means 4 receives a keyword from the activation means 3, searches the dummy dictionary file 6 for a converted character string related to the keyword, and returns it to the command activation means 3, and receives a stored dictionary file name from the human-powered device 1. , and a dictionary storage means 5 for writing data of the dummy dictionary file 6 being used into a designated dictionary file 7. That is, this embodiment includes a plurality of dictionary files 7 that store keywords and converted character strings corresponding to the keywords in pairs, and a command activation means 3 that executes the converted character strings corresponding to the given keywords as commands. , a dummy dictionary file 6 that stores a given keyword and a converted character string corresponding to this keyword, a dictionary registration means 2 that copies data of the designated dictionary file to the dummy dictionary file 6, and a given keyword. Dictionary reference means 4 searches for a converted character string corresponding to from the dummy dictionary file 6 and provides it to the command activation means 3
and a dictionary storage means 5 for copying data of the dummy dictionary file 6 to a designated dictionary file 7.
第2図は、辞書登録手段2の動作を示すフローチャート
である。第2図を参照して辞書登録手段2の動作を説明
する。FIG. 2 is a flowchart showing the operation of the dictionary registration means 2. The operation of the dictionary registration means 2 will be explained with reference to FIG.
辞書登録手段2は入力装置1からパラメータを受は取り
(ステップS1)、既にダミー辞書ファイル6が存在す
るか否かをチエツクし、(ステップS2)、存在しない
場合にダミー辞書ファイル6を作成する(ステップS3
)。利用者の指示が辞書ファイル読み込み指示か否かを
チエツクしくステップS4)、辞書ファイル読み込み指
示の場合に利用者から指示のあった辞書ファイル7が存
在するか否かをチエツクする(ステップ35)。存在す
る場合に指定された辞書ファイル7を読み出しくステッ
プS6)、さらにその読み込んだデータをダミー辞書フ
ァイル6に複写する(ステップS8)。ステップS5で
指定された辞書ファイル7が存在しない場合にエラー処
理を行い(ステップS7)、処理を終了させる。ステッ
プS4で辞書ファイル読み込み指示でない場合にダミー
辞書ファイル6に指定されたキーデータがあるか否かを
チエツクしくステップS9)、無かった場合にダミー辞
書ファイル6にキーワードと変換文字列を登録しくステ
ップ510)、処理を終了する。また、あった場合にそ
のダミー辞書ファイル6中の利用者から指示のあったキ
ーワードと対になった変換文字列を入力された変換文字
列に買換しくステップ311)、処理を終了する。The dictionary registration means 2 receives parameters from the input device 1 (step S1), checks whether a dummy dictionary file 6 already exists or not (step S2), and creates a dummy dictionary file 6 if it does not exist. (Step S3
). It is checked whether the user's instruction is to read a dictionary file (step S4), and if it is a dictionary file read instruction, it is checked whether the dictionary file 7 specified by the user exists (step S35). If it exists, the specified dictionary file 7 is read out (step S6), and the read data is further copied to the dummy dictionary file 6 (step S8). If the dictionary file 7 specified in step S5 does not exist, error handling is performed (step S7) and the process is terminated. If there is no instruction to read the dictionary file in step S4, check whether the specified key data exists in the dummy dictionary file 6 (step S9), and if not, register the keyword and converted character string in the dummy dictionary file 6 (step S9). 510), the process ends. Further, if there is a converted character string in the dummy dictionary file 6 that is paired with the keyword specified by the user, the converted character string is replaced with the inputted converted character string (step 311), and the process ends.
第3図は、コマンド起動手段3の動作を示すフローチャ
ートである。第3図を参照してコマンド起動手段3の動
作を説明する。コマンド起動手段3はパラメータを受は
取り(ステップ321) 、辞書参照手段4を起動させ
る(ステップ522)。動作完了を待ち合わせエラーが
無いか否かをチエツクしくステップ524)、あった場
合に処理を終了する。エラーが無い場合に指示が変換後
直ちにそのコマンドを実行する指示か否かをチエツクし
くステップ524) 、即実行の場合に指示のあったコ
マンドを実行しくステップ526) 、処理を終了する
。変換後にそのコマンドを直ちに実行する指示で無かっ
た場合は変換文字列を表示しくステップ525) 、処
理を終了する。FIG. 3 is a flowchart showing the operation of the command activation means 3. The operation of the command activation means 3 will be explained with reference to FIG. The command activation means 3 receives the parameters (step 321), and activates the dictionary reference means 4 (step 522). A check is made to see if there is an error in waiting for the completion of the operation (step 524), and if there is, the process is terminated. If there is no error, it is checked whether the instruction is to execute the command immediately after conversion (step 524), and if it is to be executed immediately, the instructed command is executed (step 526), and the process ends. If the command is not to be executed immediately after conversion, the converted character string is displayed (step 525), and the process ends.
第4図は、辞書参照手段4の動作を示すフローチャート
である。第4図を参照して辞書参照手段4の動作を説明
する。辞書参照手段4はキーワードを受は取り(ステッ
プ531)、ダミー辞書ファイル6のデータを読み込む
(ステップ532)。次に、ダミー辞書ファイル6にデ
ータが存在したか否かをチエツクしくステップ333)
、存在しなかった場合に制御をコマンド起動手段3に
戻し、処理を終了する。ステップS33でデータが存在
した場合に読み込んできたキーワードと指定されたキー
ワードが等しいか否かをチエツクしくステップ334)
、等しくなかった場合に再びステップ332の処理か
らダミー辞書ファイル6のデータが存在しなくなるまで
繰り返す。等しかった場合にデータをコマンド起動手段
3に引き渡しくステップ535)、制御を戻して処理を
終了する。FIG. 4 is a flowchart showing the operation of the dictionary reference means 4. The operation of the dictionary reference means 4 will be explained with reference to FIG. The dictionary reference means 4 receives the keyword (step 531) and reads the data of the dummy dictionary file 6 (step 532). Next, check whether data exists in the dummy dictionary file 6 (step 333).
, if it does not exist, control is returned to the command activation means 3 and the process ends. If the data exists in step S33, check whether the read keyword and the specified keyword are equal or not (step 334).
, if they are not equal, the processing from step 332 is repeated again until the data in the dummy dictionary file 6 no longer exists. If they are equal, the data is handed over to the command activation means 3 (step 535), and control is returned to end the process.
第5図は、辞書保存手段5の動作を示すフローチャート
である。第5図を参照して辞書保存手段5の動作を説明
する。辞書保存手段5はパラメータを受は取り (ステ
ップ541)、ダミー辞書ファイル6のデータを指定さ
れた辞書ファイル7に複写してデータを保存しくステッ
プ542)、処理を終了する。FIG. 5 is a flowchart showing the operation of the dictionary storage means 5. The operation of the dictionary storage means 5 will be explained with reference to FIG. The dictionary storage means 5 receives the parameters (step 541), copies the data of the dummy dictionary file 6 to the designated dictionary file 7, and stores the data (step 542), and ends the process.
第6図は、辞書ファイル7に格納される要素の構成を示
す要素構成図である。この辞書ファイル7にはキーワー
ドとこのキーワードに対応するコマンド文字列とが組に
して格納される。FIG. 6 is an element configuration diagram showing the configuration of elements stored in the dictionary file 7. As shown in FIG. This dictionary file 7 stores keywords and command character strings corresponding to the keywords in pairs.
本発明は、以上説明したように、会話型システムを使用
するに際して同一のコマンドを繰り返して使用する場合
に使用の都度コマンドとそのパラメータとを利用者は打
鍵しなければならない欠点と、パラメータが長い場合に
打鍵ミスが起こる可能性がある欠点と、コマンドを実行
する場合に利用者はそのコマンドの使用方法(オプショ
ン)を正確に理解して使用しなければならずコマンドを
使用できるようになるまでに時間がかかる欠点とを排除
することができる効果がある。また、異なったシステム
にそれぞれ存在する類似のコマンドを統一的な仕様で使
用できる効果がある。As explained above, when using an interactive system, the user has to type the command and its parameters each time when using the same command repeatedly, and the parameters are long. The drawback is that keystroke errors may occur when executing a command, and the user must understand exactly how to use the command (options) before being able to use it. It has the effect of eliminating the drawback that it takes time. Another advantage is that similar commands that exist in different systems can be used with unified specifications.
第5図は辞書保存手段の動作を示したフローチャート。FIG. 5 is a flowchart showing the operation of the dictionary storage means.
第6図は辞書ファイルの要素を示す要S構成図。FIG. 6 is an essential S configuration diagram showing the elements of a dictionary file.
1・・・入力装置、2・・・辞書登録手段、3・・・コ
マンド起動手段、4・・・辞書参照手段、5・・・辞書
保存手段、6・・・ダミー辞書ファイノベ 7・・・辞
書ファイル。DESCRIPTION OF SYMBOLS 1... Input device, 2... Dictionary registration means, 3... Command activation means, 4... Dictionary reference means, 5... Dictionary storage means, 6... Dummy dictionary fine novel 7... dictionary file.
Claims (1)
とを組にして格納する複数の辞書ファイルと、 与えられたキーワードに対応する変換文字列をコマンド
として実行するコマンド起動手段とを備えた会話型デー
タベース装置において、与えられたキーワードとこのキ
ーワードに対応する変換文字列とを格納するダミー辞書
ファイルと、 指定された辞書ファイルのデータを上記ダミー辞書ファ
イルに複写する辞書登録手段と、与えられたキーワード
に対応する変換文字列を上記ダミー辞書ファイルから検
索して上記コマンド起動手段に与える辞書参照手段と、 上記ダミー辞書ファイルのデータを指定された辞書ファ
イルに複写する辞書保存手段と を備えたことを特徴とする会話型データベース装置。[Scope of Claims] 1. A plurality of dictionary files storing keywords and converted character strings corresponding to the keywords in pairs, and a command activation means for executing the converted character strings corresponding to the given keywords as commands. an interactive database device comprising: a dummy dictionary file that stores a given keyword and a converted character string corresponding to the keyword; and dictionary registration means that copies data of the designated dictionary file to the dummy dictionary file. , a dictionary reference means for searching the dummy dictionary file for a converted character string corresponding to a given keyword and providing it to the command activation means; a dictionary storage means for copying data of the dummy dictionary file to a specified dictionary file; A conversational database device comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63214401A JPH0261765A (en) | 1988-08-29 | 1988-08-29 | Interactive data base device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63214401A JPH0261765A (en) | 1988-08-29 | 1988-08-29 | Interactive data base device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0261765A true JPH0261765A (en) | 1990-03-01 |
Family
ID=16655181
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63214401A Pending JPH0261765A (en) | 1988-08-29 | 1988-08-29 | Interactive data base device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0261765A (en) |
-
1988
- 1988-08-29 JP JP63214401A patent/JPH0261765A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS59132029A (en) | Kana-kanji converting device | |
| JPH0261765A (en) | Interactive data base device | |
| JP3036005B2 (en) | Kana-Kanji conversion device | |
| JPH0159614B2 (en) | ||
| JPS6068425A (en) | Kana/kanji converter having learning function | |
| JP2628775B2 (en) | Dictionary creation device | |
| JP3340124B2 (en) | Kana-Kanji conversion device | |
| JP2757367B2 (en) | Character processor | |
| JPS61267827A (en) | Information registering and retrieving device | |
| JP2507676B2 (en) | Index input/output statement execution processing method | |
| JPH0685169B2 (en) | Document processing method | |
| JPH01224863A (en) | How to register in dictionary | |
| JPS61267828A (en) | Information registering and retrieving device | |
| JPH0281260A (en) | Data input system | |
| JPH0368061A (en) | Learning system for kana-kanji conversion | |
| JPS5853768B2 (en) | Document creation device with kanji dictionary | |
| JPH0341551A (en) | Character input device | |
| JPH04133166A (en) | Kana/kanji converter | |
| JPH05324635A (en) | Editor | |
| JPH0589093A (en) | Document creation device | |
| JPH04155571A (en) | Document processor | |
| JPS61273660A (en) | Input system for jointly used kanji and kana characters | |
| JPS63198129A (en) | Input data processing system in procedure | |
| JPH0244468A (en) | Key word input supporting device | |
| JPS60140460A (en) | Abbreviated converting system in kana (japanese syllabary) kanji (chinese character) converter |