JP3391808B2 - Natural language input method and device - Google Patents

Natural language input method and device

Info

Publication number
JP3391808B2
JP3391808B2 JP00456392A JP456392A JP3391808B2 JP 3391808 B2 JP3391808 B2 JP 3391808B2 JP 00456392 A JP00456392 A JP 00456392A JP 456392 A JP456392 A JP 456392A JP 3391808 B2 JP3391808 B2 JP 3391808B2
Authority
JP
Japan
Prior art keywords
data
input
command
natural language
determined
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.)
Expired - Fee Related
Application number
JP00456392A
Other languages
Japanese (ja)
Other versions
JPH05189239A (en
Inventor
裕治 池田
桂一 酒井
稔 藤田
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)

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 device capable of interactively inputting a command 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 designated 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 received command by the natural language sentence is analyzed, the natural language sentence is analyzed, the command of the backend system that the natural language sentence means is determined, and the command is executed to the backend 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 section, and as a result of the analysis, it is determined that the command is 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. Due to the vacancy, the user's own level becomes lower than that of the previous time and the level does not match.

【0006】また上記従来例では、特有のコマンドによ
る指示でバックエンドシステムを動かす処理と、自然言
語によるコマンド入力でバックエンドシステム動かす処
理とがそれぞれ別々に動いているために、以下に示すよ
うな問題があった。 これらの処理のそれぞれが別々のタスクとして動作し
ているため、自然言語文によるコマンド入力と、装置に
特有のコマンド入力の両方の機能を使う時には、ユーザ
が両者の機能の切り替えをしなければならない。 マルチウインドウ・システムにより、これら両方のコ
マンド入力画面を同時に表示してコマンドを入力できる
ようにしても、ユーザによるウインドウを選択するため
の操作が必要になる。また、それぞれのウインドウに対
応して別々の処理が行われているため、ユーザによる一
連の対話処理が途切れてしまう。
Further, in the above-mentioned conventional example, since the process of moving the backend system by an instruction by a specific command and the process of moving the backend system by inputting a command in natural language are separately performed, the following process is performed. There was a problem. Since each of these processes operates as a separate task, the user must switch between the functions of command input using natural language sentences 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 the user can freely use either the instruction in natural language or the command peculiar to the apparatus without performing the switching operation between the command input and the input of the natural language sentence. It is an object of the present invention to provide a natural language input method and device that can be input into a computer.

【0008】[0008]

【0009】又上記目的を達成するために本発明の自然
言語入力装置は以下のような構成を備える。即ち、自然
言語によって作成された文章データを入力して処理する
自然言語入力装置であって、自然言語によって作成され
た指示情報を含む文章データ及び前記装置に特有のコマ
ンドデータの両方を入力可能な入力手段と、前記入力手
段よりの入力データが前記文章データか、前記文章デー
タ以外の前記装置に特有のコマンドデータかを当該入
力データを構成する文字コードの種類或いは構文に基づ
いて判別する判別手段と、前記判別手段により前記文章
データと判別された入力データを解析して、当該入力デ
ータに含まれる指示内容を判定する判定手段と、前記判
定手段により判定された前記指示内容に対応する前記装
置に特有のコマンドデータを決定する決定手段と、前記
判別手段により前記入力データが文章データと判別され
た場合は、当該入力データに含まれる指示内容に対応し
前記決定手段により決定された前記コマンドデータ
従って処理を行い、前記判別手段により前記入力データ
前記装置に特有のコマンドデータと判別された場合
は、当該入力データであるコマンドデータに従って処理
を行う処理手段と、を有することを特徴とする。
To achieve the above object, the natural language input device of the present invention has the following configuration. That is, it is a natural language input device that inputs and processes text data created in natural language, and is capable of inputting both text data containing instruction information created in natural language and command data specific to the device. The input means and the input data from the input means is the text data, or the text data.
The device other than data or specific commands data, and analysis and discrimination means for discriminating based on the type or the syntax of a character code, the input data determined as the sentence data by the discriminating means constituting the input data Te, determining means for determining a specific command data determining means for determining instruction contents contained in the input data, to the device corresponding to the instruction content determined by the determination means, wherein
The input data is discriminated as text data by the discriminating means.
If you do, please follow the instructions contained in the input data.
The command data determined by said determining means Te
Therefore, the input data is processed by the determining means.
If but it is determined that specific command data to said device
Includes a processing unit that performs processing according to the command data that is the input data.

