JPH08110890A - Input interpretation device - Google Patents

Input interpretation device

Info

Publication number
JPH08110890A
JPH08110890A JP24645894A JP24645894A JPH08110890A JP H08110890 A JPH08110890 A JP H08110890A JP 24645894 A JP24645894 A JP 24645894A JP 24645894 A JP24645894 A JP 24645894A JP H08110890 A JPH08110890 A JP H08110890A
Authority
JP
Japan
Prior art keywords
history
command
input
user
interpretation
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
JP24645894A
Other languages
Japanese (ja)
Inventor
Yoshihide Ishiguro
義英 石黒
Masaru Kusui
大 久寿居
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 JP24645894A priority Critical patent/JPH08110890A/en
Publication of JPH08110890A publication Critical patent/JPH08110890A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE: To reduce the input labor and time and also the things which has to memorize for reducing the burden on the user by permitting the different ways of interpretation in accordance with the state of the user when the user's instruction includes the ambiguity showing no limitation in the arrangement way of plurality keywords or when the user's instruction lacks the necessary information. CONSTITUTION: This input interpretation device can execute an instruction accordant with the user's will by a simple input operation of the user. A message management/interpretation means 1 uses a registered word dictionary 2 to know a specific key word corresponding to a specific command respectively, and retrieves a history data base 8 through a history retrieving means 7 to know a specific parameter that is corresponding to the known key word. If plural ways of interpretation are still permitted for the input of the user, a state decision means 4 decides a proper way of interpretation based on the state knowledge 5.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、計算機利用者の計算機
との対話方式に関し、特に利用者からのコマンド入力を
解釈する入力解釈装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for a computer user to interact with a computer, and more particularly to an input interpreter for interpreting a command input from the user.

【0002】[0002]

【従来の技術】利用者が計算機と対話し指示を行うに
は、利用者が目的と最小限必要な情報だけを伝えること
により利用者の目的を達成できることが必要である。利
用者の指示の方法は、キーワードを自由に羅列した簡単
な入力であることが必要である。また、計算機側はこの
ような自由な形式の入力に対して、指示に情報の欠陥が
ある場合の欠落情報の補完、利用者の状況に応じて同じ
入力でも異なった解釈を行う必要があり、従来の技術の
中で自由な入力を実現するものとしては、特開昭62−
290919号公報「コマンド実行方法」が知られてい
る。その構成を図19に示す。
2. Description of the Related Art In order for a user to interact with a computer to give an instruction, it is necessary for the user to achieve the user's purpose by transmitting only the purpose and minimum necessary information. The method of instructing the user needs to be a simple input in which keywords are freely listed. In addition, for such free-form input, the computer side needs to supplement missing information when there is a defect in the instruction, and to interpret the same input differently depending on the user's situation, One of the conventional techniques for realizing free input is Japanese Patent Laid-Open No. 62-
No. 290919, "Command execution method" is known. The configuration is shown in FIG.

【0003】コマンド入力部23からのコマンド名と、
パラメータ入力部24からのコマンドに関するパラメー
タをコマンド解釈部26で解釈し、コマンドとそれらの
パラメータの個数(指定方法)によりコマンドの複数の
機能への対応を定義したコマンドの複数の機能への対応
を定義したコマンド操作手順定義部25の定義と照合す
ることで、対応するコマンドの機能を読み出し、コマン
ド機能実行部27で実行する。これにより、コマンドの
入力者は、自分の使いやすいパラメータの指定方法によ
りコマンドの実行が可能となる。
The command name from the command input section 23,
The command interpreting unit 26 interprets the parameters related to the command from the parameter input unit 24, and defines the correspondence between the command and the plurality of functions of the command according to the number of commands and the number of the parameters (designating method). By collating with the defined definition of the command operation procedure definition unit 25, the function of the corresponding command is read and executed by the command function execution unit 27. As a result, the person who inputs the command can execute the command by the method of specifying the parameter that is easy to use.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
方式では、コマンドとパラメータを入力時に分離しなけ
ればならないことや、利用者の状況を解釈するための情
報が少なく、同じ入力情報に対して、利用者の状況に依
存し異なった解釈を行うことができなかった。
However, in the conventional method, it is necessary to separate the command and the parameter at the time of input, and there is little information for interpreting the situation of the user. Different interpretations could not be made depending on the user's situation.

【0005】本発明の目的は、上記の問題点を解決する
ため、利用者の状況に応じた入力情報の解釈と、欠落情
報の補完により、従来行えなかった自由な形式でかつ必
要最小限の情報を入力するだけで、利用者の利用目的を
達成する入力解釈装置を提供することにある。
In order to solve the above problems, an object of the present invention is to interpret the input information according to the user's situation and to complement the missing information in a free format which has not been possible in the past and with a minimum required. An object of the present invention is to provide an input interpreting device that achieves a user's purpose of use only by inputting information.

【0006】[0006]

【課題を解決するための手段】本発明の第1の入力解釈
装置は、利用者からキーワードの組み合わせからなる命
令指示を入力する入力手段と、前記利用者への応答を行
う出力手段と、前記キーワードに対応するコマンドを登
録した登録語辞書と、前記コマンドを実行するコマンド
実行手段と、前記入力手段と前記出力手段と前記コマン
ド実行手段との履歴を記憶する履歴データベースと、前
記キーワードに関する前記履歴を検索する履歴検索手段
と、前記コマンドと前記コマンドのパラメータの対応を
記述したメッセージフォーマット知識と、前記登録語辞
書、前記メッセージフォーマット知識及び前記履歴検索
手段を用いて前記命令指示を解釈し、該当するコマンド
及び対応するパラメータを前記コマンド実行手段に送信
し、前記コマンド実行手段の実行結果を前記出力手段に
出力するメッセージ管理/解釈手段とを有することを特
徴とする。
A first input interpreting device of the present invention comprises an input means for inputting a command and instruction consisting of a combination of keywords from a user, an output means for making a response to the user, and A registered word dictionary in which a command corresponding to a keyword is registered, a command execution means for executing the command, a history database for storing a history of the input means, the output means, and the command execution means, and the history of the keyword And a message format knowledge describing the correspondence between the command and the parameter of the command, the registered word dictionary, the message format knowledge and the history search means to interpret the command instruction, The command to be executed and the corresponding parameter to the command executing means, And having a message management / interpreting means for outputting the execution result of the line means to the output means.

【0007】また、本発明の第2の入力解釈装置は、第
1の入力解釈装置に対して、前記キーワードと前記キー
ワードの属性名の集合との対応を表す対応表から構成さ
れるパラメータ辞書と、前記履歴検索手段からキーワー
ドを受け取り、前記パラメータ辞書を検索し前記キーワ
ードの前記属性名を前記履歴検索手段に出力し、前記履
歴データベースの履歴が書き加えられた場合、書き加え
られた履歴を用いて前記パラメータ辞書の更新を行う履
歴推論手段とを備えることを特徴とする。
Further, the second input interpreting apparatus of the present invention is, with respect to the first input interpreting apparatus, a parameter dictionary composed of a correspondence table showing a correspondence between the keyword and a set of attribute names of the keyword. Receiving a keyword from the history search means, searching the parameter dictionary, outputting the attribute name of the keyword to the history search means, and when the history of the history database is added, the added history is used. And history inference means for updating the parameter dictionary.

【0008】また、本発明の第3の入力解釈装置は、利
用者からキーワードの組み合わせからなる命令指示を入
力する入力手段と、前記利用者への応答を行う出力手段
と、前記キーワードに対応するコマンドを登録した登録
語辞書と、前記コマンドを実行するコマンド実行手段
と、前記コマンドと前記コマンドのパラメータの対応を
記述したメッセージフォーマット知識と、前記利用者が
入力する情報以外の第1の情報を収集する外部情報獲得
手段と、前記命令指示に関して収集すべき第2の情報を
定義するイベント辞書と、前記第2の情報を用いて前記
外部情報獲得手段から第1の情報を獲得し、前記入力手
段と前記出力手段と前記コマンド実行手段との履歴と、
前記第1の情報をグループ化し、イベントデータとして
登録するイベントデータ生成手段と、前記イベントデー
タを記憶する履歴データベースと、前記命令指示を履歴
検索表現かイベント関連表現に変換する情報を記載した
検索表現辞書と、前記イベント関連表現を前記履歴デー
タベースを検索することにより、前記履歴検索表現に変
換するイベント関連抽出手段と、前記命令指示を前記検
索表現辞書を利用して前記履歴検索表現もしくは前記イ
ベント関連表現に変換し、前記イベント関連表現がある
場合は、前記イベント関連抽出手段に出力し前記履歴検
索表現を得て、前記履歴検索表現を用いて前記履歴デー
タベースを検索する検索表現変換手段と、前記登録語辞
書、前記メッセージフォーマット知識及び前記検索表現
変換手段を用いて前記命令指示を解釈し、該当するコマ
ンド及び対応するパラメータを前記コマンド実行手段に
送信し、前記コマンド実行手段の実行結果を前記出力手
段に出力するメッセージ管理/解釈手段とを備えること
を特徴とする。
The third input interpreting apparatus of the present invention corresponds to the input means for inputting a command instruction consisting of a combination of keywords from the user, the output means for responding to the user, and the keyword. A registered word dictionary in which commands are registered, command execution means for executing the commands, message format knowledge describing the correspondence between the commands and the parameters of the commands, and first information other than the information input by the user. External information acquisition means to collect, an event dictionary defining second information to be collected with respect to the command instruction, first information from the external information acquisition means using the second information, and the input History of the means, the output means, and the command execution means,
Event data generating means for grouping the first information and registering it as event data, a history database for storing the event data, and a search expression describing information for converting the command instruction into a history search expression or an event-related expression. A dictionary and an event-related extraction unit that converts the event-related expression into the history search expression by searching the history database; and the history search expression or the event-related expression using the search instruction dictionary for the command instruction. Conversion to an expression, and if there is the event-related expression, output to the event-related extraction means to obtain the history search expression, and search expression conversion means for searching the history database using the history search expression; Using the registered word dictionary, the message format knowledge, and the search expression conversion means Message management / interpretation means for interpreting the command instruction, transmitting the corresponding command and the corresponding parameter to the command execution means, and outputting the execution result of the command execution means to the output means. .

