JPH05189239A - Method and device for inputting natural language - Google Patents

Method and device for inputting natural language

Info

Publication number
JPH05189239A
JPH05189239A JP4004563A JP456392A JPH05189239A JP H05189239 A JPH05189239 A JP H05189239A JP 4004563 A JP4004563 A JP 4004563A JP 456392 A JP456392 A JP 456392A JP H05189239 A JPH05189239 A JP H05189239A
Authority
JP
Japan
Prior art keywords
natural language
input
command
user
text data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4004563A
Other languages
Japanese (ja)
Other versions
JP3391808B2 (en
Inventor
Yuji Ikeda
裕治 池田
Keiichi Sakai
桂一 酒井
Minoru Fujita
稔 藤田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP00456392A priority Critical patent/JP3391808B2/en
Publication of JPH05189239A publication Critical patent/JPH05189239A/en
Application granted granted Critical
Publication of JP3391808B2 publication Critical patent/JP3391808B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Machine Translation (AREA)

Abstract

PURPOSE:To obtain method/device for inputting natural language, which can input a command and a natural language sentence without discriminating them by providing means analyzing sentence data and judging and processing a designated content. CONSTITUTION:An input part 101 inputs the command peculiar to the device which is inputted by a user. A judgement part 102 judges data inputted from the input part 101 and judges whether inputted data is the command peculiar to the device or the command by sentence data generated by the natural language sentence. A natural language processing part 103 analyzes the natural language sentence obtained from the judgement part 102 and judges the command of a back end system 109, which corresponds to the content which the sentence data means. Thus, the judgement part 102 outputs the command received from the natural language processing part 103 to a command execution part 108. It executes the command of the back end system 109 and outputs the result to a result display part 110.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、自然言語により作成さ
れた文章データによって対話形式でコマンドを入力でき
る自然言語入力方法及び装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a natural language input method and apparatus capable of interactively inputting commands using text data created in natural language.

【0002】[0002]

【従来の技術】近年、自然言語により作成された文章デ
ータを入力し、その文章データで指示されたバックエン
ドシステムのコマンドを実行することができる自然言語
入力装置が研究、開発されている。このような装置の構
成を簡単に説明すると、ユーザにより入力されるバック
エンドシステムのコマンド(自然言語でない特有のコマ
ンド)を受取って、そのコマンドをバックエンドシステ
ムに対して実行するとともに、ユーザにより入力される
自然言語文によるコマンドを受取り、その自然言語文を
解析して、その自然言語文の意味するバックエンドシス
テムのコマンドを判定して、そのコマンドをバックエン
ドシステムに対して実行している。
2. Description of the Related Art In recent years, natural language input devices have been researched and developed which are capable of inputting text data created in natural language and executing a back-end system command instructed by the text data. To briefly explain the configuration of such a device, a back-end system command (a non-natural language specific command) input by a user is received, the command is executed to the back-end system, and input by the user. The command of the natural language sentence is received, the natural language sentence is analyzed, the command of the back-end system that the natural language sentence means is determined, and the command is executed to the back-end system.

【0003】このように2通りのコマンド入力ができる
自然言語入力装置では、その装置に特有のコマンドによ
る指示に基づいてバックエンドシステムを動かす場合
と、自然言語文により指示されるコマンドに基づいてバ
ックエンドシステムを動かす場合とでは、入力されたコ
マンドがそれぞれ別々の処理体系で処理される。
As described above, in the natural language input device capable of inputting two kinds of commands, the backend system is operated based on the command given by the device and the backend system is operated based on the command given by the natural language sentence. In the case of operating the end system, the input commands are processed by different processing systems.

【0004】また、自然言語文により作成されたコマン
ドを入力して処理できる装置では、その入力された自然
言語は文解析部で解析され、その解析された結果、コマ
ンドであると判断されると予め記憶されているユーザレ
ベルに応じて、その実行結果がユーザに応答される。
Further, in an apparatus capable of inputting and processing a command created by a natural language sentence, the input natural language is analyzed by a sentence analysis unit, and as a result of the analysis, it is determined to be a command. The execution result is returned to the user according to the user level stored in advance.

【0005】[0005]

【発明が解決しようとする課題】この記憶されているユ
ーザレベルは、対話の開始時にユーザが入力したり、対
話の内容によって変更するだけであるため、その装置を
再び使うまでの時間間隔が長く空くことによって、ユー
ザ自身のレベルが前回に比べて低下してレベルが合わな
くなってしまう。
Since this stored user level is only inputted by the user at the start of the dialogue or changed depending on the contents of the dialogue, there is a long time interval before the device is used again. As a result of the vacancy, the user's own level becomes lower than that of the previous time and the level will not match.

【0006】また上記従来例では、特有のコマンドによ
る指示でバックエンドシステムを動かす処理と、自然言
語によるコマンド入力でバックエンドシステム動かす処
理とがそれぞれ別々に動いているために、以下に示すよ
うな問題があった。 これらの処理のそれぞれが別々のタスクとして動作し
ているため、自然言語文によるコマンド入力と、装置に
特有のコマンド入力の両方の機能を使う時には、ユーザ
が両者の機能の切り替えをしなければならない。 マルチウインドウ・システムにより、これら両方のコ
マンド入力画面を同時に表示してコマンドを入力できる
ようにしても、ユーザによるウインドウを選択するため
の操作が必要になる。また、それぞれのウインドウに対
応して別々の処理が行われているため、ユーザによる一
連の対話処理が途切れてしまう。
Further, in the above-mentioned conventional example, the process of moving the backend system by the instruction of the specific command and the process of moving the backend system by the command input in the natural language are separately performed. There was a problem. Since each of these processes operates as a separate task, the user must switch between the functions of both natural language sentence command input and device-specific command input. .. Even if both of these command input screens are displayed at the same time by the multi-window system so that commands can be input, the user needs to perform an operation for selecting a window. Further, since different processing is performed for each window, a series of interactive processing by the user is interrupted.

【0007】本発明は上記従来例に鑑みてなされたもの
で、ユーザが自然言語文による指示コマンドと、装置に
特有のコマンドとを混在させて入力できるようにして、
ユーザがコマンドと自然言語文とを区別することなく入
力できる自然言語入力方法及び装置を提供することを目
的とする。
The present invention has been made in view of the above-mentioned conventional example, and allows a user to input an instruction command in a natural language sentence and a command peculiar to the apparatus in a mixed manner.
An object of the present invention is to provide a natural language input method and device that allow a user to input a command and a natural language sentence without distinguishing between them.

【0008】また本発明は、ユーザによる使用時間や使
用間隔に応じてユーザレベルの変更を可能にした自然言
語入力方法及び装置を提供することを目的とする。
It is another object of the present invention to provide a natural language input method and device capable of changing a user level according to a user's usage time or usage interval.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に本発明の自然言語入力装置は以下の様な構成を備え
る。即ち、自然言語によって作成された文章データを入
力して実行する自然言語入力装置であって、自然言語に
よって作成された指示情報を含む文章データ及び前記装
置に特有のコマンドデータの両方を入力する入力手段
と、前記入力手段より文章データが入力されると、その
文章データを解析する解析手段と、前記解析手段により
解析された前記文章データによる指示内容を判定する判
定手段と、前記判定手段により判定された指示内容或い
は前記入力手段より入力されたコマンドに従って処理を
行う処理手段とを有する。
In order to achieve the above object, the natural language input device of the present invention has the following configuration. That is, a natural language input device for inputting and executing sentence data created in natural language, and inputting both sentence data including instruction information created in natural language and command data specific to the device. Means, an analysis means for analyzing the text data when the text data is input from the input means, a determination means for determining the instruction content based on the text data analyzed by the analysis means, and a determination by the determination means And processing means for performing processing in accordance with the designated instruction content or the command input from the input means.

【0010】上記目的を達成するために本発明の自然言
語入力方法は以下の様な工程を備える。即ち、自然言語
によって作成された文章データを入力して実行する自然
言語入力方法であって、自然言語によって作成された指
示情報を含む文章データ及び装置に特有のコマンドデー
タの両方を入力する工程と、文章データが入力される
と、その文章データを解析する工程と、その解析された
文章データによる指示内容を判定する工程と、その判定
された指示内容或いは入力された特有のコマンドに従っ
て処理を行う工程とを有する。
In order to achieve the above object, the natural language input method of the present invention comprises the following steps. That is, it is a natural language input method of inputting and executing sentence data created in natural language, and a step of inputting both sentence data including instruction information created in natural language and command data peculiar to the device. When the text data is input, a step of analyzing the text data, a step of determining the instruction content based on the analyzed text data, and a process according to the determined instruction content or an input specific command And the process.

【0011】上記目的を達成するために本発明の自然言
語入力装置は以下の様な構成を備える。即ち、自然言語
によって作成された文章データを入力して実行する自然
言語入力装置であって、ユーザによって操作され、自然
言語によって作成された指示情報を含む文章データを入
力する入力手段と、前記文章データを解析する解析手段
と、前記解析手段により解析された前記文章データによ
る指示内容を判定する判定手段と、前記判定手段により
判定された指示内容に従って処理を行う処理手段と、前
記入力手段で入力したユーザのレベルを、少なくとも前
記ユーザの使用経験情報及び前回使用時におけるユーザ
レベル情報に基づいて決定する決定手段と、前記処理手
段により処理された結果を前記決定手段により決定され
たユーザレベルに応じて表示・出力する表示手段とを有
する。
In order to achieve the above object, the natural language input device of the present invention has the following configuration. That is, a natural language input device for inputting and executing sentence data created in natural language, the input device being operated by a user, for inputting sentence data including instruction information created in natural language, and the sentence. An analyzing means for analyzing data, a judging means for judging an instruction content based on the sentence data analyzed by the analyzing means, a processing means for performing processing according to the instruction content judged by the judging means, and an input by the input means According to the user level determined by the determining means, the determining means determining the user's level based on at least the user's experience information and the user level information at the time of previous use, and the result processed by the processing means. And display means for displaying and outputting.

【0012】上記目的を達成するために本発明の自然言
語入力方法は以下の様な工程を備える。即ち、自然言語
によって作成された文章データを入力して実行する自然
言語入力方法であって、ユーザにより自然言語によって
作成された指示情報を含む文章データを入力する工程
と、その入力された文章データを解析して、その文章デ
ータによる指示内容を判定する工程と、その判定された
指示内容に従って処理を行う工程と、文章データを入力
したユーザのレベルを、少なくともユーザの使用経験情
報及び前回使用時におけるユーザレベル情報に基づいて
決定する工程と、処理された結果を、決定されたユーザ
レベルに応じて表示・出力する工程とを有する。
In order to achieve the above object, the natural language input method of the present invention comprises the following steps. That is, a natural language input method for inputting and executing sentence data created in natural language, the process of inputting sentence data including instruction information created in natural language by a user, and the input sentence data The step of analyzing the text data to determine the instruction content based on the text data, the step of performing the processing in accordance with the determined instruction content, and the level of the user who input the text data, at least the user's experience information and the time of previous use. And a step of displaying and outputting the processed result in accordance with the determined user level.

【0013】[0013]

【作用】以上の構成において、自然言語によって作成さ
れた指示情報を含む文章データ及び装置に特有のコマン
ドデータの両方を入力し、文章データが入力されると、
その文章データを解析して、その解析された文章データ
による指示内容を判定する。そして、その判定された指
示内容或いは入力された特有のコマンドに従って処理を
行うように動作する。
With the above structure, when both the sentence data including the instruction information created in natural language and the command data peculiar to the device are input, and the sentence data is input,
The sentence data is analyzed, and the instruction content by the analyzed sentence data is determined. Then, the operation is performed according to the determined instruction content or the input specific command.

【0014】また他の発明によれば、ユーザにより自然
言語によって作成された指示情報を含む文章データを入
力し、その入力された文章データを解析して、その文章
データによる指示内容を判定する。そして、文章データ
を入力したユーザのレベルを、少なくともユーザの使用
経験情報及び前回使用時におけるユーザレベル情報に基
づいて決定し、文章データの指示内容に従って処理した
結果を、決定されたユーザレベルに応じて表示・出力す
る。
According to another invention, sentence data including instruction information created by a user in natural language is input, the input sentence data is analyzed, and the instruction content by the sentence data is determined. Then, the level of the user who inputs the text data is determined based on at least the user's experience information and the user level information at the time of the previous use, and the result of processing according to the instruction content of the text data is determined according to the determined user level. Display and output.

【0015】[0015]

【実施例】以下、添付図面を参照して本発明の好適な実
施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

【0016】図1は、本発明の第1の実施例に係る自然
言語入力装置の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing the schematic arrangement of a natural language input device according to the first embodiment of the present invention.

【0017】図1において、101は入力部で、ユーザ
により入力されるこの装置特有のコマンド等を入力する
とともに、自然言語により作成された文章データによる
コマンドの両方を入力する。102は判定部で、入力部
101より入力されたデータを判定して、その入力され
たデータがこの装置に特有のコマンドか、自然言語文に
よる作成された文章データによるコマンドかを判定して
いる。この判定部102は、その判定結果に従って、特
有のコマンドであった場合にはそのデータ(コマンド)
をコマンド実行部108に出力し、自然言語文であった
場合には、そのデータを自然言語処理部103に出力す
る。
In FIG. 1, reference numeral 101 denotes an input unit for inputting a device-specific command or the like input by a user, as well as a command based on text data created in natural language. A determination unit 102 determines the data input from the input unit 101 and determines whether the input data is a command peculiar to this device or a command based on text data created by a natural language sentence. .. According to the determination result, the determination unit 102 determines the data (command) if the command is a peculiar command.
Is output to the command execution unit 108, and if it is a natural language sentence, the data is output to the natural language processing unit 103.

【0018】自然言語処理部103は、その判定部10
2から得られた自然言語文を解析して、その文章データ
の意味する内容に対応するバックエンドシステム109
のコマンドを判定する。この自然言語処理部103は、
判定部102から得られた自然言語文の言語の意味を解
析する文解析部104と、その自然言語文の言語の意味
から判断されるユーザの指示内容を判定する指示内容判
定部105と、その指示内容に対応するバックエンドシ
ステム109のコマンドを決定するコマンド決定部10
6と、そのコマンド決定部106がコマンドの種類を決
定するために参照するデータベース107とを備えてい
る。そして、自然言語処理部103によって決定された
バックエンドシステム109のコマンドが判定部102
に出力され、これにより判定部102は、その自然言語
処理部103より受け取ったコマンドをコマンド実行部
108に出力する。
The natural language processing section 103 includes a determination section 10
The back-end system 109 that analyzes the natural language sentence obtained from 2 and corresponds to the meaning of the sentence data
Command is determined. This natural language processing unit 103
A sentence analysis unit 104 that analyzes the language meaning of the natural language sentence obtained from the determination unit 102, an instruction content determination unit 105 that determines the user's instruction content determined from the language meaning of the natural language sentence, and The command determination unit 10 that determines the command of the back-end system 109 corresponding to the instruction content.
6 and a database 107 that the command determination unit 106 refers to in order to determine the type of command. Then, the command of the back-end system 109 determined by the natural language processing unit 103 is the determination unit 102.
Then, the determination unit 102 outputs the command received from the natural language processing unit 103 to the command execution unit 108.

【0019】108はコマンド実行部で、判定部102
より入力したバックエンドシステム109のコマンドを
バックエンドシステム109に対して実行し、そのバッ
クエンドシステム109により実行された結果を結果表
示部110に出力している。110は結果表示部で、コ
マンド実行部108によって実行された結果を表示・出
力している。
Reference numeral 108 is a command execution unit, which is a judgment unit 102.
The input command of the back-end system 109 is executed to the back-end system 109, and the result executed by the back-end system 109 is output to the result display unit 110. A result display unit 110 displays / outputs the result executed by the command execution unit 108.

【0020】図2は、この第1の実施例の自然言語入力
装置において、自然言語文によるコマンドと、バックエ
ンドシステム109の特有コマンドとを混在して入力し
て実行する処理を示すフローチャートである。
FIG. 2 is a flow chart showing a process of inputting and executing a command in a natural language sentence and a specific command of the backend system 109 in a mixed manner in the natural language input device of the first embodiment. ..

【0021】まずステップS1で、ユーザにより入力部
101でデータが入力される。ここでは特有のコマンド
の入力、及び自然言語文によるコマンド入力の両方を入
力することができる。次にステップS2で、ステップS
1で入力されたデータを判定して、特有のコマンドの入
力か、自然言語文によるコマンドかを判定する判定処理
を行なう。この判定処理における結果に従ってステップ
S3では、特有のコマンドが入力された時はステップS
7に進み、その情報をコマンド実行部108に出力す
る。
First, in step S1, the user inputs data through the input unit 101. Here, both a specific command input and a command input by a natural language sentence can be input. Next, in step S2, step S
The data input in 1 is determined, and determination processing is performed to determine whether a specific command is input or a command in a natural language sentence. According to the result of this determination process, in step S3, when a specific command is input, step S3 is executed.
7, the information is output to the command execution unit 108.

【0022】一方、ステップS3で自然言語文の入力で
あると判定された場合はステップS4に進み、その自然
言語文を文解析処理104に出力して解析する。この文
解析処理では、この自然言語文の意味を解析し、その内
容をステップS5の指示内容判定処理に受け渡す。ステ
ップS5の指示内容判定処理では、ステップS4で文解
析した解析結果から、指示内容判定部105においてど
のような目的あるいはどの機能の指示を行なっているか
を判定する。次にステップS6に進み、その判定結果に
よりコマンド決定部106によって、バックエンドシス
テム109のコマンドに関する情報を格納しているコマ
ンドのデータベース107が参照されて、対応するバッ
クエンドシステム109のコマンドが決定される。次に
ステップS7に進み、その決定されたコマンドを判定部
102を介してコマンド実行部108に出力する。これ
により、バックエンドシステム109に対してそのコマ
ンドが実行される。
On the other hand, if it is determined in step S3 that the input is a natural language sentence, the process proceeds to step S4 and the natural language sentence is output to the sentence analysis processing 104 for analysis. In this sentence analysis process, the meaning of this natural language sentence is analyzed, and the content is passed to the instruction content determination process in step S5. In the instruction content determination processing in step S5, it is determined from the analysis result obtained by the sentence analysis in step S4 what purpose or what function the instruction content determination unit 105 is instructing. Next, in step S6, the command determination unit 106 refers to the command database 107 that stores information related to the commands of the backend system 109 based on the determination result, and determines the corresponding command of the backend system 109. It Next, in step S7, the determined command is output to the command execution unit 108 via the determination unit 102. As a result, the command is executed for the backend system 109.

【0023】このステップS7のコマンド実行処理は、
コマンド決定部106において決定されたコマンド、或
いはステップS3の判断によって、入力部101よりユ
ーザが入力した特有のコマンドが、バックエンドシステ
ム109に対し実行される。そして、バックエンドシス
テム109におけるそのコマンドの実行結果を、そのバ
ックエンドシステム109から受け取る。こうして実行
結果が得られるとステップS8に進み、その結果を表示
する表示処理を行う。このステップS8の結果表示処理
は、ステップS7によるコマンド実行処理により求めら
れた結果を結果表示部110に表示するものである。次
にステップS9で、ユーザとの対話処理を終了させるか
否かの判断を行ない、終了させる指示が入力されると、
その対話処理を終了させる。もし、終了でない場合には
ステップS1に戻り、ユーザよりの次のデータを受取る
ための処理を行う。これらの処理の繰り返すことによっ
て自然言語文によるコマンド入力と、バックエンドシス
テム109に特有なコマンドによるコマンド入力とを混
在させて実行することができる。
The command execution processing in step S7 is
The command determined by the command determination unit 106 or the specific command input by the user through the input unit 101 is executed by the back-end system 109 according to the determination in step S3. Then, the execution result of the command in the backend system 109 is received from the backend system 109. When the execution result is obtained in this way, the process proceeds to step S8, and display processing for displaying the result is performed. The result display process of step S8 displays the result obtained by the command execution process of step S7 on the result display unit 110. Next, in step S9, it is determined whether or not to terminate the interaction processing with the user, and when an instruction to terminate is input,
The dialogue processing is ended. If not, the process returns to step S1 to perform processing for receiving the next data from the user. By repeating these processes, the command input by the natural language sentence and the command input by the command specific to the back-end system 109 can be mixed and executed.

【0024】次に、この第1の実施例における対話処理
を図3を参照して説明する。この図3では、バックエン
ドシステム109として、UNIXのコマンド・インタ
プリタを採用した場合で示している。
Next, the dialogue processing in the first embodiment will be described with reference to FIG. In FIG. 3, a UNIX command interpreter is used as the back-end system 109.

【0025】図3において、61で示すように、(Us
r1)のユーザの指示、“pwd”が入力部101より
入力されると、このデータが判定部102により実行さ
れるステップS2の判定処理で判定される。図3の例で
は、バックエンドコマンドがUNIXのコマンドであ
り、自然言語文が日本語であるので、ステップS2の判
定処理では、受け取った入力がASCII文字である
か、日本語文字(例えばJISコードやEUCコード)
であるかを判定する。ここで、“pwd”はASCII
文字であるので、この入力はコマンドによる指示である
と判定されて、ステップS3の判断によってバックエン
ドシステム109に特有のコマンドであると判定され
て、ステップS7のコマンド実行処理に(Usr1)の
入力が渡される。
In FIG. 3, as indicated by 61, (Us
When the user's instruction “rwd” “pwd” is input from the input unit 101, this data is determined by the determination process of step S2 executed by the determination unit 102. In the example of FIG. 3, since the back-end command is a UNIX command and the natural language sentence is Japanese, in the determination processing of step S2, the received input is an ASCII character or a Japanese character (for example, JIS code). And EUC code)
Is determined. Here, "pwd" is ASCII
Since it is a character, this input is determined to be an instruction by a command, it is determined to be a command peculiar to the back-end system 109 by the determination of step S3, and (Usr1) is input to the command execution process of step S7. Is passed.

【0026】ステップS7では、この入力をバックエン
ドシステム109であるUNIXコマンド・インタプリ
タに対して実行する。そして、ステップS7でそのコマ
ンドが実行され、コマンド実行部108がその実行結果
をバックエンドシステム109により受け取り、それを
結果表示処理S8に出力する。これによりステップS8
に進み、この結果を図3の62で示すように、“(Sy
s1) /usr/usr1”のように表示する。その
後、ステップS9の判定により対話が引き続く場合には
処理はユーザよりのデータ入力処理に戻る。
In step S7, this input is executed to the UNIX command interpreter which is the back end system 109. Then, the command is executed in step S7, the command execution unit 108 receives the execution result by the backend system 109, and outputs it to the result display processing S8. This results in step S8
3 and the result is "(Sy
s1) / usr / usr1 "is displayed. Thereafter, if the dialogue continues due to the determination in step S9, the process returns to the data input process by the user.

【0027】次に、図3の63で示すように、ユーザか
ら(Usr2)の指示、“ファイルのリストを取れ”が
入力されると、ユーザよりの入力処理から受け取られた
入力(Usr2)がステップS2の判定処理に渡され
る。ステップS2ではこの入力データが自然言語文かコ
マンドかを判定する。この場合は、入力が日本語の文章
データであるので、この入力は自然言語文による指示で
あると判定される。これによりステップS3よりステッ
プS4に進み、文解析部104による文解析処理に(U
sr2)の入力が渡される。この文解析処理では日本語
文の意味解析を行い、 文体:命令 述語:取る 目的語:ファイルのリスト というように解釈される。この解析結果がステップS5
の指示内容判定処理に受け渡される。この指示内容判定
部105における指示内容判定処理では、その解析され
た情報から、自然言語文の指示内容は、 依頼:(動作:リスト、内容:ファイル) であると判定する。そしてその情報が、ステップS6の
コマンド決定処理に受け渡される。このステップS6の
コマンド決定処理では、コマンド決定部106がデータ
ベース107を参照して、文の意味及び指示内容に基づ
くそのバックエンドシステム109に適合したコマンド
を捜す。図3の例では、バックエンドシステム109が
UNIXコマンド・インタプリタであるので、 (動作:リスト、内容:ファイル)→(コマンド:l
s) であると決定される。こうして、UNIXコマンド・イ
ンタプリタにおけるファイルのリストを取ることを意味
する“ls”コマンドが、判定部102を介してコマン
ド実行部108に渡される。ステップS7におけるコマ
ンド実行処理では、この入力をバックエンドシステム1
09であるUNIXコマンド・インタプリタに対して実
行する。コマンド実行部108は、その実行した結果を
バックエンドシステム109より受取り、その結果を結
果表示部110に表示する。こうして結果表示部110
には、この結果が、“(Sys2) file1 file2 fil
e3”のように表示される。
Next, as indicated by reference numeral 63 in FIG. 3, when the user inputs a (Usr2) instruction, "take list of files", the input (Usr2) received from the input process from the user is input. It is passed to the determination processing in step S2. In step S2, it is determined whether this input data is a natural language sentence or a command. In this case, since the input is Japanese text data, this input is determined to be an instruction in a natural language sentence. As a result, the process proceeds from step S3 to step S4, and the sentence analysis processing by the sentence analysis unit 104 (U
The input of sr2) is passed. In this sentence analysis process, semantic analysis of Japanese sentences is performed, and it is interpreted as follows: style: command predicate: take object: file list. This analysis result is step S5.
Is passed to the instruction content determination processing of. In the instruction content determination process in the instruction content determination unit 105, it is determined from the analyzed information that the instruction content of the natural language sentence is: request: (action: list, content: file). Then, the information is passed to the command determination process of step S6. In the command determination process of step S6, the command determination unit 106 refers to the database 107 to search for a command suitable for the back-end system 109 based on the meaning of the sentence and the instruction content. In the example of FIG. 3, since the back-end system 109 is a UNIX command interpreter, (operation: list, content: file) → (command: l
s) is determined. In this way, the “ls” command, which means to take a list of files in the UNIX command interpreter, is passed to the command execution unit 108 via the determination unit 102. In the command execution processing in step S7, this input is input to the backend system 1
09 for the UNIX command interpreter. The command execution unit 108 receives the executed result from the backend system 109 and displays the result on the result display unit 110. Thus, the result display unit 110
The result is "(Sys2) file1 file2 fil
It is displayed as "e3".

【0028】以上説明したように本実施例によれば、図
3に示すように、ユーザが自然言語文による質問あるい
はコマンドと、対象とするシステムに特有のコマンドと
を混在させて入力することが可能になった。
As described above, according to the present embodiment, as shown in FIG. 3, the user can input a question or command in a natural language sentence and a command peculiar to the target system in a mixed manner. It became possible.

【0029】尚、上記実施例では、バックエンドシステ
ム109としてUNIXのコマンド・インタプリタを用
いて説明したが本発明はこれに限定されるものでなく、
さまざまなバックエンド・システムとの結合が可能であ
る。例えば、リレーショナル・データベースの質問応答
言語(コマンド)であるSQLと、自然言語文の質問文
とを混在させて入力する自然言語入力装置も実現でき
る。
In the above embodiment, the UNIX command interpreter is used as the back-end system 109, but the present invention is not limited to this.
It can be combined with various back-end systems. For example, a natural language input device for inputting a mixture of SQL, which is a question answering language (command) of a relational database, and a question sentence of a natural language sentence, can be realized.

【0030】また上記実施例では、自然言語文として日
本語を用いたが本発明はこれに限定されるものでなく、
様々な種類の自然言語を用いることが可能である。
In the above embodiment, Japanese is used as the natural language sentence, but the present invention is not limited to this.
It is possible to use various types of natural languages.

【0031】バックエンドシステムに特有のコマンド
は、その後の構成(構文)において、自然言語文より厳
しい制約条件が課されている。従って、上記実施例の判
定部102で行った文字種の判定の代わりに、ユーザ入
力がバックエンドシステムのコマンドの構文を満足する
か否かを判定するだけでも良い。
The commands specific to the back-end system are subject to a stricter constraint condition than the natural language sentence in the subsequent structure (syntax). Therefore, instead of the determination of the character type performed by the determination unit 102 in the above-described embodiment, it may be determined whether or not the user input satisfies the command syntax of the backend system.

【0032】また、上記実施例では、自然言語文による
指示の場合に、図2に示すコマンド決定処理で決定され
たコマンドをユーザに表示せず、直接コマンド実行部1
08に出力していたが、この決定されたコマンドを、自
然言語文によるコマンド入力の確認のためにユーザに表
示するようにしても良い。このように装置を構成するこ
とで、図4に示すような対話が実現できる。
In the above embodiment, in the case of an instruction by a natural language sentence, the command decided by the command decision processing shown in FIG.
Although it was output in 08, the determined command may be displayed to the user for confirmation of command input by the natural language sentence. By configuring the apparatus in this way, the dialogue as shown in FIG. 4 can be realized.

【0033】即ち、41で示すように日本語でコマンド
が入力されると、そのコマンドをバックエンドシステム
109に特有のコマンドに変換して42で示すように確
認のために表示する。43は、そのコマンドを実行した
結果を示し、これは図3の62に対応している。同様
に、44で示すような日本語の文章が入力されると、そ
れをコマンドに解釈して確認表示した例を45で示して
いる。
That is, when a command is input in Japanese as indicated by 41, the command is converted into a command peculiar to the backend system 109 and displayed for confirmation as indicated by 42. 43 shows the result of executing the command, which corresponds to 62 in FIG. Similarly, when a Japanese sentence such as 44 is input, an example of interpreting it and displaying it as a command is shown by 45.

【0034】これは、ユーザが入力した自然言語文によ
るコマンドに対応するバックエンドシステム109のコ
マンドの確認を取るとともに、ユーザへの教育機能を実
現している。これによりユーザは、この確認されたコマ
ンドを覚えることができ、図4の46で示すように、次
回の対話では、41で示すような日本語によるコマンド
入力ではなく、そのバックエンドシステム109に応じ
たコマンドを直接入力してディレクトリの表示を指示す
ることができる。
This confirms the command of the back-end system 109 corresponding to the command in the natural language sentence input by the user and realizes the educational function for the user. This allows the user to memorize this confirmed command, and as shown by 46 in FIG. 4, in the next dialogue, instead of command input in Japanese as shown by 41, according to the backend system 109. You can direct the display of the directory by directly entering the command.

【0035】以上説明したように第1の実施例によれ
ば、ユーザ入力部101と判定部102がユーザの入力
の種類を判定して自然言語文の指示とコマンドによる指
示に振り分けることによって、以下の効果が得られるよ
うになった。 ユーザが自然言語文による質問あるいは指示と、対象
とするシステムのコマンドを混在させて入力することが
可能になった。 自然言語文による指示とコマンドによる指示を同一の
ユーザ入力として受付けられるので、両者の処理の切り
替えという不要な作業をなくすことができた。 自然言語文による指示に対応するコマンドを、自然言
語処理部の解析結果の確認として表示することにより、
ユーザに対するコマンドの教育が実現できる。
As described above, according to the first embodiment, the user input unit 101 and the determination unit 102 determine the type of the user's input and distribute the instruction to the natural language sentence and the instruction by the command. The effect of is now available. It has become possible for the user to enter questions or instructions in natural language and commands for the target system in a mixed manner. Since the instruction by the natural language sentence and the instruction by the command can be accepted as the same user input, it is possible to eliminate the unnecessary work of switching between the both processes. By displaying the command corresponding to the instruction by the natural language sentence as a confirmation of the analysis result of the natural language processing unit,
Command education for users can be realized.

【0036】図5は本発明の第2の実施例の自然言語入
力装置の概略構成を示すブロック図で、図1の各部と共
通する部分は同じ番号で示し、それらの説明を省略す
る。
FIG. 5 is a block diagram showing a schematic structure of a natural language input device according to the second embodiment of the present invention. The parts common to the respective parts of FIG. 1 are designated by the same reference numerals, and the description thereof will be omitted.

【0037】この実施例では、入力部101は自然言語
文の形式でコマンドを入力し、この入力部101より入
力された自然言語文は文解析部104で解析されて、バ
ックエンドシステム109のコマンドを決定する。こう
して決定されたコマンドは、コマンド実行部108によ
りバックエンドシステム109に対して実行される。1
21は応答生成部で、コマンド実行部108よりの実行
結果を受け取り、応答レベル決定部123から入力され
る応答レベルの値に応じて応答する結果を生成する。結
果表示部110は、こうして生成されて応答結果を表示
する。123は応答レベル決定部で、ユーザレベル保持
部124に記憶されているユーザレベルと、ユーザによ
る使用時間や使用間隔等を計時するタイマ122、ユー
ザへの応答レベルを決定するためのユーザレベルテーブ
ル125及びユーザ使用経験情報保持部126よりのユ
ーザの経験情報に基づいて、そのユーザに対する応答内
容のレベルを決定している。ここで、ユーザレベル保持
部124は、ユーザの習熟度を段階分けして、各段階に
応じて結果表示部110に表示する応答内容の度合いを
記憶している。
In this embodiment, the input unit 101 inputs a command in the form of a natural language sentence, and the natural language sentence input from the input unit 101 is analyzed by the sentence analysis unit 104 to generate a command of the backend system 109. To decide. The command thus determined is executed by the command execution unit 108 to the backend system 109. 1
A response generation unit 21 receives the execution result from the command execution unit 108 and generates a response result in response to the value of the response level input from the response level determination unit 123. The result display unit 110 displays the response result thus generated. A response level determination unit 123 is a user level stored in the user level storage unit 124, a timer 122 for measuring the usage time and usage interval by the user, and a user level table 125 for determining the response level to the user. Based on the experience information of the user from the user use experience information holding unit 126, the level of the response content to the user is determined. Here, the user level holding unit 124 divides the user's proficiency level into stages and stores the degree of response content displayed on the result display unit 110 according to each stage.

【0038】図6は、この第2の実施例の自然言語入力
装置におけるコマンド入力処理を示すフローチャートで
ある。
FIG. 6 is a flow chart showing command input processing in the natural language input device of the second embodiment.

【0039】まずステップS11で入力部101より入
力される自然言語文によるコマンドを入力し、ステップ
S12で文解析部104により、その入力文を解析し、
その入力文に対応するコマンドを決定する。このコマン
ドはコマンド実行部108に出力され、そこでバックエ
ンドシステム109に対して実行される。この実行した
結果がバックエンドシステム109より得られるとステ
ップS14に進み、その結果を応答生成部121に出力
する。
First, in step S11, a command in a natural language sentence input from the input unit 101 is input, and in step S12, the sentence analysis unit 104 analyzes the input sentence,
The command corresponding to the input sentence is determined. This command is output to the command execution unit 108, where it is executed to the backend system 109. When the execution result is obtained from the backend system 109, the process proceeds to step S14, and the result is output to the response generation unit 121.

【0040】次にステップS15に進み、応答生成部1
21より応答レベル決定部123にコマンドの実行結果
が出力されると、応答レベル決定部123はタイマ12
2よりのユーザの使用時間や使用時間間隔、ユーザへの
応答内容のレベルを決定するためのユーザレベルテーブ
ル125の値及びユーザの使用経験情報保持部126よ
りの情報を参照して、ユーザの使用時間や使用間隔に応
じたユーザレベルを決定する。こうして決定されたユー
ザレベルとコマンド実行部108におけるコマンドの実
行結果に基づいて、ユーザに表示する情報量の度合いを
決定する。次にステップS16に進み、これにより応答
生成部121は、その表示する情報量の度合いに応じた
応答を作成して、結果表示部110に出力して表示す
る。ステップS17では、対話処理を終了させるかどう
かを判定し、終了する場合は処理を終了するが、そうで
ない時はステップS11に戻る。
Next, in step S15, the response generator 1
When the command execution result is output from the response level determination unit 123 to the response level determination unit 123,
2, the user's use time and use time interval, the value of the user level table 125 for determining the level of the response content to the user, and the information from the user's use experience information holding unit 126 are referred to. Determine the user level according to time and usage interval. Based on the user level thus determined and the execution result of the command in the command execution unit 108, the degree of the amount of information to be displayed to the user is determined. Next, in step S16, the response generation unit 121 creates a response according to the degree of information amount to be displayed, and outputs the response to the result display unit 110 for display. In step S17, it is determined whether or not the interactive process is to be ended. If the interactive process is to be ended, the process is ended. If not, the process returns to step S11.

【0041】図7は、図6のステップS14の応答レベ
ル決定処理を示すフローチャートである。
FIG. 7 is a flow chart showing the response level determination processing in step S14 of FIG.

【0042】まずステップS21で、ユーザ使用経験情
報保持部126に記憶されているユーザ(現在操作中の
ユーザ)の使用経験情報を取り出す。次に、ステップS
22に進み、現在時間と、ユーザが以前に操作を開始し
てから経過した時間をタイマ122よりの情報に基づい
て計算する。次にステップS23に進み、ユーザレベル
保持部124に記憶されているユーザレベル情報に基づ
いて、現在操作中のユーザのレベルを取り出す。そして
ステップS24に進み、ユーザ使用経験情報保持部12
6に記憶されている経験情報と、タイマ122よりの経
過時間と、そのユーザレベルとに基づいてユーザレベル
テーブル125を参照し、ユーザレベルを新たに決定す
る。こうして決定されたユーザレベルが応答生成部12
1に出力される。
First, in step S21, the usage experience information of the user (the user who is currently operating) stored in the user usage experience information storage unit 126 is retrieved. Next, step S
In step 22, the current time and the time elapsed since the user started the operation previously are calculated based on the information from the timer 122. Next, in step S23, the level of the user who is currently operating is extracted based on the user level information stored in the user level holding unit 124. Then, the process proceeds to step S24, and the user use experience information holding unit 12
The user level table 125 is referred to based on the experience information stored in No. 6, the elapsed time from the timer 122, and the user level, and the user level is newly determined. The user level thus determined is the response generation unit 12
It is output to 1.

【0043】次に図8〜図10を参照して、本実施例の
自然言語入力装置における対話入力処理を説明する。
Next, with reference to FIGS. 8 to 10, the interactive input processing in the natural language input device of the present embodiment will be described.

【0044】図8はユーザレベル保持部124に記憶さ
れているユーザレベル情報の一例を示す図で、レベル1
は初心者のレベルを示している。このユーザレベル情報
では、レベル1では全情報が応答されるのに対し、レベ
ル2(1回〜10回の操作回数)では一部の情報が表示
される。又、10回以上の操作回数を有するユーザの場
合は、最少量の情報が表示されることになる。
FIG. 8 is a diagram showing an example of user level information stored in the user level holding unit 124.
Indicates the beginner's level. In the user level information, all the information is responded at the level 1, but a part of the information is displayed at the level 2 (the number of operations of 1 to 10 times). In the case of a user who has operated 10 times or more, the minimum amount of information is displayed.

【0045】図9はユーザ経験情報保持部126に記憶
されている経験情報の一例を示す図で、ここにはユーザ
の名前に対応して、その人が以前に使用した時刻、その
時のユーザレベルとが記憶されている。
FIG. 9 is a diagram showing an example of the experience information stored in the user experience information holding unit 126, in which the time when the person has used before and the user level at that time are associated with the name of the user. And are remembered.

【0046】また、図10はユーザレベルテーブル12
5のデータ構成例を示す図で、このテーブル125には
ユーザが以前に装置を使用してから経過した時間と、そ
の時点(前回)でのユーザレベルに対応して新たに設定
するユーザレベルとが記憶されている。即ち、このテー
ブルによれば、経過時間が3時間以内であればそのユー
ザのレベルは変化しないが、3時間から1日以内が経過
していれば、そのユーザのレベルが例えば“2”であっ
た時は“1”に低下することを示している。
FIG. 10 shows the user level table 12
5 is a diagram showing an example of the data structure of FIG. 5, in this table 125, the time elapsed since the user used the device previously, and the user level newly set corresponding to the user level at that time (previous) Is remembered. That is, according to this table, if the elapsed time is within 3 hours, the level of the user does not change, but if within 3 hours to 1 day, the level of the user is, for example, "2". It shows that the value drops to "1".

【0047】これらのデータに基づいて、いま例えば、
ユーザ“山田太郎”が4日前に装置を使用していて、そ
の人のユーザレベルが図9に示すように“2”であった
とする。このユーザ(山田太郎)により入力部101よ
り自然言語文によるコマンドが入力されると、前述した
ように文解析、コマンドの実行が行われ、その実行結果
が応答生成部121に送られる。こうして応答レベル決
定部123では、ユーザ使用経験情報保持部126より
の経験情報と、タイマ122よりの計測情報、ユーザレ
ベル保持部124よりのレベル情報を読出す。
Based on these data, for example,
It is assumed that the user "Taro Yamada" is using the device four days ago and the user level of the user is "2" as shown in FIG. When this user (Taro Yamada) inputs a command in a natural language sentence from the input unit 101, sentence analysis and command execution are performed as described above, and the execution result is sent to the response generation unit 121. In this way, the response level determination unit 123 reads the experience information from the user use experience information holding unit 126, the measurement information from the timer 122, and the level information from the user level holding unit 124.

【0048】この場合は、前回のユーザレベルが“2”
で、前回使用時よりの経過時間が1日〜1週間の間であ
るため、図10に示すユーザレベルテーブル125を参
照すると81で示す欄が対応していることが分かる。こ
れによりユーザ“山田太郎”の新たなユーザレベルは
“1”に変更されることになる。こうして応答生成部1
21は、ユーザレベル“1”に対応して、全ての応答情
報を結果表示部110に出力して表示する。
In this case, the previous user level is "2".
Then, since the elapsed time from the time of previous use is between one day and one week, referring to the user level table 125 shown in FIG. 10, it can be seen that the column indicated by 81 corresponds. As a result, the new user level of the user "Taro Yamada" is changed to "1". In this way, the response generator 1
Reference numeral 21 outputs all response information to the result display unit 110 and displays it in response to the user level “1”.

【0049】以上説明したように、この第2の実施例に
よれば、ユーザの使用時間や使用間隔に応じたユーザレ
ベルの変更を行うことができる。
As described above, according to the second embodiment, it is possible to change the user level according to the usage time and usage interval of the user.

【0050】尚、上記実施例では、ユーザレベルテーブ
ル125として、装置を前回使用した時からの時間間隔
と、前回のユーザレベルとを対応付けて示したが本発明
はこれに限定されるものでなく、種々のユーザレベルを
設定することができる。例えば、あるユーザが装置を連
続して使用している時間経過と、ユーザレベルとを対応
付けることにより、使用時間の長さに応じてユーザレベ
ルを変更することができる。
In the above embodiment, as the user level table 125, the time interval from the last use of the apparatus and the previous user level are shown in association with each other, but the present invention is not limited to this. Instead, various user levels can be set. For example, the user level can be changed according to the length of the usage time by associating the elapsed time during which a certain user continuously uses the device with the user level.

【0051】また、このユーザレベルテーブル125の
データとして、装置を前回使用した時からの時間間隔と
前回のユーザレベルに加えて、ユーザが装置を連続して
使用している時間経過とそのユーザレベルとを組み合わ
せることにより、ユーザのレベルダウンからの復帰タイ
ミングをより細かく制御できる。例えば、前述のユーザ
レベルテーブル125で、ユーザが装置を使用し始めた
時のユーザレベルを決定し、連続して使用している時の
時間経過に基づいて、そのユーザレベルに応じて元のユ
ーザレベルに戻すようにもできる。
Further, as the data of the user level table 125, in addition to the time interval from the last use of the device and the previous user level, the elapsed time during which the user continuously uses the device and the user level thereof. By combining and, it is possible to more finely control the timing of returning from the level down of the user. For example, in the user level table 125 described above, the user level when the user starts using the device is determined, and based on the elapsed time when the user continuously uses the device, the original user is determined according to the user level. You can also return to the level.

【0052】以上説明したように第2の実施例によれ
ば、ユーザの習熟度を記憶しておき、そのユーザの使用
時間や使用時間間隔、更にはユーザの使用経験情報、ユ
ーザレベルテーブルを用いることにより、 ユーザの使用頻度、使用時間間隔に合わせて装置が自
動的にそのユーザのレベルを調整できる。 ユーザの使用時間に合わせて、装置が自動的にそのユ
ーザのレベルを設定できる。
As described above, according to the second embodiment, the proficiency level of the user is stored, and the usage time and usage time interval of the user, the usage experience information of the user, and the user level table are used. This allows the device to automatically adjust the level of the user according to the frequency of use and time interval of use by the user. The device can automatically set the level of the user according to the usage time of the user.

【0053】尚、本発明は複数の機器から構成されるシ
ステムに適用しても、1つの機器からなる装置に適用し
ても良い。また、本発明はシステム或は装置に、本発明
を実施するプログラムを供給することによって達成され
る場合にも適用できることはいうまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program for implementing the present invention to a system or an apparatus.

【0054】[0054]

【発明の効果】以上説明したように本発明によれば、ユ
ーザが自然言語文による指示コマンドと、装置に特有の
コマンドとを混在させて入力できるようにして、ユーザ
がコマンドと自然言語文とを区別することなく入力でき
る効果がある。
As described above, according to the present invention, the user can input an instruction command in a natural language sentence and a command peculiar to the apparatus in a mixed manner so that the user can input the command and the natural language sentence. There is an effect that can be input without distinguishing.

【0055】また他の発明によれば、ユーザによる使用
時間や使用間隔に応じてユーザレベルを自動的に変更で
きる効果がある。
According to another aspect of the invention, there is an effect that the user level can be automatically changed according to the usage time and usage interval by the user.

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

【図1】本発明の第1の実施例の自然言語入力装置の概
略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a natural language input device according to a first embodiment of the present invention.

【図2】本発明の第1の実施例の自然言語入力装置にお
ける入力処理を示すフローチャートである。
FIG. 2 is a flowchart showing an input process in the natural language input device according to the first embodiment of the present invention.

【図3】本発明の第1の実施例の自然言語入力装置にお
けるコマンド入力例を示す図である。
FIG. 3 is a diagram showing a command input example in the natural language input device according to the first embodiment of the present invention.

【図4】本発明の他の実施例の自然言語入力装置におけ
るコマンド入力例を示す図である。
FIG. 4 is a diagram showing an example of command input in a natural language input device according to another embodiment of the present invention.

【図5】本発明の第2の実施例の自然言語入力装置の概
略構成を示すブロック図である。
FIG. 5 is a block diagram showing a schematic configuration of a natural language input device according to a second embodiment of the present invention.

【図6】本発明の第2の実施例の自然言語入力装置にお
けるコマンド入力処理を示すフローチャートである。
FIG. 6 is a flowchart showing command input processing in the natural language input device according to the second embodiment of the present invention.

【図7】本発明の第2の実施例の自然言語入力装置にお
ける応答レベルの決定処理を示すフローチャートであ
る。
FIG. 7 is a flowchart showing a response level determination process in the natural language input device according to the second embodiment of the present invention.

【図8】本発明の第2の実施例におけるユーザレベル保
持部のデータ構成例を示す図である。
FIG. 8 is a diagram showing a data configuration example of a user level holding unit in the second example of the present invention.

【図9】本発明の第2の実施例におけるユーザ使用経験
情報保持部のデータ構成例を示す図である。
FIG. 9 is a diagram showing a data configuration example of a user use experience information holding section in the second example of the present invention.

【図10】本発明の第2の実施例におけるユーザレベル
テーブルのデータ構成例を示す図である。
FIG. 10 is a diagram showing a data configuration example of a user level table in the second exemplary embodiment of the present invention.

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

101 入力部 102 判定部 103 自然言語処理部 104 文解析部 105 指示内容判定部 106 コマンド決定部 107 コマンドのデータベース 108 コマンド実行部 109 バックエンドシステム 110 結果表示部 121 応答生成部 122 タイマ 123 応答レベル決定部 124 ユーザレベル保持部 125 ユーザレベルテーブル 126 ユーザ使用経験情報保持部 Reference numeral 101 input unit 102 determination unit 103 natural language processing unit 104 sentence analysis unit 105 instruction content determination unit 106 command determination unit 107 command database 108 command execution unit 109 back-end system 110 result display unit 121 response generation unit 122 timer 123 response level determination Part 124 User level holding part 125 User level table 126 User use experience information holding part

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 自然言語によって作成された文章データ
を入力して実行する自然言語入力装置であって、 自然言語によって作成された指示情報を含む文章データ
及び前記装置に特有のコマンドデータの両方を入力する
入力手段と、 前記入力手段より文章データが入力されると、その文章
データを解析する解析手段と、 前記解析手段により解析された前記文章データによる指
示内容を判定する判定手段と、 前記判定手段により判定された指示内容或いは前記入力
手段より入力されたコマンドに従って処理を行う処理手
段と、 を有することを特徴とする自然言語入力装置。
1. A natural language input device for inputting and executing text data created in natural language, wherein both text data including instruction information created in natural language and command data specific to the device are received. Input means for inputting; text data input from the input means; analysis means for analyzing the text data; determination means for determining instruction content based on the text data analyzed by the analysis means; A natural language input device comprising: a processing unit that performs processing according to the instruction content determined by the unit or the command input from the input unit.
【請求項2】 自然言語によって作成された文章データ
を入力して実行する自然言語入力方法であって、 自然言語によって作成された指示情報を含む文章データ
及び装置に特有のコマンドデータの両方を入力する工程
と、 文章データが入力されると、その文章データを解析する
工程と、 その解析された文章データによる指示内容を判定する工
程と、 その判定された指示内容或いは入力された特有のコマン
ドに従って処理を行う工程と、 を有することを特徴とする自然言語入力方法。
2. A natural language input method for inputting and executing text data created in natural language, wherein both text data including instruction information created in natural language and command data specific to an apparatus are input. , The step of analyzing the text data when the text data is input, the step of determining the instruction content by the analyzed text data, and the step of determining the instruction content or the input specific command according to the determined instruction content. A natural language input method, comprising: a step of performing processing.
【請求項3】 自然言語によって作成された文章データ
を入力して実行する自然言語入力装置であって、 ユーザによって操作され、自然言語によって作成された
指示情報を含む文章データを入力する入力手段と、 前記文章データを解析する解析手段と、 前記解析手段により解析された前記文章データによる指
示内容を判定する判定手段と、 前記判定手段により判定された指示内容に従って処理を
行う処理手段と、 前記入力手段で入力したユーザのレベルを、少なくとも
前記ユーザの使用経験情報及び前回使用時におけるユー
ザレベル情報に基づいて決定する決定手段と、 前記処理手段により処理された結果を前記決定手段によ
り決定されたユーザレベルに応じて表示・出力する表示
手段と、 を有することを特徴とする自然言語入力装置。
3. A natural language input device for inputting and executing text data created in natural language, the input device being operated by a user and inputting text data including instruction information created in natural language. An analyzing means for analyzing the sentence data; a judging means for judging an instruction content by the sentence data analyzed by the analyzing means; a processing means for performing a process according to the instruction content judged by the judging means; Deciding means for deciding the level of the user input by means based on at least the experience information of the user and user level information at the time of the previous use, and the user decided by the deciding means for the result processed by the processing means A natural language input device comprising: display means for displaying / outputting according to a level.
【請求項4】 自然言語によって作成された文章データ
を入力して実行する自然言語入力方法であって、 ユーザにより自然言語によって作成された指示情報を含
む文章データを入力する工程と、 その入力された文章データを解析して、その文章データ
による指示内容を判定する工程と、 その判定された指示内容に従って処理を行う工程と、 文章データを入力したユーザのレベルを、少なくともユ
ーザの使用経験情報及び前回使用時におけるユーザレベ
ル情報に基づいて決定する工程と、 処理された結果を、決定されたユーザレベルに応じて表
示・出力する工程と、 を有することを特徴とする自然言語入力方法。
4. A natural language input method for inputting and executing text data created in natural language, comprising the steps of inputting text data containing instruction information created by a user in natural language, and The step of analyzing the written text data to determine the instruction content by the text data, the step of performing processing according to the determined instruction content, and the level of the user who input the text data is at least the user's experience information and A natural language input method comprising: a step of determining based on user level information at the time of previous use, and a step of displaying / outputting a processed result according to the determined user level.
JP00456392A 1992-01-14 1992-01-14 Natural language input method and device Expired - Fee Related JP3391808B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00456392A JP3391808B2 (en) 1992-01-14 1992-01-14 Natural language input method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00456392A JP3391808B2 (en) 1992-01-14 1992-01-14 Natural language input method and device

Publications (2)

Publication Number Publication Date
JPH05189239A true JPH05189239A (en) 1993-07-30
JP3391808B2 JP3391808B2 (en) 2003-03-31

Family

ID=11587512

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00456392A Expired - Fee Related JP3391808B2 (en) 1992-01-14 1992-01-14 Natural language input method and device

Country Status (1)

Country Link
JP (1) JP3391808B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2016143092A1 (en) * 2015-03-11 2017-06-08 三菱電機株式会社 Command management apparatus, command management method, and command management program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2016143092A1 (en) * 2015-03-11 2017-06-08 三菱電機株式会社 Command management apparatus, command management method, and command management program

Also Published As

Publication number Publication date
JP3391808B2 (en) 2003-03-31

Similar Documents

Publication Publication Date Title
US5395243A (en) Interactive learning system
JP3391808B2 (en) Natural language input method and device
JPH0760363B2 (en) Method for automatically creating user-defined commands
JPH02144763A (en) Kana/kanji converting device
JPH06202843A (en) Document reader
JPH09269942A (en) Document generation device and same sound candidate output control method
JPH04281558A (en) Document retrieving device
JPH08255165A (en) Method and device for database generating process
JP3142159B2 (en) Prosody symbol generator
JPH0371342A (en) Reserved word deciding system
JP2702443B2 (en) Japanese input device
JPH06162097A (en) System for setting retrieval condition of database
JPH0477956A (en) Term explanation generation system
JPH0969092A (en) Document preparation device and method for chinese character mixed japanese syllabary-chinese character conversion
JPH05165886A (en) Natural language processor
JPH08202718A (en) Device and method for processing natural language
JPH07121285A (en) Character string input system
JPH08212212A (en) Documentation device and candidate output control method
JPH05334346A (en) Language converting device
JPH0883270A (en) Device and method for synthesizing speech
JPS62285124A (en) Input/output display device with operating guidance
JPS62232075A (en) Sentence input device
JP2000267842A (en) Editor
JPH0392955A (en) Input processing system for interactive system
JPH0444160A (en) Document processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20011005

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

Free format text: PAYMENT UNTIL: 20090124

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090124

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100124

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110124

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees