Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0762824B2 - Consultation system - Google Patents
[go: Go Back, main page]

JPH0762824B2 - Consultation system - Google Patents

Consultation system

Info

Publication number
JPH0762824B2
JPH0762824B2 JP62224916A JP22491687A JPH0762824B2 JP H0762824 B2 JPH0762824 B2 JP H0762824B2 JP 62224916 A JP62224916 A JP 62224916A JP 22491687 A JP22491687 A JP 22491687A JP H0762824 B2 JPH0762824 B2 JP H0762824B2
Authority
JP
Japan
Prior art keywords
question
expression
learning
unknown
natural language
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP62224916A
Other languages
Japanese (ja)
Other versions
JPS6466736A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62224916A priority Critical patent/JPH0762824B2/en
Publication of JPS6466736A publication Critical patent/JPS6466736A/en
Publication of JPH0762824B2 publication Critical patent/JPH0762824B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Description

【発明の詳細な説明】 〔概要〕 未知の知識を取り込み得るように構成したコンサルテー
ションシステムに関し、 新たな知識を逐次取り込んで新たな質問にも応え得るよ
うにすることを目的とし、 自然言語を意味表現に変換する自然語インタフェース
と、この自然語インタフェースによって変換された意味
表現が質問表現の場合に質問表現ルールを適用してマッ
チングし、かつ知識ベースを検索して既知である時に解
答を表示し、未知である時に必要に応じて逆質問を作成
し、一方、学習表現の場合に学習表現ルールを適用して
マッチングした時に知識ベースを検索してその内容が未
知であるか否かを判別する質問・学習ルールと、この質
問・学習ルールによって得られた結果および逆質問の結
果に基づいて、知識ベースを更新する知識学習部と、質
問中に未知語を含んでいる場合に、その質問文をファイ
ルに保存する未知語ログ部とを備え、入力された自然言
語が学習表現の場合および質問表現であって逆質問の結
果に基づいて知識ベースを更新し、質問文中に未知語を
含んでいる場合にロギングするように構成する。
DETAILED DESCRIPTION OF THE INVENTION [Outline] Regarding a consultation system configured to take in unknown knowledge, a natural language is defined in order to take in new knowledge sequentially and answer new questions. When the natural language interface that converts to an expression and the semantic expression converted by this natural language interface are question expressions, the question expression rules are applied to match, and the knowledge base is searched to display the answer when it is known. , If it is unknown, create a reverse question if necessary, while in the case of learning expression, apply the learning expression rule and search the knowledge base when matching and determine whether the content is unknown Knowledge learning that updates the knowledge base based on the question / learning rules and the results obtained by these question / learning rules and the results of inverse questions Section and an unknown word log section that saves the question sentence in a file when the question contains an unknown word. When the input natural language is a learning expression and a question expression is a reverse question, The knowledge base is updated based on the result, and is configured to be logged when an unknown word is included in the question sentence.

〔産業上の利用分野〕[Industrial application field]

本発明は、未知の知識を取り込み得るように構成したコ
ンサルテーションシステムに関するものである。
The present invention relates to a consultation system configured to take in unknown knowledge.

〔従来の技術と発明が解決しようとする問題点〕[Problems to be solved by conventional technology and invention]

従来のコンサルテーションシステムは、予め蓄えた知識
の範囲内で、質問に答えるように構築されている。この
ため、研究が進み新たな研究成果が得られたとしても、
現場でこの新しい研究成果を知識として逐次蓄えようと
しても行えないという問題点があった。
Conventional consultation systems are built to answer questions within the limits of pre-stored knowledge. Therefore, even if research progresses and new research results are obtained,
There was a problem that even if we tried to accumulate this new research result as knowledge on site, we could not do it.

本発明は、新たな知識を逐次取り込んで新たな質問にも
答え得るようにすることを目的としている。
An object of the present invention is to successively take in new knowledge so that new questions can be answered.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理構成図を示す。 FIG. 1 shows the principle configuration of the present invention.

第1図において、ディスプレイ装置1は、質問文あるい
は学習文(自然言語)をキー入力したり、質問に対する
解答を表示などするものである。
In FIG. 1, a display device 1 is used to key in a question sentence or a learning sentence (natural language), and display an answer to a question.

自然言語インタフェース2は、ディスプレイ装置1から
キー入力された漢字かな混じりの日本語などの自然言語
を、意味表現例えばリスト表現に変換するものである。
The natural language interface 2 is for converting a natural language such as Japanese mixed with kanji and kana that is key-inputted from the display device 1 into a semantic expression, for example, a list expression.

質問・学習ルール3は、自然語インタフェース2によっ
て変換された意味表現が質問表現の場合に質問表現ルー
ルを適用してマッチングし、かつ知識ベース5を検索し
て既知である時に解答を表示し、未知である時に必要に
応じて逆質問を作成し、一方、学習表現の場合に学習表
現ルールを適用してマッチングした時に知識ベース5を
検索してその内容が未知であるか否かを判別するもので
ある。
The question / learning rule 3 applies a question expression rule when the meaning expression converted by the natural language interface 2 is a question expression and matches, and searches the knowledge base 5 to display an answer when known. When it is unknown, a reverse question is created if necessary, while in the case of a learning expression, the learning expression rule is applied and when matching is performed, the knowledge base 5 is searched to determine whether or not the content is unknown. It is a thing.

知識学習部4は、質問・学習ルール3によって得られた
結果および逆質問の結果に基づいて、知識ベース5を更
新するものである。
The knowledge learning unit 4 updates the knowledge base 5 based on the result obtained by the question / learning rule 3 and the result of the reverse question.

知識ベース5は、階層型のフレーム構成によって知識を
蓄積するものである。
The knowledge base 5 accumulates knowledge with a hierarchical frame structure.

未知語ログ部6は、質問中に未知の用語(未知語)を含
んでいるとき、この質問文をファイル7にロギングなど
するものである。
The unknown word log unit 6 logs the question sentence in the file 7 when the question contains an unknown term (unknown word).

〔作用〕[Action]

本発明は、第1図に示すように、ディスプレイ装置1か
ら入力された自然言語(質問文あるいは学習文)は自然
語インタフェース2によって意味表現に変換され、この
変換された意味表現が質問表現の場合に質問表現ルール
とのマッチングが行われ、かつ知識ベース5を検索して
既知である時に解答をディスプレイ装置1上に表示し、
未知である時に必要に応じて逆質問を作成してディスプ
レイ装置1上に表示し、この逆質問に対する答えの結果
に基づいて知識ベースを更新あるいは未知語としてファ
イル7に保存して後程管理者が必要に応じて知識ベース
5に取り込むと共に、学習表現の場合に学習表現ルール
とのマッチングが行われ、かつ知識ベース5を検索して
その内容が未知であるときに知識ベース5を更新するよ
うにしている。
In the present invention, as shown in FIG. 1, a natural language (question sentence or learning sentence) input from the display device 1 is converted into a semantic expression by the natural language interface 2, and the converted semantic expression is converted into a question expression. In this case, matching is performed with the question expression rule, and when the knowledge base 5 is searched and the answer is known, the answer is displayed on the display device 1,
When it is unknown, an inverse question is created as needed and is displayed on the display device 1. Based on the result of the answer to this inverse question, the knowledge base is updated or saved as an unknown word in the file 7 and the administrator later If necessary, the knowledge base 5 is incorporated, and in the case of a learning expression, matching with the learning expression rule is performed, and the knowledge base 5 is searched to update the knowledge base 5 when the content is unknown. ing.

このため、学習表現の場合に新たな知識を知識ベース5
に取り込むと共に、質問表現であっても逆質問に対する
回答の結果および未知語の場合に必要に応じて知識ベー
ス5に新たな知識を取り込むことにより、現場で新たな
知識を逐次追加しながらコンサルテーション(質問に回
答)することが可能となる。
Therefore, in the case of learning expressions, new knowledge is added to the knowledge base 5.
In addition to incorporating the new knowledge into the knowledge base 5 as needed in the case of the answer result to the reverse question and unknown words, the consultation ( Answer questions).

〔実施例〕〔Example〕

次に、第2図ないし第4図を用いて本発明の1実施例の
構成および動作を順次詳細に説明する。
Next, the configuration and operation of one embodiment of the present invention will be sequentially described in detail with reference to FIGS.

第1に、第3図質問ルール例および動作説明図を用い
て、第2図ディスプレイ装置1から自然言語の質問文例
えば“標準出力に文字列を出力するための関数は?"をキ
ー入力した場合の構成および動作を詳細に説明する。
First, by using the question rule example and the operation explanatory diagram of FIG. 3, a natural language question sentence such as “a function for outputting a character string to standard output?” Is keyed in from the display device 1 of FIG. The configuration and operation of the case will be described in detail.