【0009】また、本発明の第4の入力解釈装置は、第
3の入力解釈装置に対して、前記履歴データベースから
抽出するイベントデータと各項目の関連を定義するイベ
ント項目関連定義テーブルと、前記履歴データベースか
ら抽出されたイベントデータと前記イベントデータの頻
度を記録するイベント項目関連テーブルと、前記履歴デ
ータベースのイベントデータを読み込み、前記イベント
項目関連定義テーブルを用いて合致するイベントデータ
の頻度をカウントして前記イベント項目関連テーブルに
書き込み、前記カウントが規定値より大きい場合には、
前記検索表現辞書に該当するデータを変換し登録する検
索辞書生成手段とを備えることを特徴とする。
The fourth input interpretation device of the present invention is, with respect to the third input interpretation device, an event item relation definition table for defining a relation between the event data extracted from the history database and each item, and An event item relation table recording the event data extracted from the history database and the frequency of the event data and the event data of the history database are read, and the frequency of the matching event data is counted using the event item relation definition table. Write to the event item relation table, and if the count is larger than the specified value,
Search dictionary generating means for converting and registering data corresponding to the search expression dictionary.

【0010】また、本発明の第5の入力解釈装置は、第
1、2、3、又は4の入力解釈装置に対して、前記メッ
セージ管理/解釈手段で前記命令指示の解釈が複数存在
する場合に、前記解釈を状況に応じて決定するためのル
ールを記述した状況知識と、前記状況知識と前記履歴検
索手段を用いて、前記解釈を決定する状況判断手段とを
備えることを特徴とする。
Further, the fifth input interpretation device of the present invention is such that, in the first, second, third, or fourth input interpretation device, the message management / interpretation means has a plurality of interpretations of the command instruction. Further, it is characterized by comprising situation knowledge describing a rule for determining the interpretation according to the situation, and situation judging means for determining the interpretation using the situation knowledge and the history search means.

【0011】また、本発明の第6の入力解釈装置は、第
5の入力解釈装置に対して、前記状況知識は、状況に応
じて前記出力手段または前記コマンド実行手段に出力す
る情報を決定するために、前記履歴の内容表現を条件部
とし、前記コマンド実行手段または前記出力する前記情
報を実行部とするルールで表現したことを特徴とする。
The sixth input interpretation device of the present invention is different from the fifth input interpretation device in that the situation knowledge determines information to be output to the output means or the command execution means according to the situation. For this purpose, the content expression of the history is used as a condition part, and the command execution means or the information to be output is used as an execution part.

【0012】また、本発明の第7の入力解釈装置は、第
1、2、3、4、5、又は6の入力解釈装置に対して、
前記メッセージフォーマット知識は、コマンド及び前記
コマンドのパラメータの値域の対応を記述したことを特
徴とする。
A seventh input interpretation device of the present invention is the same as the first, second, third, fourth, fifth or sixth input interpretation device,
The message format knowledge describes a correspondence between a command and a range of parameters of the command.

【0013】[0013]

【作用】ここで、本発明の作用を図1の例を参照して説
明する。
The operation of the present invention will now be described with reference to the example of FIG.

【0014】メッセージ管理/解釈手段1では、履歴検
索手段7を通して履歴データベース8の履歴データと登
録語辞書2を用いて、入力手段10及びコマンド実行手
段9からのメッセージを解釈して状況判断手段4に伝え
たり、状況判断手段4からのメッセージを出力手段11
またはコマンド実行手段9へ送信したりする。この時、
やりとりされるメッセージは、メッセージフォーマット
知識3に記述されている形式に従う。履歴データベース
8には、メッセージ管理/解釈手段1を通して交わされ
たメッセージがすべて、履歴記録手段6を通して記録さ
れる。状況判断手段4は、履歴データベース8が書き換
えられると状況知識5を検索し、条件が成立した知識の
実行部に従って、出力手段11やコマンド実行手段9宛
のメッセージの送信をメッセージ管理/解釈手段1に要
求する。また、利用者からの入力に複数の解釈方法があ
り、メッセージ管理/解釈手段1ではいずれの解釈をす
べきか決定できない場合には、メッセージ管理/解釈手
段1は状況判断手段4に質問する。状況判断手段4は状
況知識5に従って最も可能性の高い解釈を決定しメッセ
ージ管理/解釈手段1に返答する。
In the message management / interpretation means 1, the history judgment means 4 interprets the messages from the input means 10 and the command execution means 9 using the history data of the history database 8 and the registered word dictionary 2 through the history search means 7. And the message from the situation judging means 4 to the output means 11
Alternatively, it is transmitted to the command executing means 9. This time,
The exchanged messages follow the format described in the message format knowledge 3. In the history database 8, all the messages exchanged through the message management / interpretation means 1 are recorded through the history recording means 6. When the history database 8 is rewritten, the situation judging means 4 searches the situation knowledge 5, and the message managing / interpreting means 1 transmits the message addressed to the output means 11 and the command executing means 9 in accordance with the knowledge execution unit that satisfies the condition. To request. If there are a plurality of interpretation methods for the input from the user and the message management / interpretation means 1 cannot determine which interpretation should be performed, the message management / interpretation means 1 queries the situation determination means 4. The situation judging means 4 determines the most probable interpretation according to the situation knowledge 5 and sends a reply to the message managing / interpreting means 1.

【0015】以上のことにより本発明においては、利用
者からの簡単な指示(キーワードの自由な羅列による)
によって、利用者の意図する応答を返すために、指示に
曖昧さを含んでいる場合や、情報の欠落がある場合に、
利用者の状況に応じた解釈が可能である。これにより、
利用者の入力時の手間や記憶しておかなければならない
ことを少なくし、利用者の負担を軽減することができ
る。
From the above, in the present invention, a simple instruction from the user (by a free list of keywords)
In order to return the response intended by the user, if there is ambiguity in the instruction or if there is missing information,
It can be interpreted according to the user's situation. This allows
It is possible to reduce the burden on the user by reducing the time and effort that the user has to enter and the things that must be stored.

【0016】[0016]

【実施例】本発明の第1の実施例を図1を参照して説明
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of the present invention will be described with reference to FIG.

【0017】例えば、利用者が「今できあがったTEX
T.DOCという文書を山田さんに電子メールで送付し
たい」と考えたとする。このとき、利用者は「文書、山
田、メール」や「メール、山田」のように簡単なキーワ
ードの組み合わせによるメッセージを入力手段10から
指示を与える。ここで、利用者の入力が「メール、山
田」であったとすると、入力手段10からメッセージ管
理/解釈手段1には『from入力手段 「メール、山
田」』が伝えられる(1001)。
For example, a user may say, "The TEX just completed.
T. I want to send a document called DOC to Mr. Yamada by e-mail. " At this time, the user gives an instruction from the input means 10 with a message such as “document, Yamada, mail” or “mail, Yamada”, which is a combination of simple keywords. Here, if the user's input is "mail, Yamada", "from input means" mail, Yamada "" is transmitted from the input means 10 to the message management / interpretation means 1 (1001).

【0018】メッセージ管理/解釈手段1は登録語辞書
2を用いて、メッセージ内のキーワードの意味を解釈す
る(102,201)。例えば、登録語辞書2は図2の
ようになっており、キーワード「メール」が「メール送
信」か「メール表示」のコマンドに対応することを知
り、キーワード「山田」は登録語辞書2に登録されてい
ないので、上記コマンドのパラメータであると判断す
る。
The message management / interpretation means 1 uses the registered word dictionary 2 to interpret the meaning of the keyword in the message (102, 201). For example, the registered word dictionary 2 is as shown in FIG. 2, and it is known that the keyword “mail” corresponds to the command of “send mail” or “display mail”, and the keyword “Yamada” is registered in the registered word dictionary 2. Since it has not been determined, it is determined to be the parameter of the above command.