【0010】又上記目的を達成するために本発明の自然
言語入力方法は以下のような工程を備える。即ち、自然
言語によって作成された文章データを入力して処理する
自然言語入力装置における自然言語入力方法であって、
自然言語によって作成された指示情報を含む文章データ
或いは前記装置に特有のコマンドデータのいずれかを入
力する入力工程と、前記入力工程における入力データが
前記文章データか、前記文章データ以外の前記装置に特
有のコマンドデータかを当該入力データを構成する文
字コードの種類或いは構文に基づいて判別する判別工程
と、前記判別工程により前記入力データが文章データと
判別された場合に、入力データを解析して、当該入力デ
ータに含まれる指示内容を判定する判定工程と、前記判
定工程により判定された前記指示内容に対応する前記装
置に特有のコマンドデータを決定する決定工程と、前記
判別工程により前記入力データが文章データと判別され
た場合は、当該入力データに含まれる指示内容に対応し
前記決定工程により決定された前記コマンドデータ
従って処理を行い、前記判別工程により前記入力データ
前記装置に特有のコマンドデータと判別された場合
は、当該入力データであるコマンドデータに従って処理
を行なう処理工程と、を有することを特徴とする。
To achieve the above object, the natural language input method of the present invention includes the following steps. That is, a natural language input method in a natural language input device for inputting and processing text data created in natural language,
An input step of inputting either text data including instruction information created in natural language or command data specific to the device, and the input data in the input step is the text data, or to the device other than the text data. or specific commands data, if a determination step of determining based on the type or the syntax of character codes constituting the input data, said input data by said determination step is determined to text data, analyzes the input data Te, a determination step of determining a specific command data and determining step of determining the instruction content included in the input data, to the device corresponding to the instruction content determined by the determination step, the
In the discrimination step, the input data is discriminated as text data.
If you do, please follow the instructions contained in the input data.
The command data determined by said determining step Te
Therefore, processing is performed, and the input data is processed by the determination step.
If but it is determined that specific command data to said device
Includes a processing step of performing processing according to the command data that is the input data.

【0011】[0011]

【0012】[0012]

【0013】[0013]

【作用】以上の構成において、自然言語によって作成さ
れた指示情報を含む文章データ及び装置に特有のコマン
ドデータの両方を入力可能な入力手段よりの入力データ
が、指示情報を含む文章データか、その文章データ以外
装置に特有のコマンドデータかをその入力データを
構成する文字コードの種類或いは構文に基づいて判別
し、指示情報を含む文章データであると判別された場合
、その入力データを解析して、その入力データに含ま
れる指示内容を判定し、その指示内容に対応して前記決
定手段により決定された前記コマンドデータに従って処
理を行い、入力データが装置に特有のコマンドデータと
判別された場合は、その入力データであるコマンドデー
に従って処理を行うように動作する。
[Action] In the above configuration, the input data from the input possible input means both specific command data in the text data and the device includes an indication information created by natural language, whether text data including indication information, the Other than text data
If the device or specific commands data of, determine based on the type or the syntax of character codes constituting the input data, it is judged that the text data including indication information
Analyzes the input data, determines the instruction content included in the input data, the determined corresponding to the instruction content
Processing according to the command data determined by the setting means.
Performs management, if the input data is determined as specific command data to a device is its input data command data
It operates to perform processing in accordance with data.

【0014】[0014]

【0015】[0015]

【実施例】以下、添付図面を参照して本発明の好適な実
施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will now be described in detail 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 commands such as a device-specific command input by a user, as well as commands 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 backend 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 denotes 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 thereof is passed to the instruction content determination process of 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 which 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 about 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 interactive 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 backend 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 in step S3, and (Usr1) is input to the command execution processing in 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 the instruction (Usr2), "Get 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 processing, the semantic analysis of a Japanese sentence is performed, and it is interpreted as follows: style: instruction 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 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と、自然言語文の質問文
とを混在させて入力する自然言語入力装置も実現でき
る。
Although the UNIX command interpreter is used as the back-end system 109 in the above embodiment, the present invention is not limited to this.
It can be combined with various back-end systems. For example, it is possible to realize 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.

【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で行った文字種の判定の代わりに、ユーザ入
力がバックエンドシステムのコマンドの構文を満足する
か否かを判定するだけでも良い。
A command specific to the back-end system has 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 of the above embodiment, it may be determined whether or not the user input satisfies the command syntax of the backend system.

【0032】また、上記実施例では、自然言語文による
指示の場合に、図2に示すコマンド決定処理で決定され
たコマンドをユーザに表示せず、直接コマンド実行部1
08に出力していたが、この決定されたコマンドを、自
然言語文によるコマンド入力の確認のためにユーザに表
示するようにしても良い。このように装置を構成するこ
とで、図4に示すような対話が実現できる。
Further, 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 a 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 at 45.