第3図(イ)に示す自然言語の質問文“標準出力に文字
列を出力するための関数は?"を、ディスプレイ装置1か
らキー入力すると、自然言語インタフェース2は、第3
図(ロ)に示すリスト表現(意味表現の一種)に変換す
る。この変換された第3図(ロ)リスト表現は、元の自
然言語中の末尾に“?"があるので質問表現と判別され、
元の自然言語中に“ため”があるのでこれの前の文“標
準出力に文字列を出力する”が機能と判別され、元の自
然言語中に“は”があるのでこれの前の文(名詞)が上
位フレームであると判別されたものである。そして、本
例の場合には、質問表現であるので、第2図質問・学習
ルール3中の質問ルール例えば第3図(ハ)質問ルール
とのマッチングが行われ、第2図図中で質問表現と判
別され、第2図図中で知識検索が行われ、その結果が
ディスプレイ装置1上に表示される。具体的に言えば、
第3図(ロ)リスト表現が、第3図(ハ)質問ルールと
マッチングされ、この質問ルール中の1F文の部分が合致
するので、THEN文に記載された内容が、知識ベース5か
ら検索され、第3図(ニ)関数名(printf)が得られ
る。そして、ディスプレイ装置1上に第3図(ホ)に示
すように“その関数は、printifです”という自然言語
によって解答が表示される。
When a natural language question sentence “A function for outputting a character string to standard output?” Shown in FIG. 3 (a) is keyed in from the display device 1, the natural language interface 2 displays the third sentence.
Convert to the list representation (a type of semantic representation) shown in Figure (b). The converted list expression in Fig. 3 (b) has a "?" At the end in the original natural language, so it is determined as a question expression.
Since the original natural language has a "problem", the preceding sentence "output a character string to standard output" is determined to be a function, and the original natural language has a "ha", so the previous sentence It is determined that (noun) is the upper frame. In the case of this example, since it is a question expression, matching is performed with the question rule in the question / learning rule 3 in FIG. 2, for example, the question rule in FIG. 3C, and the question in FIG. It is discriminated as an expression, a knowledge search is performed in FIG. 2, and the result is displayed on the display device 1. Specifically,
The list expression in Fig. 3 (b) is matched with the question rule in Fig. 3 (c), and the 1F sentence part in this question rule matches, so the contents described in the THEN sentence are searched from the knowledge base 5. Then, the function name (printf) in FIG. 3 (d) is obtained. Then, as shown in FIG. 3 (e), the answer is displayed on the display device 1 in the natural language "the function is printif".

尚、質問中に未知の用語が含まれている場合には、第2
図図中でNOとなり、図中で逆質問例えば“printfの
使用例は?"に対する逆質問として“教えて下さい”など
をディスプレイ装置1上に表示して使用者からの教示を
待つ。教示された場合には、知識ベース5に蓄積した
り、あるいは未知語ログ6−1として保存し、後程管理
者によって取捨選択して知識ベース5に取り込むように
する。
If the question contains an unknown term, the second
The answer is NO in the figure, and an inverse question such as "Please tell me how to use printf?" Is displayed on the display device 1 as an inverse question and waits for the instruction from the user. When instructed, it is stored in the knowledge base 5 or stored as the unknown word log 6-1 and later selected by the administrator and loaded into the knowledge base 5.

第2に、第4図学習ルール例および動作説明図を用い
て、第2図ディスプレイ装置1から自然言語の学習文例
えば“標準出力に文字列を出力するための関数は、prin
tfです。”をキー入力した場合の構成および動作を詳細
に説明する。
Second, using the learning rule example and the operation explanatory diagram of FIG. 4, the learning sentence of the natural language from the display device 1 shown in FIG. 2, for example, “the function for outputting the character string to the standard output is prin.
It's tf. A detailed description will be given of the configuration and operation when "" is entered by key input.