【0019】次にメッセージ管理/解釈手段1は履歴検
索手段7にキーワード「山田」に関する検索指示を出す
(107)。履歴検索手段7は履歴データベース8を検
索して(708,807)、「山田」というキーワード
が過去にどのように利用されたかを調べるための履歴を
検索する。
Next, the message management / interpretation means 1 issues a search instruction regarding the keyword "Yamada" to the history search means 7 (107). The history search unit 7 searches the history database 8 (708, 807) and searches the history for checking how the keyword “Yamada” was used in the past.

【0020】例えば、履歴データベース8に図3に示す
ような、入力手段10と出力手段11とコマンド実行手
段9とのやり取りの履歴が蓄積されている場合、「山
田」というキーワードが「(電話番号の検索キーであ
る)人名」や「(FAXや電子メールなどの)送信
先」、「(FAXや電子メールなどの)送信元」として
利用されたことが分かる。この結果をメッセージ管理/
解釈手段1に返す(701)。
For example, when the history database 8 stores the history of exchanges between the input means 10, the output means 11 and the command execution means 9 as shown in FIG. 3, the keyword "Yamada" is "(telephone number It can be seen that it has been used as “personal name (which is a search key)”, “destination (such as FAX or email)”, and “source (such as FAX or email)”. Message management of this result /
It returns to the interpretation means 1 (701).

【0021】メッセージ管理/解釈手段1は、履歴検索
手段7の履歴の検索によりキーワード「山田」が「人
名」や「送信先」または「送信元」として利用される可
能性があることを知り(701)、コマンドとコマンド
のパラメータの対応を記述したメッセージフォーマット
知識3を検索して(103,301)、キーワード「メ
ール」の意味がメール送信ならば、キーワード「山田」
は送信先パラメータの値として用いられ、メール表示な
らば送信元パラメータの値として用いられることを知
る。ここで、図4はメッセージフォーマット知識3の一
実施例である。最終的にメッセージ管理/解釈手段1で
は、利用者からの入力は「メール送信、送信先は山田」
か、「メール表示、送信元は山田」のどちらかを意味す
るものと判断される。
The message management / interpretation means 1 knows that the keyword "Yamada" may be used as "personal name", "destination" or "source" by searching the history of the history search means 7 ( 701), the message format knowledge 3 describing the correspondence between the command and the parameter of the command is searched (103, 301), and if the meaning of the keyword "mail" is mail transmission, the keyword "Yamada"
Knows that is used as the value of the destination parameter, and is used as the value of the source parameter in the case of mail display. Here, FIG. 4 shows an example of the message format knowledge 3. Finally, in the message management / interpretation means 1, the input from the user is “mail transmission, destination is Yamada”
It is determined to mean either "mail display, sender is Yamada".

【0022】ここで、メッセージフォーマット知識3の
別の実施例を、図5を用いて説明する。例えば、利用者
からの入力が「明日、メール、山田」の場合、メッセー
ジフォーマット知識3が図5のようになっているとす
る。これまでに述べたのと同様にして、メッセージ管理
/解釈手段1は登録語辞書2を検索する(102)こと
により、キーワード「メール」が「メール送信」か「メ
ール表示」というコマンドに対応し、キーワード「明
日」が明日の日付を表すことを知る(201)。次にメ
ッセージ管理/解釈手段1は履歴検索手段7にキーワー
ド「山田」に関して検索指示を出し(107)、キーワ
ード「山田」が「人名」「送信先」「送信元」として利
用される可能性があることを知る(701)。メッセー
ジ管理/解釈手段1はメッセージフォーマット知識3を
検索して(103,301)、キーワード「明日」がパ
ラメータ「受信日時」の値域から外れているので、キー
ワード「メール」の意味がメール表示でなく、メール送
信であると判断する。
Here, another embodiment of the message format knowledge 3 will be described with reference to FIG. For example, when the input from the user is "tomorrow, mail, Yamada", the message format knowledge 3 is as shown in FIG. In the same manner as described above, the message management / interpretation means 1 searches the registered word dictionary 2 (102), and the keyword "mail" corresponds to the command "send mail" or "display mail". , 201 know that the keyword "tomorrow" represents tomorrow's date (201). Next, the message management / interpretation means 1 issues a search instruction to the history search means 7 regarding the keyword "Yamada" (107), and the keyword "Yamada" may be used as "personal name""destination""sender". Know that there is (701). The message management / interpretation means 1 searches the message format knowledge 3 (103, 301), and the keyword "tomorrow" is out of the range of the parameter "reception date and time", so that the meaning of the keyword "mail" is not a mail display. , It is determined that the mail is sent.

【0023】そして、利用者からの入力が「メール、山
田」であり、メッセージ管理/解釈手段1が「メール送
信、送信先は山田」か、「メール表示、送信元は山田」
のどちらかを意味するものと判断すると、このどちらの
意味が妥当であるかの判断を状況判断手段4に依頼する
(104)。
The input from the user is "mail, Yamada", and the message management / interpretation means 1 is "mail transmission, destination is Yamada" or "mail display, source is Yamada".
If it is determined that the meaning means any of the above, the situation judgment means 4 is requested to judge which meaning is appropriate (104).

【0024】状況判断手段4は状況知識5で記述される
ルールを適用するための履歴の検索の指示を履歴検索手
段7に出して(407)、履歴データベース8を検索
(708,807)した結果を受け取り(704)、状
況知識5を用いて(405,504)、メッセージ管理
/解釈手段1からの質問に答える(401)。以下その
詳細を示す。
The situation judging means 4 issues a history retrieval instruction for applying the rule described in the situation knowledge 5 to the history retrieval means 7 (407) and retrieves the history database 8 (708, 807). Is received (704), the situation knowledge 5 is used (405, 504), and the question from the message management / interpretation means 1 is answered (401). The details will be shown below.

【0025】まず、状況知識5の一実施例を図6に示
す。この例では、 「ルール1:利用者がメール送信の指示をしたなら、コ
マンド実行手段9にメール送信要求メッセージを送信す
る」 「ルール1′:ルール1が成立し、送信ファイルの指定
がなく、それ以前に利用者が文書を作成していたなら、
作成した文書を送信する」 「ルール2:利用者がメール表示の指示をしたなら、コ
マンド実行手段9にメール表示要求メッセージを送信す
る」 「ルール2′:ルール2が成立し、表示するメールの指
定がなく、それ以前に利用者が到着したメールを読んで
なければ、到着したメールを表示する」を意味するルー
ルが記述されている。ここで条件部には、履歴データベ
ース8に蓄積される履歴の内容についての条件が記述さ
れる。例えば、ルール1では条件として、入力手段から
の履歴であり、内容がメール送信コマンドであることが
規定されている。また、%を前置する数字によって変数
を示し、パラメータの値を該当する変数に代入すること
も示している。この変数値は、実行部でメッセージを組
み立てる際に利用される。また、実行部は、コマンド実
行手段または出力手段に出力する情報であるメッセージ
の送信先とその内容を規定する記述がなされている。例
えば、ルール1では、コマンド実行手段に対して、メー
ル送信のコマンドを通知することが記述されている。ま
た、このコマンドのパラメータは、条件部で代入された
変数値を利用することも規定される。すなわち、ルール
1の例では、出力されるメッセージのコマンドのパラメ
ータである“送信先”は履歴中で条件部に合致した履歴
で、コマンド中に利用されていたパラメータである“送
信先”の値がそのまま利用されることになる。
First, FIG. 6 shows an example of the situation knowledge 5. In this example, "Rule 1: If the user gives an instruction to send a mail, a mail sending request message is sent to the command executing means 9""Rule 1 ': Rule 1 is satisfied and no send file is specified, If the user created the document before that,
"Send the created document""Rule 2: If the user instructs mail display, send a mail display request message to the command executing means 9""Rule 2 ': Rule 2 is established and the mail to be displayed is displayed. If there is no designation and the user does not read the mail that arrived before that time, the displayed mail will be displayed ”. Here, in the condition section, conditions regarding the contents of the history accumulated in the history database 8 are described. For example, rule 1 specifies that the condition is a history from the input means and the content is a mail transmission command. It also indicates that a variable is indicated by a number prefixed with% and that the value of the parameter is substituted for the corresponding variable. This variable value is used when assembling a message in the execution unit. The execution unit has a description that defines the transmission destination of the message, which is information output to the command execution unit or the output unit, and the content thereof. For example, Rule 1 describes that the command execution means is notified of a command for mail transmission. It is also specified that the parameter of this command uses the variable value substituted in the condition part. That is, in the example of rule 1, the parameter of the command of the output message, "destination", is the history that matches the condition part in the history, and the value of the "destination" that is the parameter used in the command. Will be used as is.

【0026】利用者は元々「今できあがった文書を山田
さんにメールで送りたい」と考えたのであり、履歴デー
タベース8には、利用者からの文書を作成したいという
意味のメッセージと、TEXT.DOCという文書を作
成したという意味のコマンド実行手段9からのメッセー
ジが、図7のように履歴として記録されている。
The user originally thought that "I want to send the created document to Mr. Yamada by mail." Therefore, in the history database 8, a message indicating that the user wants to create a document and TEXT. A message from the command executing means 9 meaning that a document called DOC has been created is recorded as a history as shown in FIG.

【0027】状況判断手段4では、複数通りある利用者
からの入力の解釈のうち一つを仮定し、履歴検索手段7
に指示して(407,704)、履歴データベース8を
検索し(708,807)、状況知識5の中で成立する
ルールがあるかを調べる(405,504)。
The situation judging means 4 assumes one of a plurality of interpretations of the input from the user, and the history searching means 7
(407, 704), the history database 8 is searched (708, 807), and it is checked whether there is a rule that holds in the situation knowledge 5 (405, 504).

【0028】複数のルールが成立した場合には、より最
近に記録されたメッセージに適合するルールが優先され
る。成立したルールに対応する解釈が、最も適切な解釈
である可能性が高いと判断する。ここでは、文書を作成
したいという履歴が最近のものであり、状況知識5のル
ール1とルール1′が、より最近に記録されたメッセー
ジに適合すると判断する。状況判断手段4は、利用者の
指示は「メール送信、送信先は山田、送信ファイルはT
EXT.DOC」という解釈が正しい可能性が高いとメ
ッセージ管理/解釈手段1に返答する(401)。
When a plurality of rules are satisfied, the rule matching the more recently recorded message is given priority. It is highly likely that the interpretation that corresponds to the established rule is the most appropriate interpretation. In this case, the history of document creation is recent, and it is determined that the rules 1 and 1'of the situation knowledge 5 are suitable for the message recorded more recently. The situation judging means 4 indicates that the user's instruction is “mail transmission, destination is Yamada, transmission file is T
EXT. If there is a high possibility that the interpretation of "DOC" is correct, it returns to the message management / interpretation means 1 (401).

【0029】メッセージ管理/解釈手段1は出力手段1
1を通して利用者に確認を行う(1011)。利用者に
確認した後、履歴記録手段6に指示し(106)、履歴
データベース8に『from入力手段 「メール送信、
送信先=山田、送信ファイル=TEXT.DOC」』と
書き込む(608)。状況判断手段4は履歴データベー
ス8が書き換えられたことをメッセージ管理/解釈手段
1より伝えられると(104)、状況知識5の中から成
立するルールを検索し(405,504)、ルール1が
成立するので、状況判断手段4はルール1にしたがって
メッセージ管理/解釈手段1に『toコマンド実行手段
「メール送信、送信先は=山田、送信ファイル=TEX
T.DOC」』からなるメッセージを送信するように依
頼する(401)。メッセージ管理/解釈手段1がコマ
ンド実行手段9にメッセージを送信する(109)こと
により、コマンド実行手段9はコマンドを実行し利用者
の目的は達成される。
Message management / interpretation means 1 is output means 1
The user is confirmed through 1 (1011). After confirming with the user, the history recording means 6 is instructed (106), and the history database 8 is displayed with “from input means“ mail transmission,
Destination = Yamada, Transmission file = TEXT. "DOC""is written (608). When the status judgment means 4 is informed by the message management / interpretation means 1 that the history database 8 has been rewritten (104), a rule that holds is searched from the situation knowledge 5 (405, 504), and rule 1 holds. Therefore, the status determination means 4 follows the rule 1 and sends the message management / interpretation means 1 to the "to command execution means" mail transmission, destination = Yamada, transmission file = TEX.
T. DOC ”” is requested to be transmitted (401). When the message management / interpretation means 1 sends a message to the command execution means 9 (109), the command execution means 9 executes the command and the purpose of the user is achieved.

【0030】また、状況知識5の別の実施例を図8に示
す。例えば、コマンド実行手段9は、山田さんから利用
者宛に送信された電子メールを受信すると、『from
コマンド実行手段 「メール受信、送信元=山田、
…」』というメッセージをメッセージ管理/解釈手段1
に伝える(901)。コマンド実行手段9からのメッセ
ージは、メッセージフォーマット知識に定められる形式
でメッセージ管理/解釈手段1に伝えられるので、メッ
セージ管理/解釈手段1は、履歴記録手段6にコマンド
実行手段9からのメッセージを記録するように指示し
(106)、履歴記録手段6は履歴データベース8に記
録する(608)。メッセージ管理/解釈手段1は、履
歴記録手段6に記録を指示すると同時に、状況判断手段
4に履歴データベース8が更新されたことを伝える(1
04)。
Another embodiment of the situation knowledge 5 is shown in FIG. For example, when the command executing means 9 receives an e-mail sent from Mr. Yamada to the user, “from
Command execution means "Mail reception, sender = Yamada,
Message management / interpretation means 1
(901). Since the message from the command execution means 9 is transmitted to the message management / interpretation means 1 in the format defined by the message format knowledge, the message management / interpretation means 1 records the message from the command execution means 9 in the history recording means 6. (106), and the history recording means 6 records in the history database 8 (608). The message management / interpretation means 1 instructs the history recording means 6 to record and at the same time informs the situation determination means 4 that the history database 8 has been updated (1
04).

【0031】状況判断手段4は履歴検索手段7に履歴デ
ータベース8に書き加えられた履歴を検索するように指
示する(407)。履歴検索手段7は履歴データベース
を検索し(708,807)、状況判断手段4に『fr
omコマンド実行手段 「メール受信、送信元=山田、
…」』という履歴を返す(704)。状況判断手段4
は、状況知識5の中で条件が成立するルールがないかを
調べる(405,504)。
The situation judging means 4 instructs the history searching means 7 to search the history written in the history database 8 (407). The history search means 7 searches the history database (708, 807) and the situation determination means 4 displays “fr”.
om command execution means "mail reception, sender = Yamada,
"" Is returned (704). Situation judging means 4
Checks for a rule that satisfies the condition in the situation knowledge 5 (405, 504).

【0032】状況知識5に図8のようにルールが記述さ
れていれば、状況判断手段4は、メッセージ管理/解釈
手段1に『to出力手段 「メール到着、送信元=山
田」』というメッセージを伝え(301)、メッセージ
管理/解釈手段1は履歴記録手段6に命じて(10
6)、履歴データベース8に記録させ(608)、出力
手段11に状況判断手段4からのメッセージを伝える
(1011)。
If the rule is described in the situation knowledge 5 as shown in FIG. 8, the situation judging means 4 sends the message “to output means“ mail arrival, sender = Yamada ”” to the message management / interpretation means 1. Message (301), the message management / interpretation means 1 commands the history recording means 6 (10
6) It is recorded in the history database 8 (608), and the message from the situation judging means 4 is transmitted to the output means 11 (1011).

【0033】出力手段11では、テンプレートにメッセ
ージに含まれるパラメータの値をはめ込むといった方法
で、例えば「山田さんより電子メールが届きました」な
どの利用者にわかる文章に変換して、利用者に提示す
る。
In the output means 11, by converting the value of the parameter included in the message into the template, it is converted into a sentence understandable to the user, such as "I received an e-mail from Mr. Yamada", and the user is informed. Present.

【0034】また例えば、山田さんから利用者にメール
が到着した後に、利用者が「山田さんから届いたメール
を表示させたい」と考え、前述の例と同様に入力手段1
0より「メール、山田」と入力した場合を考える。履歴
データベース8には、『to出力手段 「メール到着、
送信元=山田」』という履歴が残されているので、前述
の例と同様の手順で今度はルール2とルール2′が成立
し、メールを表示させたいという利用者の目的が達成さ
れる。このように利用者からの入力が全く同じであって
も、それまでの状況によって利用者からの入力を判断し
利用者の目的を達成することができる。
Further, for example, after the mail arrives from Mr. Yamada to the user, the user thinks "I want to display the mail sent from Mr. Yamada", and the input means 1 is used as in the above example.
Consider the case where "mail, Yamada" is entered from 0. In the history database 8, “to output means“ mail arrival,
Since the history "Sender = Yamada""is left, rules 2 and 2'are established by the procedure similar to the above example, and the purpose of the user who wants to display the mail is achieved. In this way, even if the input from the user is exactly the same, the input from the user can be judged according to the situation up to that point to achieve the purpose of the user.

【0035】次に本発明の第2の実施例を図9を参照し
て説明する。
Next, a second embodiment of the present invention will be described with reference to FIG.

【0036】利用者からの入力を処理して履歴データベ
ース8に書き込むまでの流れは、前記した本発明の第1
の実施例と同様のものである。
The flow from processing the input from the user to writing it in the history database 8 is the same as in the first embodiment of the present invention described above.
Is the same as the embodiment described above.

【0037】ここで、パラメータ辞書13は検索に利用
するため、以下の手順で履歴データベース8に蓄積され
る履歴データによって作成される。
Since the parameter dictionary 13 is used for searching, it is created by the history data stored in the history database 8 in the following procedure.

【0038】履歴データベース8に履歴が書き加えられ
ると、履歴推論手段12は履歴検索手段7を通じて履歴
データベース8に書き加えられた履歴を検索し(120
7,708,807,7012)、パラメータ辞書13
の更新を行う(12013,13012)。
When a history is added to the history database 8, the history inference means 12 retrieves the history added to the history database 8 through the history search means 7 (120).
7, 708, 807, 7012), the parameter dictionary 13
Is updated (12013, 13012).