【0034】これは、ユーザが入力した自然言語文によ
るコマンドに対応するバックエンドシステム109のコ
マンドの確認を取るとともに、ユーザへの教育機能を実
現している。これによりユーザは、この確認されたコマ
ンドを覚えることができ、図4の46で示すように、次
回の対話では、41で示すような日本語によるコマンド
入力ではなく、そのバックエンドシステム109に応じ
たコマンドを直接入力してディレクトリの表示を指示す
ることができる。
This confirms the command of the back-end system 109 corresponding to the command by 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 specify the directory display 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 a user to enter a question or an instruction in a natural language sentence and a command of a 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 the processes of both. 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 the schematic arrangement 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, the natural language sentence input from the input unit 101 is analyzed by the sentence analysis unit 104, and the command of the backend system 109 is input. 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. Reference numeral 123 denotes a response level determination unit, 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 for 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 the 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 determining unit 123 to the response level determining 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. The degree of the amount of information to be displayed to the user is determined based on the user level thus determined and the command execution result in the command execution unit 108. 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 holding 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 in the level 1, but a part of the information is displayed in 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 experience information stored in the user experience information holding unit 126, in which the time when the person has used the user's name before, the user level at that time, is shown. 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” when it is turned on.

【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 storage unit 126, the measurement information from the timer 122, and the level information from the user level storage 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 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
21 outputs and displays all the response information to the result display unit 110, corresponding 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, the user level table 125 is shown by associating the time interval from the last use of the apparatus with the previous user level, 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 time the device was used and the previous user level, the elapsed time when the user continuously uses the device and the user level thereof. By combining and, it is possible to more finely control the recovery timing from the user's level down. For example, in the above-mentioned user level table 125, 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 a 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 does not need to perform a switching operation between command input and natural language sentence input for both the instruction by the natural language sentence and the command peculiar to the apparatus. , Enter the instruction information freely and execute the processing.
There is an effect that it can be done.

【0055】更に、文章データと判別された入力データ
に含まれる指示内容に対応して決定された装置特有のコ
マンドデータを表示する態様によれば、入力した自然言
語文に対応するコマンドをユーザが覚えることができる
という効果がある。
Further, according to the aspect in which the command data peculiar to the apparatus determined corresponding to the instruction content included in the input data determined as the text data is displayed, the user can input the command corresponding to the input natural language sentence. It has the effect of being able to remember.