第4図(イ)に示す自然言語の学習文“標準出力に文字
列を出力するための関数は、printfです。”を、ディス
プレイ装置1からキー入力すると、自然言語インタフェ
ース2は、第4図(ロ)に示すリスト表現に変換する。
この変換された第4図(ロ)リスト表現は、元の自然言
語中に末尾に“です”があるので学習表現と判別され、
元の自然言語中に“です”の前の文“printf"が名前と
判別され、元の自然言語中に“ため”があるのでこれの
前の文“標準出力に文字列を出力する”が機能と判別さ
れ、元の自然言語中に“は”があるのでこれの前の文
(名詞)“関数”が上位フレームと判別されたものであ
る。そして、本例の場合には、学習表現であるので、第
2図質問・学習ルール3中の学習ルール例えば第4図
(ハ)学習ルールとのマッチングが行われ、第2図図中
で学習表現と判別され、第2図図中で知識更新が行
われる。具体的に言えば、第4図(ロ)リスト表現が、
第4図(ハ)学習ルールとマッチングされ、この学習ル
ール中の1F文の部分が図中点線の矢印を用いて示すよう
に合致するので、THEN文に記載された内容(作成された
内容)が、新しい知識として知識ベース5に例えば第4
図(ニ)に示すように取り込まれる。
When the natural language learning sentence “The function for outputting a character string to standard output is printf.” Shown in FIG. 4 (a) is keyed in from the display device 1, the natural language interface 2 is displayed in FIG. Convert to the list representation shown in (b).
This converted list representation in Fig. 4 (b) is discriminated as a learning representation because the original natural language has "is" at the end,
In the original natural language, the sentence "printf" before "is" is identified as the name, and there is "problem" in the original natural language, so the sentence "print character string on standard output" before this is Since it is determined to be a function and "ha" exists in the original natural language, the sentence (noun) "function" before this is determined to be the upper frame. In the case of this example, since it is a learning expression, the learning rule in the question / learning rule 3 in FIG. 2, for example, the learning rule in FIG. It is discriminated as an expression, and the knowledge is updated in FIG. Specifically, the list representation in Fig. 4 (b) is
Fig. 4 (c) Matched with the learning rule, and the 1F sentence part in this learning rule matches as shown by the dotted arrow in the diagram, so the contents described in the THEN sentence (created contents) As new knowledge, for example, in the knowledge base 5
It is taken in as shown in FIG.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、学習表現の場合
に新たな知識を知識ベース5に取り込むと共に、質問表
現であっても逆質問に対する回答の結果および未知語の
場合に必要に応じて知識ベース5に新たな知識として取
り込む構成を採用しているため、現場で使用中に新たな
知識を逐次追加しながらコンサルテーションシステム
(質問に答えるシステム)として成長させることが可能
となり、有限の知識数で十分に役立つシステムを構築す
ることができる。
As described above, according to the present invention, new knowledge is taken into the knowledge base 5 in the case of the learning expression, and even if it is the question expression, the result of the answer to the reverse question and the case of the unknown word are necessary. Since a structure that incorporates new knowledge into the knowledge base 5 is adopted, it becomes possible to grow as a consultation system (system that answers questions) while successively adding new knowledge during use in the field, and a finite number of knowledge You can build a fully useful system with.

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