【0039】図10にパラメータ辞書13の一実施例を
示す。パラメータ辞書13は、キーワード−グループN
o対応表とグループNo−属性名対応表とからなる対応
表で構成される。
FIG. 10 shows an embodiment of the parameter dictionary 13. The parameter dictionary 13 is a keyword-group N
It is composed of a correspondence table including a correspondence table and a group No-attribute name correspondence table.

【0040】例えば、図11のように履歴データベース
8に履歴が書き加えられていった場合を考える。
For example, consider the case where a history is added to the history database 8 as shown in FIG.

【0041】「田中というキーワードが電話番号を検索
するための人名の値として使われた」という意味の履歴
が書き込まれた場合には、パラメータ辞書13のグルー
プNo−属性名対応表のグループNo「1」の欄に属性
名として「人名」を、キーワード−グループNo対応表
のキーワードの欄に「田中」を、キーワード−グループ
No対応表の「田中」に対応するグループNoの欄に
「1」を書き込む(12013)。
When a history meaning that "the keyword Tanaka has been used as a value of a person's name for searching a telephone number" is written, the group number of the parameter dictionary 13-the group number of the attribute name correspondence table ""Personname" as an attribute name in the "1" column, "Tanaka" in the keyword column of the keyword-group No correspondence table, and "1" in the group number column corresponding to "Tanaka" in the keyword-group No correspondence table Is written (12013).

【0042】次に、「田中というキーワードがメール送
信のための送信先の値として使われた」という意味の履
歴が書き込まれた場合には、キーワード−グループNo
対応表のキーワードの欄に「田中」が既に記入されてお
り、かつキーワード−グループNo対応表の「田中」に
対応するグループNoの欄に「1」が記入されているの
で、パラメータ辞書13のグループNo−属性名対応表
のグループNo「1」の欄に「送信先」という属性名を
追加する(12013)。
Next, when a history meaning that the keyword "Tanaka has been used as a value of a destination for mail transmission" is written, the keyword-group No.
Since “Tanaka” has already been entered in the keyword column of the correspondence table, and “1” has been entered in the group number column corresponding to “Tanaka” in the keyword-group No correspondence table, the parameter dictionary 13 An attribute name "destination" is added to the group number "1" column of the group number-attribute name correspondence table (12013).

【0043】次に、「田中というキーワードがメール表
示のための送信元の値として使われた」という意味の履
歴が書き込まれた場合には、キーワード−グループNo
対応表のキーワードの欄に「田中」が既に記入されてお
り、キーワード−グループNo対応表の「田中」に対応
するグループNoの欄に「1」が記入されているので、
パラメータ辞書13のグループNo−属性名対応表のグ
ループNo「1」の欄に「送信元」という属性名を追加
する(12013)。
Next, when a history meaning that "the keyword" Tanaka has been used as a sender value for displaying mail "" is written, the keyword-group number is written.
Since "Tanaka" has already been entered in the keyword column of the correspondence table, and "1" has been entered in the group number column corresponding to "Tanaka" of the keyword-group No correspondence table,
The attribute name "sender" is added to the group number "1" column of the group number-attribute name correspondence table of the parameter dictionary 13 (12013).

【0044】次に、「山田というキーワードが電話番号
を検索するための人名の値として使われた」という意味
の履歴が書き込まれた場合には、キーワード−グループ
No対応表のキーワードの欄に「山田」を記入し、パラ
メータ辞書13のグループNo−属性名対応表のグルー
プNo「1」の欄に「人名」が記入されているので、キ
ーワード−グループNo対応表の「山田」に対応するグ
ループNoの欄に「1」を書き込む(12013)。
Next, if a history is written that means that the keyword "Yamada was used as the value of a person's name for searching a telephone number" is written, "Keyword-Group No. Correspondence Table" indicates "Keyword". “Yamada” is entered, and “person name” is entered in the group number “1” column of the group number-attribute name correspondence table of the parameter dictionary 13, so the group corresponding to “Yamada” in the keyword-group No correspondence table. “1” is written in the No field (12013).

【0045】このように、履歴推論手段12は同じキー
ワードを値として持ったことがある属性名を同じグルー
プとしてまとめ、あるキーワードがどのグループに含ま
れる属性の値として使われたことがあるかをパラメータ
辞書13に登録する。
As described above, the history inference means 12 collects the attribute names that have the same keyword as a value into the same group, and determines in which group a certain keyword has been used as the value of the attribute. Register in the parameter dictionary 13.

【0046】パラメータ辞書13の内容が上述したよう
に構成されている場合に、キーワード「山田」に関する
検索要求を受けた場合を考える。
Consider a case where the search request for the keyword "Yamada" is received when the contents of the parameter dictionary 13 are configured as described above.

【0047】履歴検索手段7はメッセージ管理/解釈手
段1からの検索要求を受けて履歴推論手段12に検索指
示を出す(7012)。
Upon receiving the search request from the message management / interpretation means 1, the history search means 7 issues a search instruction to the history inference means 12 (7012).

【0048】履歴推論手段12はパラメータ辞書13を
検索し(12013,13012)、「山田」というキ
ーワードが「人名」、「送信先」、「送信元」として使
われる可能性があるということを、履歴検索手段7に返
し(1207)、履歴検索手段7はその結果をメッセー
ジ管理/解釈手段1に返す(701)。
The history inference means 12 searches the parameter dictionary 13 (12013, 13012) and finds that the keyword "Yamada" may be used as "personal name", "destination" and "source". It returns to the history search means 7 (1207), and the history search means 7 returns the result to the message management / interpretation means 1 (701).

【0049】以上の処理により、図11に記載した「山
田」というキーワードが「送信先」や「送信元」の値と
して使われたという履歴が履歴データベース8に記録さ
れていない場合であっても、他の履歴を利用することに
より「山田」というキーワードが「送信先」や「送信
元」の値として使われる可能性があることを間接的に知
ることができ、情報の補完が可能となる。
By the above processing, even if the history that the keyword “Yamada” described in FIG. 11 is used as the value of “destination” or “source” is not recorded in the history database 8. , By using other histories, it is possible to indirectly know that the keyword “Yamada” may be used as the value of “destination” or “source”, and it is possible to supplement the information. .

【0050】次に本発明の第3の実施例を図12を参照
して説明する。
Next, a third embodiment of the present invention will be described with reference to FIG.

【0051】第3の実施例では、利用者が行った作業の
履歴をより詳細に記録するため、外部情報獲得手段14
で得られた情報をメッセージ管理/解釈手段1からの情
報に付加して履歴データベース8に蓄積するものであ
る。
In the third embodiment, since the history of the work performed by the user is recorded in more detail, the external information acquisition means 14
The information obtained in step 1 is added to the information from the message management / interpretation means 1 and stored in the history database 8.

【0052】外部情報獲得手段14は、位置センサなど
複数の既知のセンサチャネルを持ち、特に利用者の入力
する情報以外の情報(第1の情報)を外部から収集する
ものである。
The external information acquisition means 14 has a plurality of known sensor channels such as a position sensor, and particularly collects information (first information) other than the information input by the user from the outside.

【0053】ここで、例として利用者から入力手段10
を通して文書ファイルの格納要求があった場合を考え
る。この要求は、本発明の第2の実施例に記載した処理
を経て、最終的にコマンド実行手段9で処理され、その
文書ファイルを格納したという履歴の保存要求がメッセ
ージ管理/解釈手段1よりイベントデータ生成手段15
に伝えられる(1015)。この要求を受け、イベント
データ生成手段15は、外部情報の獲得を外部情報獲得
手段14に要求する(15014)。
Here, as an example, the user inputs means 10
Consider a case where a document file storage request is made through. This request is finally processed by the command executing means 9 through the processing described in the second embodiment of the present invention, and a history saving request that the document file is stored is issued by the message managing / interpreting means 1 as an event. Data generation means 15
(1015). In response to this request, the event data generation means 15 requests the external information acquisition means 14 to acquire external information (15014).

【0054】この時イベントデータ生成手段15は、
「ファイル格納要求」に関して収集すべき外部情報のリ
ストをイベント辞書16より入手し(15016,16
015)、同時に外部情報入力手段14に送る。イベン
ト辞書16は、図13に示すように、利用者からの入力
の内容(メッセージ管理/解釈手段1からのメッセージ
の内容)とそれに関係して獲得すべき外部情報のリスト
が記述されている。外部情報のリスト(第2の情報)
は、例えば“作業場所”といった獲得すべき情報の属性
名と、その情報を獲得するための外部情報獲得手段14
での情報源(センサーチャネル)の名前が記述されてい
る。外部情報獲得手段14では、要求されたリストの情
報を各センサーチャネルより獲得し、イベントデータ生
成手段15に送る(14015)。例えば、IDカード
を利用した入退出管理システム等を利用すれば、部屋へ
の入場者及び退場者等を時間情報とともに管理している
ので、会議などの場所(Where)とその会議への参
加者(Who)及び時間(When)を会議室の入退出
履歴情報から外部情報として得ることができる。
At this time, the event data generating means 15
A list of external information to be collected regarding the “file storage request” is obtained from the event dictionary 16 (15016, 16
015), and at the same time, send it to the external information input means 14. As shown in FIG. 13, the event dictionary 16 describes the contents of the input from the user (contents of the message from the message management / interpretation means 1) and a list of external information to be acquired in relation to the contents. List of external information (second information)
Is an attribute name of information to be acquired, such as "work place", and external information acquisition means 14 for acquiring the information.
The name of the information source (sensor channel) is described in. The external information acquisition means 14 acquires the information of the requested list from each sensor channel and sends it to the event data generation means 15 (14015). For example, if an entrance / exit management system using an ID card is used, the number of people entering and leaving the room is managed along with the time information. Therefore, the place (Where) and the participants of the meeting (Who) and time (When) can be obtained as external information from the entry / exit history information of the conference room.