【図面の簡単な説明】[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 unit 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 embodiment of the present invention.

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

101 入力部 102 判定部 103 自然言語処理部 104 文解析部 105 指示内容判定部 106 コマンド決定部 107 コマンドのデータベース 108 コマンド実行部 109 バックエンドシステム 110 結果表示部 121 応答生成部 122 タイマ 123 応答レベル決定部 124 ユーザレベル保持部 125 ユーザレベルテーブル 126 ユーザ使用経験情報保持部 101 Input section 102 determination unit 103 Natural Language Processing Unit 104 sentence parser 105 Instruction content determination unit 106 Command determination unit 107 Command database 108 Command execution part 109 back-end system 110 Result display section 121 Response generator 122 timer 123 Response level determination unit 124 User level holding unit 125 user level table 126 User experience information holding unit

フロントページの続き (72)発明者 藤田 稔 東京都大田区下丸子3丁目30番2号 キ ヤノン株式会社内 (56)参考文献 特開 昭62−75731(JP,A) 特開 昭60−138668(JP,A) 特開 平2−163865(JP,A) 特開 平3−58116(JP,A) 実開 昭62−28259(JP,U) 実開 昭62−89035(JP,U) (58)調査した分野(Int.Cl.7,DB名) G06F 9/44,15/38 Front Page Continuation (72) Inventor Minoru Fujita 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (56) References JP 62-75731 (JP, A) JP 60-138668 ( JP, A) JP-A-2-163865 (JP, A) JP-A-3-58116 (JP, A) Actually opened 62-28259 (JP, U) Actually opened 62-89035 (JP, U) (58) ) Fields surveyed (Int.Cl. 7 , DB name) G06F 9 / 44,15 / 38

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 自然言語によって作成された文章データ
を入力して処理する自然言語入力装置であって、 自然言語によって作成された指示情報を含む文章データ
及び前記装置に特有のコマンドデータの両方を入力可能
な入力手段と、 前記入力手段よりの入力データが前記文章データか、前
記文章データ以外の前記装置に特有のコマンドデータか
当該入力データを構成する文字コードの種類或いは
構文に基づいて判別する判別手段と、 前記判別手段により前記文章データと判別された入力デ
ータを解析して、当該入力データに含まれる指示内容を
判定する判定手段と、 前記判定手段により判定された前記指示内容に対応する
前記装置に特有のコマンドデータを決定する決定手段
と、前記判別手段により前記入力データが文章データと判別
された場合は、当該入力データに含まれる指示内容に対
応して 前記決定手段により決定された前記コマンドデー
に従って処理を行い、前記判別手段により前記入力デ
ータが前記装置に特有のコマンドデータと判別された
合は、当該入力データであるコマンドデータに従って処
理を行う処理手段と、 を有することを特徴とする自然言語入力装置。
1. A natural language input device for inputting and processing text data created in natural language, wherein both text data containing instruction information created in natural language and command data peculiar to the device. Input means capable of inputting, and whether the input data from the input means is the text data ,
The command or data specific to the device other than serial text data, a determining means for determining based on the type or the syntax of character codes constituting the input data, the input data determined as the sentence data by the determining means Analysis means for determining the instruction content included in the input data, determination means for determining command data specific to the device corresponding to the instruction content determined by the determination means, and the determination means Discrimination of the input data as text data
If the instruction is included, the instruction content included in the input data
Corresponding to the command data determined by the determining means , and the determining means processes the input data.
If the over data is determined to be specific command data to said device
And a processing unit that performs processing in accordance with the command data that is the input data , the natural language input device.
【請求項2】 前記決定手段により決定されたコマンド
データを表示するコマンドデータ表示手段を更に有する
ことを特徴とする請求項1に記載の自然言語入力装置。
2. The natural language input device according to claim 1, further comprising command data display means for displaying the command data determined by the determination means.
【請求項3】 自然言語によって作成された文章データ
を入力して処理する自然言語入力装置における自然言語
入力方法であって、 自然言語によって作成された指示情報を含む文章データ
或いは前記装置に特有のコマンドデータのいずれかを入
力する入力工程と、 前記入力工程における入力データが前記文章データか、
前記文章データ以外の前記装置に特有のコマンドデータ
かを当該入力データを構成する文字コードの種類或い
は構文に基づいて判別する判別工程と、 前記判別工程により前記入力データが文章データと判別
された場合に、入力データを解析して、当該入力データ
に含まれる指示内容を判定する判定工程と、 前記判定工程により判定された前記指示内容に対応する
前記装置に特有のコマンドデータを決定する決定工程
と、前記判別工程により前記入力データが文章データと判別
された場合は、当該入力データに含まれる指示内容に対
応して 前記決定工程により決定された前記コマンドデー
に従って処理を行い、前記判別工程により前記入力デ
ータが前記装置に特有のコマンドデータと判別された
合は、当該入力データであるコマンドデータに従って処
理を行なう処理工程と、 を有することを特徴とする自然言語入力方法。
3. A natural language input method in a natural language input device for inputting and processing text data created in natural language, the text data including instruction information created in natural language or peculiar to the device. An input step of inputting any of the command data, and the input data in the input step is the text data ,
Or specific commands data to the device other than the text data, a determination step of determining based on the type or the syntax of character codes constituting the input data, the input data is determined as text data by said determination step In this case, a determining step of analyzing the input data to determine the instruction content included in the input data, and a determining step of determining command data unique to the device corresponding to the instruction content determined by the determining step. And the input data is determined to be text data by the determination step.
If the instruction is included, the instruction content included in the input data
Performs processing in accordance with said command data determined by said determining step is response, the input data by the determination step
If the over data is determined to be specific command data to said device
And a processing step of performing processing in accordance with the command data that is the input data , the natural language input method.
【請求項4】 前記決定工程において決定されたコマン
ドデータを表示するコマンドデータ表示工程を更に有す
ることを特徴とする請求項3に記載の自然言語入力方
法。
4. The natural language input method according to claim 3, further comprising a command data display step of displaying the command data determined in the determination step.
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 JPH05189239A (en) 1993-07-30
JP3391808B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016143092A1 (en) * 2015-03-11 2016-09-15 三菱電機株式会社 Command management device, command management method, and command management program

Also Published As

Publication number Publication date
JPH05189239A (en) 1993-07-30

Similar Documents

Publication Publication Date Title
JP2752040B2 (en) How to Create a Multimedia Application
JP3391808B2 (en) Natural language input method and device
JPS63289667A (en) Japanese document editor
JPH06301735A (en) Data base retrieving device
JPS63768A (en) Japanese sentence producer
JPH0760363B2 (en) Method for automatically creating user-defined commands
JPH04281558A (en) Document retrieving device
JPH09269942A (en) Document generation device and same sound candidate output control method
JP3142159B2 (en) Prosody symbol generator
JPH08255165A (en) Method and device for database generating process
JP2702443B2 (en) Japanese input device
JPH08212212A (en) Documentation device and candidate output control method
JPH06131328A (en) Method and device for processing document
JPH0477956A (en) Term explanation generation system
JPH07121285A (en) Character string input system
JP2000003401A (en) Form preparation processing system
JPH06266487A (en) Information processor and help information presenting method
JPH05334346A (en) Language converting device
JPH0270129A (en) Controller for display screen
JPH02112061A (en) Document producing device
JPS63201766A (en) Document processor
JPH03282874A (en) Document preparation device
JPH06332944A (en) Document processor provided with translating function
JPH0381863A (en) Kana/kanji conversion system
JPH01306912A (en) Information 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