第1図は本発明の原理構成図、第2図は本発明の1実施
例構成図、第3図は質問ルール例および動作説明図、第
4図は学習ルール例および動作説明図を示す。 図中、1はディスプレイ装置、2は自然言語インタフェ
ース、3は質問・学習ルール、4は知識学習部、5は知
識ベース、6は未知語ログ部、7はファイルを表す。
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram of one embodiment of the present invention, FIG. 3 is an example of a question rule and operation explanatory diagram, and FIG. 4 is an example of a learning rule and operation explanatory diagram. In the figure, 1 is a display device, 2 is a natural language interface, 3 is a question / learning rule, 4 is a knowledge learning unit, 5 is a knowledge base, 6 is an unknown word log unit, and 7 is a file.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 情報処理学会 第33回(昭和61年後期) 講演論文集 P.1279−1280 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Bibliography Proceedings of the 33rd IPSJ (Late 1986) P. 1279-1280

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】未知である知識を外部から取り込み得るよ
うに構成したコンサルテーションシステムにおいて、 自然言語を意味表現に変換する自然語インタフェース
(2)と、 この自然語インタフェース(2)により変換された意味
表現が質問表現である場合に質問表現ルールを適用して
マッチングさせ、知識ベース(5)を検索して既知であ
る時は解答を表示し、未知である時は逆質問を表示し、
一方、意味表現が学習表現の場合に学習表現ルールを適
用してマッチングさせ、知識ベース(5)を検索してそ
の内容が未知であるか判別する質問・学習ルール(3)
と、 この質問・学習ルール(3)により得られた結果および
逆質問に対する入力結果に基づいて、知識ベース(5)
を更新する知識学習部(4)と、 質問文中に未知語を含んでいる場合に、その質問文をフ
ァイル(7)に保存する未知語ログ部(6)とを備え、 入力された自然言語を意味表現に変換した結果が学習表
現でその内容が未知の場合、または質問表現への逆質問
の結果、入力されたものが学習表現でその内容が未知の
場合に、知識ベース(5)を更新し、質問文中に未知語
を含んでいる場合にその質問文をロギングするように構
成したことを特徴とするコンサルテーションシステム。
1. A consultation system configured to take in unknown knowledge from the outside, a natural language interface (2) for converting a natural language into a semantic expression, and a meaning converted by the natural language interface (2). When the expression is a question expression, the question expression rule is applied to match, and the knowledge base (5) is searched to display the answer when it is known, and the reverse question when it is unknown,
On the other hand, when the semantic expression is a learning expression, the learning expression rule is applied and matched, and the knowledge base (5) is searched to determine whether the content is unknown / a learning rule (3)
And the knowledge base (5) based on the result obtained by this question / learning rule (3) and the input result for the inverse question.
The knowledge learning unit (4) for updating the question sentence and the unknown word log unit (6) for saving the question sentence in the file (7) when the question sentence contains an unknown word are provided. The knowledge base (5) is used when the result of converting to a semantic expression is a learning expression and its contents are unknown, or when the result of a reverse question to the question expression is the learning expression and its contents are unknown. A consultation system that is configured to be updated and configured to log the question text when the question text contains an unknown word.
JP62224916A 1987-09-08 1987-09-08 Consultation system Expired - Lifetime JPH0762824B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62224916A JPH0762824B2 (en) 1987-09-08 1987-09-08 Consultation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62224916A JPH0762824B2 (en) 1987-09-08 1987-09-08 Consultation system

Publications (2)

Publication Number Publication Date
JPS6466736A JPS6466736A (en) 1989-03-13
JPH0762824B2 true JPH0762824B2 (en) 1995-07-05

Family

ID=16821173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62224916A Expired - Lifetime JPH0762824B2 (en) 1987-09-08 1987-09-08 Consultation system

Country Status (1)

Country Link
JP (1) JPH0762824B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015028791A (en) * 2014-08-15 2015-02-12 洋彰 宮崎 Autonomous knowledge improvement device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4841271B2 (en) * 2006-03-08 2011-12-21 日東工業株式会社 Joint structure of heater and bimetal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
情報処理学会第33回(昭和61年後期)講演論文集P.1279−1280

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015028791A (en) * 2014-08-15 2015-02-12 洋彰 宮崎 Autonomous knowledge improvement device
WO2016024367A1 (en) * 2014-08-15 2016-02-18 洋彰 宮崎 Autonomous knowledge enhancement device

Also Published As

Publication number Publication date
JPS6466736A (en) 1989-03-13

Similar Documents

Publication Publication Date Title
JPH0762824B2 (en) Consultation system
JPS63311471A (en) Kana(japanese syllabary)/kanji(chinese character) converter
JPS60247770A (en) Character processor
KR20020059555A (en) Searching engine and searching method
JP3010450B2 (en) Image processing device
JP3113257B2 (en) Machine translation equipment
JPH01307865A (en) Character string retrieving system
JP2988046B2 (en) Kana-Kanji conversion device
JPS613267A (en) Kana to kanji conversion processor
JP3109123B2 (en) Image processing device
JP3132563B2 (en) Document creation support device
JPS63136265A (en) Mechanical translating device
JPH07129566A (en) Kana-Kanji conversion processor
JPS6217872A (en) Japanese understanding device
JPH0244463A (en) Original text input method in machine translation system
JP2870278B2 (en) Meaning selection device
JPH0377166A (en) Expression conversion system
JPS6190268A (en) Translation system
JPH09160913A (en) Foreign language word search device
JPH07120353B2 (en) Document processor
JPS61269767A (en) Output sentence generating and controlling system
Sapp et al. Intelligent Web Representatives
JPS6329877A (en) Japanese sentence input device
JPH0447365A (en) Dictionary device
JPH05158971A (en) Machine translation system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080705

Year of fee payment: 13