【0055】イベントデータ生成手段15では、メッセ
ージ管理/解釈手段1からの履歴の情報と外部情報獲得
手段14からの情報をグループ化し、5W1H(いわゆ
る、いつ、どこで、だれが、だれと、何を、どのよう
に、といった情報の組)を基本形式とするイベントデー
タとして履歴データベース8に登録する(1508)。
登録された履歴情報の例を図14に示す。この履歴が登
録されている場合に、メッセージ管理/解釈手段1より
「昨日」、「会議」、「資料」というキーワードによる
検索要求があったとする。これは、例えば、「昨日の会
議で使われた資料」を検索しようとする場合の入力であ
る。これらのキーワードをうけて検索表現変換手段18
は、検索表現辞書19を利用することで、履歴検索表現
もしくはイベント関連表現といった履歴の検索表現形式
に変換する(18019,19018)。
In the event data generation means 15, the history information from the message management / interpretation means 1 and the information from the external information acquisition means 14 are grouped into 5W1H (so-called when, where, who, who and what. , How, etc.) is registered in the history database 8 as event data having a basic format (1508).
FIG. 14 shows an example of registered history information. When this history is registered, it is assumed that the message management / interpretation unit 1 makes a search request using the keywords “yesterday”, “meeting”, and “material”. This is an input, for example, when searching for “materials used in the meeting yesterday”. The search expression conversion means 18 receives these keywords.
Uses the search expression dictionary 19 to convert into a history search expression format such as a history search expression or an event-related expression (18019, 19018).

【0056】検索表現辞書19には、利用者から入力を
履歴の検索表現またはイベント関連表現に変換するため
の情報が記述されている。
The search expression dictionary 19 describes information for converting an input from a user into a history search expression or an event-related expression.

【0057】図15に検索表現辞書の一実施例を示す。
履歴検索表現は履歴を検索する表現であり、イベント関
連表現は、おもにイベントの時間順序関係を表す表現で
ある。この例で、記号$を前置しているものは変数を表
すものである。特に、$current_dateは、
現在の日付を示すシステム変数である。
FIG. 15 shows an embodiment of the search expression dictionary.
The history search expression is an expression for searching a history, and the event-related expression is an expression mainly representing a time order relation of events. In this example, what is preceded by the symbol $ represents a variable. In particular, $ current_date is
This is a system variable indicating the current date.

【0058】入力が「昨日」、「会議中」、「資料」の
場合、検索日が8月5日であったとすると、「昨日」→
「date(“94/8/4”)」、「会議中」→「d
uring(“会議”)」、「Where=“会議
室”」、「資料」→「What=“データ格納”」とい
う表現に変換される。ここで、date、during
は、それぞれ履歴中のイベントの時間の範囲を規定する
イベント関連表現である。変換された表現の中にイベン
ト関連表現がある場合は、イベント関連抽出手段17に
そのデータを送る(18017)。
When the input is "yesterday", "in a meeting", and "material", if the search date is August 5, "yesterday" →
“Date (“ 94/8/4 ”)”, “Meeting” → “d”
uring (“meeting”) ”,“ Where = “meeting room” ”,“ material ”→“ What = “data storage” ”. Where date, duration
Is an event-related expression that defines the time range of each event in the history. If the converted expression includes an event-related expression, the data is sent to the event-related extraction means 17 (18017).

【0059】イベント関連抽出手段17では、duri
ngやdateで規定されたイベント関連表現を履歴デ
ータベース8を検索することで、履歴検索表現に変換す
る。例えば、「during(“会議”)」は、「会
議」というイベントの間の時間を指し、履歴データから
会議イベントの始めと終わりの時間を抽出することで、
具体的な時間表現を得る。図14に示した履歴の場合、
「When≧“94/8/4 10:00” and
When≦“94/8/4 11:00”」という検索
表現が「during(“会議”)」を満たす一つの候
補である。また、「date(“94/8/4”)」と
いう表現からは、「When≧“94/8/4 0:0
0” and When<“94/8/5 0:0
0”」という表現を得る。変換された検索表現は、検索
表現変換手段18に返される(17018)。
In the event relation extraction means 17, the duri
An event related expression defined by ng or date is converted into a history search expression by searching the history database 8. For example, "during (" meeting ")" refers to the time between events called "meeting" and by extracting the start and end times of a meeting event from historical data,
Get a concrete time representation. In the case of the history shown in FIG. 14,
“When ≧“ 94/8/4 10:00 ”and
The search expression “When ≦“ 94/8/4 11:00 ”” is one candidate that satisfies “during (“ meeting ”)”. Further, from the expression “date (“ 94/8/4 ”)”, “When ≧“ 94/8/4 0: 0 ”
0 ”and When <“ 94/8/5 0: 0
Get the expression "0"". The converted search expression is returned to the search expression conversion means 18 (17018).

【0060】検索表現変換手段18では、利用者のすべ
ての入力に対する検索表現の条件に当てはまる履歴を、
履歴データベース8を検索することで得る(1808,
8018)。本実施例での「昨日」、「会議中」、「資
料」といった入力例の場合、「データ格納(“file
X”)」という履歴が検索対象となる。最終的に、検索
対象となった履歴から「資料」に相当する“file
X”というファイル名を得ることができる。
In the search expression conversion means 18, the history satisfying the search expression conditions for all user inputs is
Obtained by searching the history database 8 (1808,
8018). In the case of input examples such as “yesterday”, “in a meeting”, and “material” in the present embodiment, “data storage (“ file ”
The history "X") "is to be searched. Finally, from the history of the search target, "file" corresponding to "material"
You can get the file name "X".

【0061】以上のように、利用者の行った作業状況を
より詳細に記録し、その情報を利用することで、簡単な
利用者からの入力であっても、利用者の意図の解釈の精
度を上げることが可能になる。
As described above, by recording the work status of the user in more detail and using the information, the accuracy of the interpretation of the user's intention can be obtained even with a simple input from the user. It becomes possible to raise.

【0062】次に本発明の第4の実施例を図16を参照
して説明する。
Next, a fourth embodiment of the present invention will be described with reference to FIG.

【0063】第4の実施例では、本発明の第3の実施例
に検索表現辞書の生成の処理を加えたもので、それ以外
の処理は第3の実施例と同様である。
In the fourth embodiment, processing for generating a search expression dictionary is added to the third embodiment of the present invention, and the other processing is the same as in the third embodiment.

【0064】検索表現辞書生成手段20では、履歴デー
タベース8に記録されているイベントデータ及びイベン
ト項目関連定義テーブル21で定義されるパターンを読
み込み(8020,21020)、イベント項目関連定
義テーブル21で定義されるパターンに合致するイベン
トデータの頻度をカウントする。カウントの結果は、イ
ベント項目関連テーブル22に該当するイベントデータ
とともに書き込む(20022)。
The search expression dictionary generating means 20 reads the event data recorded in the history database 8 and the pattern defined in the event item relation definition table 21 (8020, 21020) and is defined in the event item relation definition table 21. The frequency of event data that matches the specified pattern is counted. The count result is written in the event item relation table 22 together with the corresponding event data (20022).

【0065】図17は、イベント項目関連定義テーブル
21の一実施例である。ここで、“*”は0文字以上の
文字列にマッチする正規表現である。この例では、履歴
中に「会議」という表現が出てきたら、Whereの項
目の情報との関連を抽出せよという意味になる。このよ
うな定義があり、図14に示した履歴が履歴データベー
ス8に記録されていた場合、イベント項目関連テーブル
22には、図18に示したデータが記録される。
FIG. 17 shows an example of the event item relation definition table 21. Here, “*” is a regular expression that matches a character string of 0 or more characters. In this example, if the expression "meeting" appears in the history, it means that the relation with the information of the Where item should be extracted. If there is such a definition and the history shown in FIG. 14 is recorded in the history database 8, the data shown in FIG. 18 is recorded in the event item relation table 22.

【0066】検索表現辞書生成手段20は、イベント項
目関連テーブル22を読み(22020)、記録された
カウントがあらかじめ定められた規定値よりも大きい場
合には、検索表現辞書19に該当するデータを変換し、
検索表現辞書19に登録する(20019)。例えば、
図18に示すデータからは、「*会議*」→「Wher
e=“3502会議室”」という検索表現辞書を変換す
るためのデータが生成され、図15に示した検索表現辞
書19の例では、そのデータを用いて、利用者入力の項
目に「会議」を、履歴検索表現の項目に「Where=
“3502会議室”」を書き加え、検索表現辞書19の
生成処理が可能となる。
The search expression dictionary generating means 20 reads the event item relation table 22 (22020) and, if the recorded count is larger than a predetermined specified value, converts the data corresponding to the search expression dictionary 19. Then
It is registered in the search expression dictionary 19 (20019). For example,
From the data shown in FIG. 18, “* meeting *” → “Where
Data for converting the search expression dictionary “e =“ 3502 conference room ”” is generated, and in the example of the search expression dictionary 19 illustrated in FIG. 15, the data is used to input “meeting” in the item input by the user. In the item of the history search expression "Where =
By adding "3502 conference room", it is possible to generate the search expression dictionary 19.

【0067】以上本発明の実施例について説明したが、
本発明はこれらの実施例のみに限定されるものではな
く、様々な入力形態の解釈が行える。例えば、利用者の
入力はキーボードからの入力に限定する必要はなく、音
声入力やマウスやペンを用いたメニュー選択入力、ペン
による手書き文字入力などを用いることができる。
The embodiment of the present invention has been described above.
The present invention is not limited to these examples, and can interpret various input forms. For example, the user's input is not limited to input from the keyboard, and voice input, menu selection input using a mouse or a pen, handwritten character input using a pen, and the like can be used.

【0068】また、説明した実施例では、登録語辞書2
を用いたコマンドの意味の解釈、パラメータ辞書13を
用いたパラメータの解釈、メッセージフォーマット知識
3を用いたメッセージフォーマットの解釈の順で利用者
からの入力を解釈したが、コマンドの意味の解釈、メッ
セージフォーマットの解釈、パラメータの解釈の順で行
っても良い。
In the embodiment described above, the registered word dictionary 2
The input from the user was interpreted in the order of interpreting the meaning of the command using, the interpreting the parameter using the parameter dictionary 13, and interpreting the message format using the message format knowledge 3. Format interpretation and parameter interpretation may be performed in this order.

【0069】[0069]

【発明の効果】以上説明したように装置を構成すること
により、利用者からの指示が、複数のキーワードの羅列
でその並べ方に制約がないような曖昧さを含んだ場合
や、指示に情報の欠落がある場合、利用者の状況に応じ
て異なる解釈をしなければならない場合に、どの解釈が
最も可能性が高いかを決定できる。これにより、利用者
の入力時の手間や記憶しておかなければならないことを
少なくし、利用者の負担を軽減できる。
By configuring the apparatus as described above, when the instruction from the user includes ambiguity in which there is no restriction on the arrangement of a plurality of keywords, or when the instruction includes information In the case of omissions, it is possible to determine which interpretation is most likely when different interpretations have to be done depending on the user's situation. As a result, it is possible to reduce the time and effort required for the user to make an input and to reduce the burden on the user, and to reduce the burden on the user.

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

【図1】本発明の第1の実施例による入力解釈装置の一
実施例を示す機能ブロック図である。
FIG. 1 is a functional block diagram showing an embodiment of an input interpretation device according to a first embodiment of the present invention.

【図2】本発明による登録語辞書2の例を示す図であ
る。
FIG. 2 is a diagram showing an example of a registered word dictionary 2 according to the present invention.

【図3】本発明による履歴データベース8の例を示す図
である。
FIG. 3 is a diagram showing an example of a history database 8 according to the present invention.

【図4】本発明によるメッセージフォーマット知識3の
例を示す図である。
FIG. 4 is a diagram showing an example of message format knowledge 3 according to the present invention.

【図5】本発明によるメッセージフォーマット知識3の
別の例を示す図である。
FIG. 5 is a diagram showing another example of message format knowledge 3 according to the present invention.

【図6】本発明による状況知識5の例を示す図である。FIG. 6 is a diagram showing an example of situation knowledge 5 according to the present invention.

【図7】本発明による履歴データベース8の例を示す図
である。
FIG. 7 is a diagram showing an example of a history database 8 according to the present invention.

【図8】本発明による状況知識5の例を示す図である。FIG. 8 is a diagram showing an example of situation knowledge 5 according to the present invention.

【図9】本発明の第2の実施例による入力解釈装置の一
実施例を示す機能ブロック図である。
FIG. 9 is a functional block diagram showing an embodiment of an input interpretation device according to the second embodiment of the present invention.

【図10】本発明によるパラメータ辞書13の例を示す
図である。
FIG. 10 is a diagram showing an example of a parameter dictionary 13 according to the present invention.

【図11】本発明による履歴データベース8の例を示す
図である。
FIG. 11 is a diagram showing an example of a history database 8 according to the present invention.

【図12】本発明の第3の実施例による入力解釈装置の
一実施例を示す機能ブロック図である。
FIG. 12 is a functional block diagram showing an embodiment of an input interpretation device according to the third embodiment of the present invention.

【図13】本発明によるイベント辞書16の例を示す図
である。
FIG. 13 is a diagram showing an example of an event dictionary 16 according to the present invention.

【図14】本発明による履歴データベース8の例を示す
図である。
FIG. 14 is a diagram showing an example of a history database 8 according to the present invention.

【図15】本発明による検索表現辞書19の例を示す図
である。
FIG. 15 is a diagram showing an example of a search expression dictionary 19 according to the present invention.

【図16】本発明の第4の実施例による入力解釈装置の
一実施例を示す機能ブロック図である。
FIG. 16 is a functional block diagram showing an embodiment of an input interpretation device according to the fourth embodiment of the present invention.

【図17】本発明によるイベント項目関連定義テーブル
21の例を示す図である。
FIG. 17 is a diagram showing an example of an event item relation definition table 21 according to the present invention.

【図18】本発明によるイベント項目関連テーブル22
の一例を示す図である。
FIG. 18 is an event item relation table 22 according to the present invention.
It is a figure showing an example of.

【図19】従来の技術を示すブロック図である。FIG. 19 is a block diagram showing a conventional technique.

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

1 メッセージ管理/解釈手段 2 登録語辞書 3 メッセージフォーマット知識 4 状況判断手段 5 状況知識 6 履歴記録手段 7 履歴検索手段 8 履歴データベース 9 コマンド実行手段 10 入力手段 11 出力手段 12 履歴推論手段 13 パラメータ辞書 14 外部情報獲得手段 15 イベントデータ生成手段 16 イベント辞書 17 イベント関連抽出手段 18 検索表現変換手段 19 検索表現辞書 20 検索表現辞書生成手段 21 イベント項目関連定義テーブル 22 イベント項目関連テーブル 23 コマンド入力部 24 パラメータ入力部 25 コマンド操作手順定義部 26 コマンド解釈部 27 コマンド機能実行部 1 Message Management / Interpretation Means 2 Registered Word Dictionary 3 Message Format Knowledge 4 Situation Judgment Means 5 Situation Knowledge 6 History Recording Means 7 History Search Means 8 History Database 9 Command Execution Means 10 Input Means 11 Output Means 12 History Inference Means 13 Parameter Dictionaries 14 External information acquisition means 15 Event data generation means 16 Event dictionary 17 Event related extraction means 18 Search expression conversion means 19 Search expression dictionary 20 Search expression dictionary generation means 21 Event item related definition table 22 Event item related table 23 Command input section 24 Parameter input Part 25 Command operation procedure definition part 26 Command interpretation part 27 Command function execution part

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】利用者からキーワードの組み合わせからな
る命令指示を入力する入力手段と、 前記利用者への応答を行う出力手段と、 前記キーワードに対応するコマンドを登録した登録語辞
書と、 前記コマンドを実行するコマンド実行手段と、 前記入力手段と前記出力手段と前記コマンド実行手段と
の履歴を記憶する履歴データベースと、 前記キーワードに関する前記履歴を検索する履歴検索手
段と、 前記コマンドと前記コマンドのパラメータの対応を記述
したメッセージフォーマット知識と、 前記登録語辞書、前記メッセージフォーマット知識及び
前記履歴検索手段を用いて前記命令指示を解釈し、該当
するコマンド及び対応するパラメータを前記コマンド実
行手段に送信し、前記コマンド実行手段の実行結果を前
記出力手段に出力するメッセージ管理/解釈手段とを有
することを特徴とする入力解釈装置。
1. An input unit for inputting a command instruction consisting of a combination of keywords from a user, an output unit for responding to the user, a registered word dictionary in which a command corresponding to the keyword is registered, and the command. Command execution means for executing, a history database for storing the history of the input means, the output means, and the command execution means, history search means for searching the history regarding the keyword, the command and the parameter of the command The message format knowledge describing the correspondence of, the registered word dictionary, the message format knowledge and the history search means to interpret the command instruction, and sends the corresponding command and the corresponding parameter to the command execution means, Output the execution result of the command execution means to the output means An input interpretation device comprising a message management / interpretation means.
【請求項2】前記キーワードと前記キーワードの属性名
の集合との対応を表す対応表から構成されるパラメータ
辞書と、 前記履歴検索手段からキーワードを受け取り、前記パラ
メータ辞書を検索し前記キーワードの前記属性名を前記
履歴検索手段に出力し、前記履歴データベースの履歴が
書き加えられた場合、書き加えられた履歴を用いて前記
パラメータ辞書の更新を行う履歴推論手段とを備えるこ
とを特徴とする請求項1に記載の入力解釈装置。
2. A parameter dictionary composed of a correspondence table showing correspondence between the keywords and a set of attribute names of the keywords, and a keyword received from the history search means, searched in the parameter dictionary, and the attributes of the keywords. A history inference means for outputting a name to the history search means and updating the parameter dictionary using the added history when the history of the history database is added. 1. The input interpretation device according to 1.
【請求項3】利用者からキーワードの組み合わせからな
る命令指示を入力する入力手段と、 前記利用者への応答を行う出力手段と、 前記キーワードに対応するコマンドを登録した登録語辞
書と、 前記コマンドを実行するコマンド実行手段と、 前記コマンドと前記コマンドのパラメータの対応を記述
したメッセージフォーマット知識と、 前記利用者が入力する情報以外の第1の情報を収集する
外部情報獲得手段と、 前記命令指示に関して収集すべき第2の情報を定義する
イベント辞書と、 前記第2の情報を用いて前記外部情報獲得手段から第1
の情報を獲得し、前記入力手段と前記出力手段と前記コ
マンド実行手段との履歴と、前記第1の情報をグループ
化し、イベントデータとして登録するイベントデータ生
成手段と、 前記イベントデータを記憶する履歴データベースと、 前記命令指示を履歴検索表現かイベント関連表現に変換
する情報を搭載した検索表現辞書と、 前記イベント関連表現を前記履歴データベースを検索す
ることにより、前記履歴検索表現に変換するイベント関
連抽出手段と、 前記命令指示を前記検索表現辞書を利用して前記履歴検
索表現もしくは前記イベント関連表現に変換し、前記イ
ベント関連表現がある場合は、前記イベント関連抽出手
段に出力し前記履歴検索表現を得て、前記履歴検索表現
を用いて前記履歴データベースを検索する検索表現変換
手段と、 前記登録語辞書、前記メッセージフォーマット知識及び
前記検索表現変換手段を用いて前記命令指示を解釈し、
該当するコマンド及び対応するパラメータを前記コマン
ド実行手段に送信し、前記コマンド実行手段の実行結果
を前記出力手段に出力するメッセージ管理/解釈手段と
を備えることを特徴とする入力解釈装置。
3. An input unit for inputting a command instruction consisting of a combination of keywords from a user, an output unit for responding to the user, a registered word dictionary in which a command corresponding to the keyword is registered, and the command. Command execution means for executing a command, message format knowledge describing the correspondence between the command and the parameter of the command, external information acquisition means for collecting first information other than information input by the user, and the command instruction And an event dictionary defining second information to be collected regarding the first information from the external information acquisition means using the second information.
Of the input means, the output means, and the command execution means, and the event data generation means for grouping the first information and registering it as event data, and a history for storing the event data. A database, a search expression dictionary equipped with information for converting the command instruction into a history search expression or an event related expression, and an event related extraction for converting the event related expression into the history search expression by searching the history database. Means for converting the command instruction into the history search expression or the event-related expression using the search expression dictionary, and if there is the event-related expression, outputs the event-related extraction means to the history-related expression. And a search expression conversion means for searching the history database using the history search expression, Interpreting the command instruction using the registered word dictionary, the message format knowledge, and the search expression conversion means,
An input interpreting apparatus comprising: a message management / interpretation unit that transmits a corresponding command and a corresponding parameter to the command execution unit, and outputs an execution result of the command execution unit to the output unit.
【請求項4】前記履歴データベースから抽出するイベン
トデータと各項目の関連を定義するイベント項目関連定
義テーブルと、 前記履歴データベースから抽出されたイベントデータと
前記イベントデータの頻度を記録するイベント項目関連
テーブルと、 前記履歴データベースのイベントデータを読み込み、前
記イベント項目関連定義テーブルを用いて合致するイベ
ントデータの頻度をカウントして前記イベント項目関連
テーブルに書き込み、前記カウントが規定値より大きい
場合には、前記検索表現辞書に該当するデータを変換し
登録する検索辞書生成手段とを備えることを特徴とする
請求項3に記載の入力解釈装置。
4. An event item relation definition table that defines the relation between event data and each item extracted from the history database, and an event item relation table that records the frequency of the event data extracted from the history database and the event data. And reading event data in the history database, counting the frequency of matching event data using the event item relation definition table, and writing the count in the event item relation table. The input interpretation device according to claim 3, further comprising a search dictionary generation unit that converts and registers data corresponding to the search expression dictionary.
【請求項5】前記メッセージ管理/解釈手段で前記命令
指示の解釈が複数存在する場合に、 前記解釈を状況に応じて決定するためのルールを記述し
た状況知識と、 前記状況知識と前記履歴検索手段を用いて、前記解釈を
決定する状況判断手段とを備えることを特徴とする請求
項1、2、3または4に記載の入力解釈装置。
5. When the message management / interpretation means has a plurality of interpretations of the command instruction, situation knowledge describing a rule for determining the interpretation according to a situation, the situation knowledge and the history search. 5. The input interpretation apparatus according to claim 1, 2, 3 or 4, further comprising: situation determination means for determining the interpretation using means.
【請求項6】前記状況知識は、 状況に応じて前記出力手段または前記コマンド実行手段
に出力する情報を決定するために、前記履歴の内容表現
を条件部とし、前記コマンド実行手段または前記出力す
る前記情報を実行部とするルールで表現したことを特徴
とする請求項5に記載の入力解釈装置。
6. The situation knowledge uses the content expression of the history as a condition part to determine the information to be output to the output means or the command execution means according to the situation, and outputs the command execution means or the output. The input interpretation device according to claim 5, wherein the information is expressed by a rule in which an execution unit is used.
【請求項7】前記メッセージフォーマット知識は、コマ
ンド及び前記コマンドのパラメータの値域の対応を記述
したことを特徴とする請求項1、2、3、4、5または
6に記載の入力解釈装置。
7. The input interpreting apparatus according to claim 1, wherein the message format knowledge describes a correspondence between a command and a range of parameters of the command.
JP24645894A 1994-10-12 1994-10-12 Input interpretation device Pending JPH08110890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24645894A JPH08110890A (en) 1994-10-12 1994-10-12 Input interpretation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24645894A JPH08110890A (en) 1994-10-12 1994-10-12 Input interpretation device

Publications (1)

Publication Number Publication Date
JPH08110890A true JPH08110890A (en) 1996-04-30

Family

ID=17148733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24645894A Pending JPH08110890A (en) 1994-10-12 1994-10-12 Input interpretation device

Country Status (1)

Country Link
JP (1) JPH08110890A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007510203A (en) * 2003-10-24 2007-04-19 マイクロソフト コーポレーション Mechanism for analyzing partially unresolved input
JP2007109118A (en) * 2005-10-17 2007-04-26 Hitachi Ltd Input instruction processing apparatus and input instruction processing program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06230915A (en) * 1993-02-03 1994-08-19 Nec Corp Interaction supporting system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06230915A (en) * 1993-02-03 1994-08-19 Nec Corp Interaction supporting system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007510203A (en) * 2003-10-24 2007-04-19 マイクロソフト コーポレーション Mechanism for analyzing partially unresolved input
JP2007109118A (en) * 2005-10-17 2007-04-26 Hitachi Ltd Input instruction processing apparatus and input instruction processing program

Similar Documents

Publication Publication Date Title
KR101099278B1 (en) System and method for user modeling to enhance named entity recognition
US20040254928A1 (en) Database query user interface
JPH1153384A (en) Keyword extraction device, keyword extraction method, and computer-readable recording medium storing keyword extraction program
JP2025012467A (en) Information processing device, information processing method, and program
JP7847730B1 (en) Information management system, information management method, and program
CN112579733A (en) Rule matching method, rule matching device, storage medium and electronic equipment
CN119294499B (en) An Expert Matching Method and System Based on Knowledge Expansion and Fusion from a Large Language Model
JP2019145102A (en) Dialog management server, dialog management method, and program
CN119557405A (en) A human resources interaction system, method, device and storage medium
CN111209753A (en) Entity naming identification method and device
CN113326363A (en) Searching method and device, prediction model training method and device, and electronic device
JP2002230005A (en) Support center system
CN117436421A (en) Standard file editing system, method and equipment
JP7685921B2 (en) Information processing system, information processing method, and information processing program
CN117786066B (en) A document-oriented knowledge question answering method, device, equipment and medium
KR100501079B1 (en) Application system for network-based search service using resemblant words and method thereof
JPH0778183A (en) Database search system
JP2002014971A (en) Designated word related person information extracting device and computer readable recording medium storing designated word related person information extracting program
CN118260405A (en) Intention recognition method, intention recognition device and electronic equipment
JP3526198B2 (en) Database similarity search method and apparatus, and storage medium storing similarity search program
JPH0236019B2 (en)
JP2003016055A (en) Sentence creation device and sentence creation method
JPH09146932A (en) Document management system
JPH09282208A (en) Table generation method
JPH10260964A (en) Device and method for facilitating character input

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980317