JPH02236634A - Knowledge base construction support method and device - Google Patents

Knowledge base construction support method and device

Info

Publication number
JPH02236634A
JPH02236634A JP1056440A JP5644089A JPH02236634A JP H02236634 A JPH02236634 A JP H02236634A JP 1056440 A JP1056440 A JP 1056440A JP 5644089 A JP5644089 A JP 5644089A JP H02236634 A JPH02236634 A JP H02236634A
Authority
JP
Japan
Prior art keywords
worksheet
knowledge
knowledge base
construction support
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1056440A
Other languages
Japanese (ja)
Inventor
Rei Sai
礼 斎
Chizuko Yasunobu
千津子 安信
Fumihiko Mori
文彦 森
Kikuo Yoshimura
吉村 紀久雄
Tatsuya Kameda
達也 亀田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1056440A priority Critical patent/JPH02236634A/en
Publication of JPH02236634A publication Critical patent/JPH02236634A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、知識整理の支援や、知識ベースファイルへの
自動変換を行う手段を設けることにより、効率的に知識
ベースを構築する知識ベース構築支援方法および装置、
特に、知識に日本語記述の部分が多い場合、扱う知識が
多量で知識ベースの修正が必要となり、知識ベースを修
正すると、修正に関連して知識ベースのその他の部分に
も影響が出るような場合に好適な知識ベース構築支援方
法および装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides a knowledge base construction method that efficiently constructs a knowledge base by providing means for supporting knowledge organization and automatically converting it into a knowledge base file. assistive methods and devices;
In particular, if the knowledge has many parts written in Japanese, the amount of knowledge to be handled is large and the knowledge base needs to be modified, and if the knowledge base is modified, other parts of the knowledge base may also be affected. The present invention relates to a knowledge base construction support method and apparatus suitable for various cases.

〔従来の技術〕[Conventional technology]

従来の知識ベース構築方法としては、情報処理学会第3
6回(昭和63年前期)全国大会予稿集第1483頁か
ら第1484頁に記載の「日本ユニバック(株)、エキ
スパートシステム開発のための知識獲得法MAKEJの
ように,知識整理の段階に応じて複数のワークシートを
提供していた.〔発明が解決しようとする課題〕 上記従来技術は、各々のワークシートを段階を追って作
成していくが、 ■各々の段階のワークシートの間に物理的(電気的)な
関係はないので、知識修正のためにワークシート記載事
項の部分的変更を行おうとすると、ユーザが変更に関連
するワークシートをそれぞれ手操作で修正しなければな
らない。
As a conventional knowledge base construction method, the Information Processing Society of Japan
As described in the Proceedings of the 6th (first half of 1988) National Conference, pages 1483 to 1484, "Japan Univac Co., Ltd., MAKEJ, a knowledge acquisition method for developing expert systems," A plurality of worksheets were provided. [Problem to be solved by the invention] In the above conventional technology, each worksheet is created step by step; Since there is no (electrical) relationship, if a user attempts to partially change the worksheet entries to correct knowledge, the user must manually correct each worksheet related to the change.

■知識の整理が完成しても、ユーザがそれを手操作でル
ールやフレーム形式に変換しなければならない. ■入力の際に、全角半角,送り仮名、仮名漢字が異なる
と、本来同じ意味で入力しても、計算機は異なった情報
とは判断するので、推論に差し支える。
■Even after the knowledge has been organized, the user must manually convert it into rules and frame format. ■If the full-width half-width, okurikana, or kana-kanji characters are different when inputting information, even if the input originally has the same meaning, the computer will judge it as different information, which will interfere with inference.

■知識が大量になると、その整理のために索引の役割を
果たすワークシートを設ける必要があったりする。
■When a large amount of knowledge becomes available, it may be necessary to create a worksheet that acts as an index to organize it.

■ユーザが知識ベースファイルを直接エディタ等で修正
すると、ワークシートと知識ベースとの間の整合性を取
るために,後で逐一ワークシートを修正しなければなら
ない. ■知識ベースを一部修正したことが、知識ベースのその
他の部分に及ぼす影響を簡単に把握できない。
■If the user modifies the knowledge base file directly with an editor, etc., the worksheet must be modified one by one later to ensure consistency between the worksheet and the knowledge base. ■It is not easy to understand the effect that modifying one part of the knowledge base will have on other parts of the knowledge base.

のような問題点があった。There were problems like this.

本発明の目的は、知識ベース構築の際のキーボードから
の入力操作を極力減少させて、ユーザの負担を軽減し,
関係するワークシートや知識ベースファイル間で知識の
整合性をとるとともに、知識ベースの記述文法修得の手
間を軽減して、知識ベースの構築、洗練の効率を向上す
る知識ベース構築支援方法および装置を提供することに
ある.〔課題を解決するための手段〕 上記目的を達成するために、本発明は,まず、ワードプ
ロセッサの文書ファイルの形式を持つワークシートを作
成し、このワークシートに対して入出力を行うプログラ
ムを利用するようにした。
The purpose of the present invention is to reduce the input operations from the keyboard as much as possible when building a knowledge base, thereby reducing the burden on the user.
A knowledge base construction support method and device that improves the efficiency of knowledge base construction and refinement by ensuring consistency of knowledge between related worksheets and knowledge base files, reducing the effort required to learn the descriptive grammar of knowledge bases, and improving the efficiency of knowledge base construction and refinement. The purpose is to provide. [Means for Solving the Problems] In order to achieve the above object, the present invention first creates a worksheet in the format of a word processor document file, and uses a program that performs input/output to this worksheet. I decided to do so.

また、同じ単語の再入力は誤入力の原因となるので、可
能なかぎり、ワークシ,一ト上の同じ単語を抽出するよ
うにした。
Also, since re-entering the same word can cause input errors, we tried to extract the same word one step above the worksheet whenever possible.

次に、ワークシートの作成のうち,機械的に行うことの
できる部分については、自動的に作成するようにした。
Next, parts of the worksheet creation that can be done mechanically are automatically created.

さらに、知識の整理や記入り終ったワークシートから、
推論機構の文法に適合したルールやフレームへ自動変換
するようにした。
Furthermore, from organizing your knowledge and filling out worksheets,
Automatic conversion to rules and frames that match the grammar of the inference mechanism.

ワークシートの作成や変換、ルールやフレームへの変換
の際には、二重定義などのエラーが存在しないかどうか
チェックするようにした。また、知識の変更が知識ベー
スに及ぼす影響を動的に把握できるようにした。
When creating or converting a worksheet, or converting it to a rule or frame, it is now checked for errors such as double definitions. Additionally, it is now possible to dynamically understand the impact that changes in knowledge have on the knowledge base.

最後に、ルールやフレームからワークシートの形に知識
を変換できるようにした。
Finally, we made it possible to convert knowledge from rules and frames into worksheets.

〔作用〕[Effect]

ワークシート作成支援における文字列抽出機能は、ディ
スプレイ上に表示された文書の2点を指示して,その間
の文字列を単語として抽出する.それによって、ユーザ
はすでに入力されている文字列をキーボードから再入力
する必要がなくなるので、誤入力がなくなり、かつ、入
力の手間が軽減できる。
The character string extraction function in worksheet creation support specifies two points on the document displayed on the display and extracts the character string between them as a word. This eliminates the need for the user to re-enter a character string that has already been entered from the keyboard, thereby eliminating input errors and reducing input effort.

上記文字列抽出機能は、新しい文字列が指示されると、
それ以前に指示した文字列群に対してその文字列のチェ
ックを行う.これによって、単語の重複抽出などを検出
できる。
The above string extraction function, when a new string is specified,
Checks the string against the previously specified strings. This makes it possible to detect duplicate extraction of words.

上記ワークシート作成支援におけるワークシート作成支
援機能は、上記文字列抽出機能により得られた情報をも
とに、関連するワークシートに対して機械的に決定され
る部分の記入を行う。それによって、ユーザは、キーボ
ードからの入力操作が減少するので,誤入力の可能性が
少なくなるとともに操作時間を短縮することができ、そ
の分、知識ベースの洗練に力を注ぐことができる。
The worksheet creation support function in the worksheet creation support fills in mechanically determined portions on the related worksheet based on the information obtained by the character string extraction function. As a result, the user has fewer input operations from the keyboard, which reduces the possibility of erroneous input and reduces operation time, allowing the user to focus on refining the knowledge base accordingly.

ワークシート間変換に際しては、関連する2枚のワーク
シート間で、自動的に一方から他方へ変換を行う。それ
によって、ユーザ自ら変換先ワークシートを作成する必
要がなくなるので、手間がかからず、また、ワークシー
トの内容を誤って変換することがない.さらに、自動的
に索引の役割を果たすワークシートを作成することがで
きる.知識ベース変換に際して、変更したい知識項目に
関係する知識部分を抽出し、知識の変更内容によって起
こる推論結果の変化を動的に表示するので、知識の変更
内容が知識ベースに及ぼす影響を容易に把握でき、適切
な知識ベースの変更、修正を可能にする. ルール,フレーム変換に際しては,知識整理の完成した
ワークシートから情報を取り出し、その情報の矛盾をチ
ェックした後、ルール,フレームファイルへの変換を行
う.それによって、フレームの二重定義や、存在しない
フレームの参照等のエラーが検出できるので、知識を効
率的に修正できる.また、ルールやフレームへの自動変
換するので、ユーザはルールやフレームをキーボードか
ら入力する手間を省くことができると同時に、ルールや
フレームの記述方文法について修得する手間から開放さ
れ、短時間でルールやフレームファイルを作成できる. さらに、ルールやフレームから逆にワークシートの形に
知識を変換するので、ユーザはツールにとらわれること
なく、自由にエディタ等で知識ベースファイルを修正し
ても、後から手軽にワークシートと知識ベースファイル
との間の整合性を取ることができる. 〔実施例〕 以下、本発明の一実施例として、 (1)選択したキーワードから文書を検索する検索型エ
キスパートシステムの知識ベースを構築する例、 (2)上記の検索型エキスパートシステムの知識ベース
のうち、連想度(選択したキーワードから連想されるキ
ーワードに対して付加される、キーワード間の連想の強
さの度合いと)関連度(選択したキーワードと連想した
キーワードから、最終的に検索される文書に対して付け
られる、キーワードと文書間の関連の強さの度合い)を
変更して知識ベースの洗練を行う例,(3)銀行などが
受信する電信(テレックスなど)を各業務部署に自動振
り分けする、電信解析システムの知識ベースを構築する
例、 を,第1図〜第22図により説明する。
When converting between worksheets, conversion is automatically performed from one to the other between two related worksheets. This eliminates the need for the user to create a conversion destination worksheet himself, which saves time and prevents the contents of the worksheet from being converted by mistake. Furthermore, it is possible to automatically create worksheets that serve as indexes. When converting a knowledge base, the knowledge part related to the knowledge item you want to change is extracted, and changes in inference results caused by changes in knowledge are dynamically displayed, making it easy to understand the impact of knowledge changes on the knowledge base. This allows for appropriate changes and modifications to the knowledge base. When converting rules and frames, information is extracted from the worksheet where knowledge organization has been completed, and after checking the information for inconsistencies, it is converted into rule and frame files. This allows errors such as double definition of frames and references to non-existent frames to be detected, allowing for efficient correction of knowledge. In addition, since it automatically converts rules and frames, users can save the trouble of inputting rules and frames from the keyboard, and at the same time, they are freed from the trouble of learning the syntax for writing rules and frames. and frame files can be created. Furthermore, since knowledge is converted from rules and frames into a worksheet format, users can freely modify the knowledge base file with an editor, etc., without being restricted by tools, and can easily convert the worksheet and knowledge base file later. You can maintain consistency between files. [Example] Hereinafter, as an example of the present invention, (1) an example of constructing a knowledge base of a search-type expert system that searches documents from selected keywords; (2) an example of constructing a knowledge base of a search-type expert system as described above; Among these, degree of association (degree of strength of association between keywords that is added to keywords associated with the selected keyword), degree of association (the degree of association between keywords that is added to keywords associated with the selected keyword), degree of association (the degree of association between keywords that are added to keywords associated with the selected keyword), degree of association (the degree of association between keywords that are added to keywords associated with the selected keyword), and degree of association (the degree of association between keywords that are added to keywords associated with the selected keyword), and degree of association (the degree of association between keywords that are added to keywords associated with the selected keyword). Example of refining the knowledge base by changing the strength of the relationship between keywords and documents (3) Automatically sorting telegrams (such as telex) received by banks, etc. to each business department An example of constructing a knowledge base for a telegram analysis system will be explained with reference to FIGS. 1 to 22.

第1図、第4図、および第15図により、実施例におけ
る処理の概要を説明する。ワークシートへの知識の記入
作業を支援する第1のステップ100においては、キー
ワード抽出元のワークシート、検索文書ワークシート4
30からのキーワード抽出、および、関連するワークシ
ート,関連度ルール定義ワークシート435に対するキ
ーワード抽出元の検索文書、キーワード、関連度などの
記入の支援を行う.ワークシートを、知識の整理方法の
異なる別のワークシートに自動変換する第2のステップ
110においては,キーワード抽出元の検索文書ワーク
シート430からキーワードへの関連関係を、キーワー
ドからキーワード抽出元の検索文書ワークシート430
への関連関係へ,のように、変換元のワークシートに記
入されていた知識を置き換えて,変換先のワークシート
に出力する。「知識の洗練あるいは変更を支援する第3
のステップ120においては、知識の修正作業時に、テ
スト検索結果を連想度、関連度更新画面1500に表示
し、画面上で連想度(関連度)を修正すると、修正され
た連想度(関連度)をもとにテスト検索をやり直し,再
度連想度、関連度更新画面 1500に表示する.また、修正作業を終了すると、修
正後の知識をワークシートに記入する。」ワークシート
を知識ベースファイルに自動変換する第4のステップ1
30では、知識整理の終了したワークシート(関連文書
定義ワークシート440)から、ルールやフレームなど
の知識ベースファイル(関連度ルールファイル445)
への自動変換を行う。知識ベースファイルをワークシー
トに自動変換する第5のステップにおいては、逆に、ル
ールやフレームなどの知識ベースファイル(関連度ルー
ルファイル445)から知識整理用のワークシート(関
連文書定義ワークシート440)への自動変換を行う。
An overview of the processing in the embodiment will be explained with reference to FIG. 1, FIG. 4, and FIG. 15. In the first step 100 of supporting the task of filling in knowledge on the worksheet, the keyword extraction source worksheet and the search document worksheet 4 are
It supports the extraction of keywords from 30 and the entry of the search document from which the keywords are extracted, keywords, relevance, etc., on the related worksheet and relevance rule definition worksheet 435. In the second step 110 of automatically converting a worksheet into another worksheet with a different method of organizing knowledge, the relationship between the search document worksheet 430 from which keywords are extracted and the keyword is searched from the keyword to the keyword extraction source. document worksheet 430
The knowledge entered in the source worksheet is replaced with the knowledge entered in the source worksheet and output to the destination worksheet. ``A tertiary system that supports the refinement or modification of knowledge.
In step 120, during the knowledge correction work, the test search results are displayed on the association degree/relevance update screen 1500, and when the association degree (relevance degree) is corrected on the screen, the corrected association degree (relevance degree) is displayed. The test search is re-performed based on the , and displayed on the associativity/relevance update screen 1500 again. Furthermore, when the correction work is completed, the corrected knowledge is recorded on the worksheet. ” Fourth step 1 to automatically convert worksheets into knowledge base files
30, a knowledge base file (relevance rule file 445) such as rules and frames is extracted from the worksheet for which knowledge organization has been completed (related document definition worksheet 440).
Perform automatic conversion to . In the fifth step of automatically converting a knowledge base file into a worksheet, conversely, a worksheet for organizing knowledge (related document definition worksheet 440) is converted from a knowledge base file such as rules and frames (relevance rule file 445). Perform automatic conversion to .

次に、第2図により、本発明の処理手段の概要について
説明する.推論機構210は、構築された知識表現(関
連度ルールなど)にもとづいて推論を行う.知識ベース
記憶装置220は、構築された知識表現ファイル(関連
度ルールファイル445など)を保存する.ワークシー
ト記憶装置230は、検索文書ワークシート430や関
連度ルールワークシート435などの知識を整理するワ
ークシートを保存する.知識ベース構築支援装置240
は、知識ベース記憶装置220に保存されている知識ベ
ースファイルと、ワークシート記憶装置230に保存さ
れているワークシートファイルとを入出力ファイルとし
て、知識ベースの構築支援を行う。
Next, an overview of the processing means of the present invention will be explained with reference to FIG. The inference mechanism 210 performs inference based on the constructed knowledge representation (association rules, etc.). The knowledge base storage device 220 stores the constructed knowledge expression files (association rule file 445, etc.). The worksheet storage device 230 stores worksheets for organizing knowledge, such as a search document worksheet 430 and a relevance rule worksheet 435. Knowledge base construction support device 240
supports construction of a knowledge base using the knowledge base file stored in the knowledge base storage device 220 and the worksheet file stored in the worksheet storage device 230 as input and output files.

〔実施例1〕 (1)実施例の全体構成 まず、第3図により、本発明の一実施例のシステム構成
について説明する。本実施例のシステムは,推論やワー
ドプロセッシング等、各種の処理を実行し、各種の知識
や状態などを記憶する中央処理装置300、知識ベース
やワークシートの情報を記憶する外部記憶装置310、
ワードプロセッサで作成した検索文書や各種メッセージ
などを表示する表示装置32o,ワードプロセッシング
のための入力や各種メッセージに対しての応答を行う入
力装W330およびワードプロセッサで作成した文書や
ツールの動作結果等を印刷する印刷装置340から成る
[Embodiment 1] (1) Overall configuration of the embodiment First, the system configuration of an embodiment of the present invention will be described with reference to FIG. The system of this embodiment includes a central processing unit 300 that executes various processes such as inference and word processing, and stores various knowledge and states, an external storage device 310 that stores knowledge base and worksheet information,
A display device 32o that displays search documents and various messages created with a word processor, an input device W330 that performs input for word processing and responses to various messages, and prints documents created with a word processor and operation results of tools. It consists of a printing device 340.

次に第3図および第4図により、本発明の一実施例のツ
ールやワークシートの関連図およびその機能構成につい
て説明する。
Next, with reference to FIGS. 3 and 4, related diagrams of tools and worksheets according to an embodiment of the present invention and their functional configuration will be described.

検索文書ワークシート430は、検索される文書をワー
ドプロセッサ450で入力したものである。
The search document worksheet 430 is a search document entered into the word processor 450.

ワークシート作成支援ツール400は、上記検索文書ワ
ークシート430の内容を表示装置320に表示する。
The worksheet creation support tool 400 displays the contents of the search document worksheet 430 on the display device 320.

ユーザに検索文書上の文字列をキーワードとして入力装
置330から指定させ,指定されたキーワードを、キー
ワード情報ファイル405の内容と照合し、重複指定の
二ラーを検出し、表示装置320に出力する.エラーが
なければ、新キーワードとしてキーワード情報ファイル
405に登録する. ワークシート作成支援ツール4001t,,関連するワ
ークシート、関連度ルール定義、ワークシート435の
うち、機械的に記入可能な箇所の記入を行う。ユーザは
、部分的に記入の済んだ関連度ルール定義ワークシート
435に対して、ワードプロセッサ450を利用して関
連度等の追加・修正を行い、関連度ルール定義ワークシ
ート435を完成させる. ワークシート間変換ツール410は、ユーザの知識整理
を支援するために、文書からキーワードへの対応を、キ
ーワードから文書l\の対応に変換し、関連文書定義ワ
ークシート440に出力する. ルールファイル作成ツ
ール415は、知識整理の終った関連文書定義ワークシ
ート440から情報を取得し、関連度ルールファイル4
450を作成する.その際、取得した情報を、それ以前
に取得されワークシート情報ファイル420に保存され
ている情報と比較し、未登録のキーワードの使用等のエ
ラーを検出し、表示装置320に表示する. ルールファイル逆変換ツール425は、関連度ルールフ
ァイル445から情報を取得して、関連度ルール定義ワ
ークシート435に対して記入を行う。
The user specifies a character string on the search document as a keyword from the input device 330, the specified keyword is compared with the contents of the keyword information file 405, duplicate specification errors are detected, and the result is output to the display device 320. If there is no error, it is registered in the keyword information file 405 as a new keyword. The worksheet creation support tool 4001t performs entries in related worksheets, association degree rule definitions, and parts of the worksheet 435 that can be entered mechanically. The user uses the word processor 450 to add or modify the degree of association, etc. to the partially filled-in association degree rule definition worksheet 435, thereby completing the association degree rule definition worksheet 435. The inter-worksheet conversion tool 410 converts the correspondence from documents to keywords into the correspondence from keywords to document l\, and outputs it to the related document definition worksheet 440, in order to support the user's knowledge organization. The rule file creation tool 415 acquires information from the related document definition worksheet 440 for which knowledge has been organized, and creates the relevance rule file 4.
Create 450. At this time, the acquired information is compared with information acquired previously and stored in the worksheet information file 420, and errors such as the use of unregistered keywords are detected and displayed on the display device 320. The rule file inverse conversion tool 425 acquires information from the association rule file 445 and fills in the association rule definition worksheet 435.

(2)実施例の動作 本発明の一実施例の動作について、第4図から第11図
を用いて説明する. まず、ワークシート作成支援ツール400の処理を,第
4図から第6図、および第9図により説明する。ステッ
プ900は、入力ファイル名として検索文書ワークシー
ト430のファイル名、出力ファイル名として出力対象
となる関連度ルール定義ワークシート435のファイル
名をユーザに入力させる。ステップ910では、検索文
書500の内容を1ページ目から表示装置320に表示
する。ステップ920では、表示装置320に表示した
文書の2点を、ユーザに指定させることにより、その2
点間の文字列をキーワードとして取得する。ステップ9
30では,指定されたキーワードが、同一文書内で既に
指定されたキーワードと重複していないかどうかを確認
し、重複していなければ、ステップ940でそのキーワ
ードの分類名や5o音などの情報をユーザに設定させる
.ステップ950は、キーワード名やその情報をキーワ
ード情報ファイル405に書き込み、保存する.ステッ
プ960で、すべての文書について上記のキーワード抽
出の終了が確認されると、ステップ970に進み,あら
かじめ枠組みの与えられた関連度ルール定義ワークシー
ト440に対して,第6図のように,文書Nα600、
タイトル610、キーワード620等の項目を記入して
、ワークシートの作成支援を行う. 次に、ワークシート間変換ツール410の処理を、第4
図、第6図、第7図および第10図により説明する.ス
テップ1000において、ユーザにより変換元の関連度
ルール定義ワークシートファイル名および変換先の関連
文書定義ワークシートファイル名が入力されると、ステ
ップ1010において文書Ha 6 0 0、キーワー
ド620,関連度630を一組として関連度ルール定義
ワークシートファイルの情報を取得する. ステップ102oでは、ステップ1010において取得
した文書→キーワードの関係をキーワード→文書の関係
に置き換えて、キーワード700、文書Nα710、関
連度720をあらかじめ枠組みの与えられた関連文書定
義ワークシート440に書き込む。
(2) Operation of the Embodiment The operation of the embodiment of the present invention will be explained using FIGS. 4 to 11. First, the processing of the worksheet creation support tool 400 will be explained with reference to FIGS. 4 to 6 and FIG. 9. Step 900 allows the user to input the file name of the search document worksheet 430 as the input file name, and the file name of the relevance rule definition worksheet 435 to be output as the output file name. In step 910, the contents of the search document 500 are displayed on the display device 320 from the first page. In step 920, the user is asked to specify two points on the document displayed on the display device 320.
Get the string between points as a keyword. Step 9
In step 30, it is checked whether the specified keyword is duplicated with a keyword already specified in the same document, and if it is not duplicated, information such as the keyword's classification name and 5 o sound is stored in step 940. Let the user set it. Step 950 writes the keyword name and its information into the keyword information file 405 and saves it. In step 960, when it is confirmed that the above-mentioned keyword extraction has been completed for all documents, the process proceeds to step 970, and the document is extracted as shown in FIG. Nα600,
Fill in items such as title 610 and keyword 620 to assist in creating a worksheet. Next, the process of the inter-worksheet conversion tool 410 is
This will be explained with reference to FIGS. 6, 7, and 10. In step 1000, when the user inputs the conversion source relevance rule definition worksheet file name and the conversion destination related document definition worksheet file name, the document Ha 600, keyword 620, and relevance 630 are input in step 1010. Obtain the information of the association rule definition worksheet files as a set. In step 102o, the document->keyword relationship obtained in step 1010 is replaced with the keyword->document relationship, and the keyword 700, document Nα 710, and degree of association 720 are written in the related document definition worksheet 440, which has been given a framework in advance.

次に、ルールファイル作成ツール415の処理を、第4
図、第7図、第8図および第11図により説明する.ス
テップ1100において、ユーザにより関連文書定義ワ
ークシートファイル名と関連度ルールファイル名が入力
されると,ステップ1110において、キーワード70
0、文書&710、関連度720を一組として,関連文
書定義ワークシート440の情報を取得する.次に、ス
テップ1120においては、取得情報に重複や,未定義
フレームの使用等のエラーがないかどうかのチェックを
行う。もし、エラーがあれば、ステップ1130に進み
、ユーザの修正を要求する.エラーがなければ、ステッ
プ1140に進み、上記取得情報をいったんワークシー
ト情報ファイル420に保存する。
Next, the process of the rule file creation tool 415 is
This will be explained with reference to FIGS. 7, 8, and 11. In step 1100, when the user inputs the related document definition worksheet file name and the relevance rule file name, in step 1110, the keyword 70
0, Document&710, and Relevance 720 are set as a set, and information on the related document definition worksheet 440 is acquired. Next, in step 1120, a check is made to see if there are any errors in the acquired information, such as duplication or use of undefined frames. If there is an error, the process proceeds to step 1130 and requests correction by the user. If there is no error, the process proceeds to step 1140, and the acquired information is temporarily saved in the worksheet information file 420.

ステップ1150において、すべての情報取得が終了し
たことが確認されると、ステップ1160に進み,第8
図に示すような関連度ルールを出力する. 最後に、ルールファイル逆変換ツール425の処理を第
4図により説明する.ルールファイル逆変換ツール42
5は、関連度ルールファイル445からそのキーワード
と関連度の部分に関して情報を取得して、関連文書定義
ワークシート440および関連度ルール定義ワークシー
ト435に対して記入を行う. (3)実施例特有の効果 本実施例によれば、 ■各キーワードを、直接キーボードから手操作入力しな
くても、キーワードとして登録できるという効果がある
. ■登録したキーワードに対して、そのキーワード分類や
50音を簡単に指定できるという効果がある。
In step 1150, when it is confirmed that all information acquisition has been completed, the process proceeds to step 1160, and the eighth
Output the association rules as shown in the figure. Finally, the processing of the rule file inverse conversion tool 425 will be explained with reference to FIG. Rule file reverse conversion tool 42
5 obtains information regarding the keyword and relevance part from the relevance rule file 445 and fills in the related document definition worksheet 440 and the relevance rule definition worksheet 435. (3) Effects specific to this embodiment According to this embodiment, there is an effect that each keyword can be registered as a keyword without having to be manually input directly from a keyboard. ■An effect is that you can easily specify the keyword classification and Japanese syllabary for the registered keyword.

■各文書から抽出したキーワードが自動的にワークシー
トに記入されるという効果がある.■各キーワードが、
どの文書とどのくらいの重みで対応しているかを示す一
覧表が自動的に作成でき、適切な重みの設定に役立つと
いう効果がある。
■An effect is that the keywords extracted from each document are automatically entered into the worksheet. ■Each keyword is
This has the effect of automatically creating a list showing which documents are associated with what weight, which helps in setting appropriate weights.

■思考を必要としない部分のワークシートの記入や,ル
ールフ.アイルの作成は,すべてツールが行うのでユー
ザは手間がかからず、知識の洗練(ここでは、関連度設
定)に力を注ぐことができるという効果がある。
■Completing worksheets and rules that do not require thinking. The creation of the aisles is done entirely by the tool, so the user does not have to worry about it and has the advantage of being able to focus on refining their knowledge (in this case, setting the degree of relevance).

■ルールはツールが自動変換するので、ルールの記述文
法について熟知する必要なくなるという効果がある. ■ルールからワークシートへの逆変換を行うので、ツー
ノレにとらわれることなく、自由にエディタ等で知識ベ
ースファイルを修正しても、後から簡単に知識ベースフ
ァイルの内容に合致したワークシートを作成できるとい
う効果がある,〔実施例2〕 (1)実施例の全体構成 まず、第3図により、本発明の一実施例のシステム構成
について説明する.本実施例のシステムは、ワークシー
トに記載されている知識の読み込みや、連想度・関連度
の計算度,各種の処理を実行し、各種の知識や状態など
を記憶する中央処理装置300、知識ベースやワークシ
ートの情報を記憶する外部機憶装置310、選択したキ
ーワード、検索された文書名や各種メッセージなどを表
示する表示装置320、連想元となるキーワードや連想
度・関連度の更新値を入力する入力装置330,および
ツールの動作結果として出力されるワークシート等を印
刷する印刷装置340から成る. 次に第3図、第12図,第14図および第15図により
、本発明の一実施例のツールやワークシートの関連図お
よびその機能構成について説明する。
■Since the tool automatically converts the rules, there is no need to be familiar with the writing syntax of the rules. ■Since the reverse conversion from rules to worksheets is performed, you can freely modify the knowledge base file with an editor, etc., without being bound by the rules, and easily create a worksheet that matches the contents of the knowledge base file later. [Embodiment 2] (1) Overall configuration of the embodiment First, the system configuration of an embodiment of the present invention will be explained with reference to FIG. The system of this embodiment includes a central processing unit 300 that reads knowledge written on a worksheet, calculates degrees of association and relevance, executes various processes, and stores various types of knowledge and states; An external storage device 310 that stores information on bases and worksheets, a display device 320 that displays selected keywords, searched document names, various messages, etc. It consists of an input device 330 for inputting data, and a printing device 340 for printing worksheets and the like output as a result of the operation of the tool. Next, with reference to FIG. 3, FIG. 12, FIG. 14, and FIG. 15, the related diagrams of tools and worksheets according to an embodiment of the present invention and their functional configuration will be explained.

検索文書定義ワークシー1− 1 2 1 0は、検索
される文書の文書番号やタイトルなどを定義したもので
ある.50音順キーワードー覧ワークシート1220は
、登録されたキーワードを50音順に整理したものであ
る。分類別キーワードー覧ワークシートl230は、登
録されたキーワードを、キーワード分類ごとに整理した
ものである.連想キーワード定義ワークシート1240
は、キーワードの連想関係と連想度を定義したものであ
る.関連文書定義ワークシート1250は,キーワード
と検索文書の関連と関連度を定義したものである. 連想度・関連度更新ツール1200は、検索文書定義ワ
ークシート1210と50音頭キーワードー覧ワークシ
ート1220と分類別キーワード一覧ワークシート12
30と連想キーワード定義ワークシート1240と関連
文書定義ワークシート1250との内容を読み込み、検
索文書定義ワークシート1210と50音順キーワード
一覧ワークシート1220と分類別キーワードー覧ワー
クシート1230の内容と、連想キーワード定義ワーク
シートl240と関連文書定義ワークシート1250の
内容との間に矛盾がなければ、連想元キーワード入力画
面l400を表示装置320に表示し、ユーザに連想元
キーワードを入力装置330から入力させる。連想元キ
ーワードから、現時点で設定されているキーワード連想
関係と連想度、キーワードと検索文書との関係と関連度
、および最終的に検索される文書と検索の順位、度合い
を表示装置320に出力する.更新する連想度と関連度
を,入力装1330よりユーザに入力させ,最終的に検
索される度合いを再計算する。
The search document definition worksheet 1-1210 defines the document number, title, etc. of the document to be searched. The alphabetical keyword list worksheet 1220 is a worksheet in which registered keywords are arranged in alphabetical order. The keyword list by category worksheet 1230 organizes registered keywords by keyword category. Associative keyword definition worksheet 1240
defines the associative relationship and degree of association of keywords. The related document definition worksheet 1250 defines the relationship and degree of relevance between keywords and search documents. The degree of association/relevance update tool 1200 includes a search document definition worksheet 1210, a list of 50 syllabary keywords worksheet 1220, and a list of keywords by classification worksheet 12.
30, associative keyword definition worksheet 1240, and related document definition worksheet 1250, and read the contents of search document definition worksheet 1210, alphabetical keyword list worksheet 1220, classification keyword list worksheet 1230, and associative keywords. If there is no contradiction between the contents of the definition worksheet 1240 and the related document definition worksheet 1250, the association source keyword input screen 1400 is displayed on the display device 320, and the user is prompted to input the association source keyword from the input device 330. From the association source keyword, the currently set keyword association relationship and degree of association, the relationship and degree of association between the keyword and the searched document, and the document to be finally searched and the ranking and degree of the search are output to the display device 320. .. The degree of association and degree of association to be updated are input by the user through the input device 1330, and the degree of final search is recalculated.

更新がすべて終了したら、最新の知識を連想キーワード
定義ワークシート(更新後)1260と関連文書定義ワ
ークシート(更新後)1270に出力する. (2)実施例の動作 本発明の一実施例の動作について、第3図および第12
図から第18図を用いて説明する.連想度・関連度更新
ツール1200の処理を第12図および図13により説
明する。ステップ13oOは、入力ファイル名として,
検索文書定義ワークシート1210、50音順キーワー
ドー覧ワークシート1220、分類別キーワード一覧ワ
ークシート1230、連想キーワード定義ワークシート
1240.および関連文書定義ワークシート1250の
それぞれのファイル名をユーザに入力させる。
When all updates are completed, the latest knowledge is output to the associative keyword definition worksheet (updated) 1260 and the related document definition worksheet (updated) 1270. (2) Operation of the embodiment Regarding the operation of the embodiment of the present invention, FIGS.
This will be explained using Figure 18. The processing of the association degree/relevance degree update tool 1200 will be explained with reference to FIGS. 12 and 13. In step 13oO, as the input file name,
Search document definition worksheet 1210, alphabetical keyword list worksheet 1220, classification keyword list worksheet 1230, associative keyword definition worksheet 1240. and the related document definition worksheet 1250, respectively.

ステップ1310では、検索文書定義ワークシート12
10、50音順キーワードー覧ワークシート1220,
および分類別キーワード一覧ワークシート1230の内
容を読み込み、第16図のような内部データ構造を作成
する.その後さらに、連想キーワード定義ワークシート
1240と関連文書定義ワークシート1250の内容を
読み込み、検索文書定義ワークシート1210、50音
順キーワードー覧ワークシート1220、および分類別
キーワードー覧ワークシート1230に登録されている
キーワードや文書の内容と矛盾がないかを確認し、第1
7図のような関連文書テーブル、および第18図のよう
な連想キーワードテーブルにそれぞれ格納する.ステッ
プ1320では,登録されているキーワードを連想元キ
ーワード指定画面140oに表示する.ステップ134
0では、連想元キーワードをユーザに指定させる.ステ
ップ1350では,連想元キーワードから、第17図の
連想キーワードテーブルおよび第18図の関連文書テー
ブルを参照し,現時点で設定されているキーワード連想
関係と連想度、キーワード文書間の関連と関連度、最終
的に検索される文書とその度合いをそれぞれ探索、計算
して、連想度・関連度更新画像150oに表示する.ス
テップ1360では、更新する連想度や関連度をユーザ
に設定させる. ステップ1370では,更新された連想度・関連度より
、文書が検索される度合いを再計算して,連想度・関連
度新画面に表示する。ステップ1380では、更新結果
に満足するまで連想度、関連度の更新作成を緑り返す。
In step 1310, the search document definition worksheet 12
10, alphabetical keyword list worksheet 1220,
and the contents of the classified keyword list worksheet 1230, and create an internal data structure as shown in Figure 16. After that, the contents of the associative keyword definition worksheet 1240 and the related document definition worksheet 1250 are read and registered in the search document definition worksheet 1210, the alphabetical keyword list worksheet 1220, and the classified keyword list worksheet 1230. Check that there are no contradictions with the keywords and document content, and
The information is stored in a related document table as shown in Figure 7 and an associated keyword table as shown in Figure 18. In step 1320, the registered keywords are displayed on the association source keyword specification screen 140o. Step 134
0 allows the user to specify the association source keyword. In step 1350, the associative keyword table of FIG. 17 and the related document table of FIG. 18 are referred to from the association source keyword, and the currently set keyword association relationship and degree of association, the relationship and degree of association between keyword documents, The documents to be finally retrieved and their degrees are searched and calculated, and displayed in the association degree/relevance update image 150o. In step 1360, the user is asked to set the degree of association and degree of association to be updated. In step 1370, the degree of retrieval of the document is recalculated based on the updated association degree/relevance degree and displayed on a new association degree/relevance screen. In step 1380, the degree of association and degree of association are updated and created until the update results are satisfied.

ステップ1330で、更新作業終了が選択されると、ス
テップ1390に移り、最新の内容(キーワードの連想
、キーワード検索文書間の関連)を、あらかじめ枠組み
の与えられた連想キーワード定義ワークシート1240
と関連文書定義ワークシート1250に出力する。
In step 1330, when it is selected to finish the update work, the process moves to step 1390, and the latest contents (keyword associations, relationships between keyword search documents) are transferred to an associative keyword definition worksheet 1240 with a framework given in advance.
and output to the related document definition worksheet 1250.

(3)実施例特有の効果 本施例によれば、 ■連想度や関連度の更新を、検索結果に満足するまで連
続しておこなえるので、理想の連想度や関連度への収束
が早いという効果がある。
(3) Effects specific to the embodiment According to this embodiment, ■Associativity and relevance can be updated continuously until the search results are satisfied, so convergence to ideal associativity and relevance is quick. effective.

■連想度や関連度の更新により,文書検索結果がその場
で更新されるので、知識ベースの更新の度にエキスパー
トシステムの実行形を作る手間が省略できるという効果
がある.■連想度や関連度の更新により、文書検索結果
がその場で更新されるので、試行錯誤による連想度や関
連度の設定を,より短時間で終了できるという効果があ
る。
■The document search results are updated on the spot by updating the degree of association and relevance, which has the effect of eliminating the need to create an executable form of the expert system each time the knowledge base is updated. ■By updating the degree of association and degree of association, the document search results are updated on the spot, which has the effect that setting the degree of association and degree of association through trial and error can be completed in a shorter time.

■連想度や関連度の最終的な更新結果を、連想定義ワー
クシートおよび関連文書定義ワークシートに自動的に出
力するので、ユーザはワークシートを度々更新する手間
を省略できるという効果がある。
■Since the final updated results of the degree of association and degree of association are automatically output to the association definition worksheet and related document definition worksheet, the user can save the effort of frequently updating the worksheet.

〔実施例3〕 (1)実施例の全体構成 まず、第19図により、本発明の適用先のシステム構成
について説明する.本発明の適用先のシステムは、外部
からの電信を受信する電信受信装置1900、電信や業
務仕様書を読み込み、ワークシートに記載されている知
識の読み込み、および関連度の計算等、各種の処理を実
行し、各種の知識や状態などを記憶する中央処理装置3
00、知識ベースやワークシートの情報を記憶する外部
記憶装置310、電信文や業務仕様書、設定したキーワ
ードや各種メッセージなどを表示する表示装13 2 
0,キーワードを設定したり、関連度の更新値を入力す
る入力装1!330、およびツールの動作結果として出
力されるワークシート等を印刷する印刷装置340から
成る。
[Embodiment 3] (1) Overall configuration of the embodiment First, the system configuration to which the present invention is applied will be explained with reference to FIG. The system to which the present invention is applied includes a telegram receiving device 1900 that receives telegrams from the outside, reads telegrams and business specifications, reads knowledge written in worksheets, and performs various processes such as calculating relevance. Central processing unit 3 that executes and stores various knowledge, status, etc.
00, external storage device 310 that stores knowledge base and worksheet information, display device 13 that displays telegrams, business specifications, set keywords, various messages, etc.
0, an input device 1!330 for setting keywords and inputting updated values of relevance, and a printing device 340 for printing worksheets and the like outputted as the operation results of the tool.

次に第14図、および第19図から第22図により、本
発明の一実施例のツールやワークシートの関連図および
その機能構成について説明する。
Next, with reference to FIG. 14 and FIGS. 19 to 22, related diagrams of tools and worksheets according to an embodiment of the present invention and their functional configurations will be described.

電信文ファイル2000は,電信受信装置19oOで受
信した電信をワークシート作成支援ツール400がアク
セスできる形式のファイルに変更したものである.業務
仕様書ファイル2010は,銀行などの各業務部署での
仕事内容を文書に纏めたものである.関連部署定義ワー
クシート2020は、電信文や業務仕様書から抜き出し
たキーワードと各業務部署との関連、および関連度を定
義したものである. ワークシート作成支援ツール400は、電信文や業務仕
様書を読み込み、表示装置320に表示し、ユーザにキ
ーワードとなる単語を入力装置330より指定させる。
The telegram file 2000 is a telegram received by the telegraph receiving device 19oO that has been changed into a file format that can be accessed by the worksheet creation support tool 400. The work specification file 2010 is a document that summarizes the work contents of each business department such as a bank. The related department definition worksheet 2020 defines the relationship between keywords extracted from telegrams and business specifications and each business department, and the degree of relationship. The worksheet creation support tool 400 reads a telegram or business specification, displays it on the display device 320, and allows the user to specify a word as a keyword using the input device 330.

さらに、ユーザの指定したキーワードと各業務部署との
関連、および関連の強さ(関連度)をユーザに設定させ
る。
Further, the user is allowed to set the relationship between the keyword specified by the user and each business department, and the strength of the relationship (degree of association).

関連度更新ツール1200は、関連部署定義ワークシー
ト2020の内容を読み込み、キーワード入力画面14
00を表示装置に表示し、ユーザにキーワードを入力装
置330から入力させる.入力されたキーワードをもと
に、キーワードと各業務部署との関係と関連度、および
最終的に指定される業務部署と指定の順位、度合いを表
示装置320に出力する.更新する関連度を、入力装置
330よりユーザに人力させ,最終的に指定される業務
部署およびその度合いを再計算する. 更新がすべて終了2120Lたら、最新の知識を関連部
署定義ワークシート(更新後)2030に出力する. ルールファイル作成ツール415は、関連部署定義ワー
クシート2030をルール形式の記述のファイル2o4
0に自動変換する。
The relevance update tool 1200 reads the contents of the related department definition worksheet 2020 and displays the keyword input screen 14.
00 is displayed on the display device, and the user is prompted to input a keyword from the input device 330. Based on the input keyword, the relationship and degree of association between the keyword and each business department, as well as the finally designated business department and the ranking and degree of designation are output to the display device 320. The user manually inputs the degree of association to be updated using the input device 330, and finally the specified business department and its degree are recalculated. When all updates are completed 2120L, the latest knowledge is output to the related department definition worksheet (updated) 2030. The rule file creation tool 415 converts the related department definition worksheet 2030 into a rule format description file 2o4.
Automatically converted to 0.

(2)実施例の動作 本発明の一実施例の動作について、第14図、および第
19図から第22図を用いて説明する。
(2) Operation of the Embodiment The operation of the embodiment of the present invention will be explained using FIG. 14 and FIGS. 19 to 22.

まず、ワークシート作成支援ツール400の処理を第1
4図、および第19図から第21図により説明する。ス
テップ2100は、入力ファイル名として、電信文ファ
イル2000あるいは業務仕様書ファイル2010のそ
れぞれのファイル名をユーザに入力させる.ステップ2
110では、電信文ファイル2000あるいは業務仕様
書ファイル2010を読み込み、表示装置320に表示
する。ステップ2130では,キーワードと設定する文
字列をユーザに指定させる。ステップ2140では、ユ
ーザが指定したキーワードに関連する業務部署名とその
関連の度合い(関連度)をユーザに設定させる。
First, the process of the worksheet creation support tool 400 is
This will be explained with reference to FIG. 4 and FIGS. 19 to 21. Step 2100 prompts the user to input the file name of the telegram file 2000 or the business specification file 2010 as the input file name. Step 2
At step 110, the telegram file 2000 or business specification file 2010 is read and displayed on the display device 320. In step 2130, the user is asked to specify a keyword and a character string to be set. In step 2140, the user is allowed to set the business department name and the degree of association (degree of association) related to the keyword specified by the user.

すべてのキーワードの設定と,連想関係の設定が終了2
120すると、ステップ2150に進み、関連部署定義
ワークシート202oを出力する. 次に、関連度更新ツール1200の処理を第14図、第
19図、第20図,および第22図により説明する.ス
テップ2200では、入力ファイル名として、関連部署
定義ワークシート2o30のファイル名をユーザに入力
させる。
All keyword settings and associative relationship settings are complete 2
120, the process proceeds to step 2150 and outputs the related department definition worksheet 202o. Next, the processing of the relevance update tool 1200 will be explained with reference to FIGS. 14, 19, 20, and 22. In step 2200, the user is prompted to input the file name of the related department definition worksheet 2o30 as the input file name.

ステップ2210では,関連部署定義ワークシート20
30の内容を読み込み、関連部署テーブルを作成する。
In step 2210, the related department definition worksheet 20
Read the contents of 30 and create a related department table.

さらに,登録されているキーワードをキーワード指定画
面1400に表示する.ステップ2230では、キーワ
ードを入力装置330よりユーザに指定させる。ステッ
プ2240では、入力されたキーワードから、関連部署
テーブルを参照し、現時点で設定されているキーワード
と業務部署間の関連と関連度、最終的に指定される部署
とその度合いをそれぞれ探索、計算して、関連度更新画
面l500に表示する.ステップ2250では、更新す
る関連度をユーザに設定させる.ステップ226oでは
,更新された関連度より、業務部署が指定される度合い
を再計算して、関連度更新画面l500に表示する.ス
テップ2270で、この更新作業が繰り返される.ステ
ップ2220で、更新作業終了が選択されると、ステッ
プ2280に移り、最新の内容(キーワード、業務部署
間の関連)を、あらかじめ枠組みの与えられた関連部署
定義ワークシート2030に出力する。
Furthermore, the registered keywords are displayed on the keyword specification screen 1400. In step 2230, the user is prompted to specify a keyword using the input device 330. In step 2240, the related department table is referred to based on the input keyword, and the relationship and degree of relationship between the currently set keyword and business department, as well as the department to be finally specified and its degree, are searched and calculated. and displayed on the relevance update screen l500. In step 2250, the user is asked to set the degree of association to be updated. In step 226o, the degree to which a business department is specified is recalculated based on the updated degree of association and displayed on the degree of association update screen l500. In step 2270, this update operation is repeated. If the end of the update work is selected in step 2220, the process moves to step 2280, and the latest contents (keywords, relationships between business departments) are output to the related department definition worksheet 2030, which has a framework given in advance.

〔実施例特有の効果〕[Effects specific to the embodiment]

本実施例によれば、 ■エキスパートシステム以外の,ルールベースシステム
の知識ベースの構築を支援できるという効果がある. ■キーワードは、電信原文や業務仕様書から抜き出すこ
とが考えられるが、ツールがアクセス可能なファイル形
式になっていれば、どちらの場合でも対応できるという
効果がある. ■1つのキーワードが複数の業務部署に関係している場
合、部署を特定するために、1つのキーワードからその
関連度の大小で特定する方法と,複数のキーワードから
差合的に特定する方法が考えられるが、どちらの場合に
も対応できるという効果がある. 〔発明の効果〕 本発明によれば、先ず第一に、キーボードからのオペレ
ーションを極力減少させることができるので、エキスパ
ートシステムの知識ベース構築に費やされる時間を短縮
し、ユーザの負担を軽減するという効果がある,同時に
,オペレーションミスを減少させ、知識ベース構築の質
と効率を向上させるという効果がある. 第二に、ワークシートや知識ベースファイルの作成,修
正にワードプロセッサやエディタを利用できので、日頃
使い慣れているワードプロセッサやエディタを利用して
、ワークシートや知識ベースファイルのちょっとした修
正も容易にできるという効果がある. 第三に、ワークシートから知識ベースファイルへの自動
変換を行うので、ルールやフレームを知らない人で(知
識記述文法を意識しないで)、知識ベースを構築できる
という効果がある。
According to this embodiment, there is an effect that it can support the construction of knowledge bases for rule-based systems other than expert systems. ■Keywords can be extracted from the original text of the telegram or business specifications, but if the tool is in an accessible file format, it can be used in either case. ■If one keyword is related to multiple business departments, there are two ways to identify the department: one is to identify the department based on the degree of relevance from one keyword, and the other is to identify the department differentially from multiple keywords. Although it is conceivable, it has the effect of being able to handle both cases. [Effects of the Invention] According to the present invention, first of all, the number of operations from the keyboard can be reduced as much as possible, thereby shortening the time spent building the knowledge base of the expert system and reducing the burden on the user. At the same time, it has the effect of reducing operational errors and improving the quality and efficiency of knowledge base construction. Second, since you can use word processors and editors to create and modify worksheets and knowledge base files, you can easily make small modifications to worksheets and knowledge base files using the word processors and editors you are familiar with. There is. Third, since worksheets are automatically converted into knowledge base files, a knowledge base can be constructed by someone who does not know rules or frames (without being aware of knowledge description grammar).

第四に、知識ベースファイルからワークシートへ自動変
換を行うので、ユーザが知識ベースファイルに対して直
接修正を加えても、その後で簡単にワークシートと知識
ベース間相互の整合性を取ることができるという効果が
ある。
Fourth, since the knowledge base file is automatically converted to a worksheet, even if the user directly modifies the knowledge base file, it is easy to maintain consistency between the worksheet and the knowledge base afterwards. There is an effect that it can be done.

第五に、ワークシートと知識ベースの内容を容易に一致
させることができるので、より知識を理解しやすいワー
クシートを利用して知識ベースの保守、洗練できるとい
う効果がある。
Fifth, since the contents of the worksheet and the knowledge base can be easily matched, the knowledge base can be maintained and refined by using the worksheet, which is easier to understand.

第六に、知識ベース構築支援の各段階(手段)がワーク
シートを媒介として独立しているので、一連の知識ベー
ス構築作業のうち、必要なところから(必要なところの
み)行うことができ、知識ベース構築支援手段に縛られ
ない知識ベース構築ができる。
Sixth, since each step (means) of knowledge base construction support is independent using the worksheet as a medium, it is possible to perform the necessary parts (only the necessary parts) of the series of knowledge base construction tasks. It is possible to construct a knowledge base without being bound by knowledge base construction support means.

第七に、確信度の決定ガイダンスを行うので、知識ベー
スの中で確信度の一貫性を持たせることができる。
Seventh, since confidence determination guidance is provided, confidence can be made consistent within the knowledge base.

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

第1図は、知識ベース構築支援処理の概要を示す図、第
2図は、知識ベース構築支援を含む全体構成の概要を示
す図、第3図は、本発明の第1および第2の実施例の機
能構成を示す図、第4図は、本発明の第1の実施例のツ
ールおよびワークシートの関連を示す図,第5図は、本
発明の第1の実施例において、検索文書かつキーワード
抽出元のワークシートを示す図、第6図は、本発明の第
1の実施例において、文書からキーワードへの関連度を
まとめたワークシート,第7図は,本発明の第1の実施
例において,キーワードから文書への関連度をまとめた
ワークシート、第8図は,本発明の第の実施例のルール
ファイル,第9図は、ワークシート作成支援ツールの処
理手順を示すフローチャート、第10図は、ワークシー
ト間変換ツールの処理手順を示すフローチャート,第1
1図は、ルールファイル作成ツールの処理手順を示すフ
ローチャート、第12図は、本発明の第2の実施例のツ
ールおよびワークシートの関連を示す図、第13図は、
連想度・関連度更新ツールの処理手順を示すフローチャ
ート,第14図は、連想度・関連度更新ツールのキーワ
ード指定画面を示す図、第15図は、連想度・関連度更
新ツールの連想度・関連度の更新画面を示す図、第16
図は、文書とキーワードに関する内部データ構造を示す
図、第17図は、関連度に関するテーブルを示す図、第
18図は、連想度に関するテーブルを示す図、第19図
は、本発明の第3の実施例の機能構成を示す図、第20
図は、本発明の第3の実施例のツールおよびワークシー
トの関連を示す図、第21図は、ワークシート作成支援
ツールの処理手順を示すフローチャート、第22図は、
関連度更新ツールの処理手順を示すフローチャートであ
る。 第1図 一3 爾 図 第 口 第4図 第 図 茅 図 第 と 図 <”a亘A引罫}レりレ10 ,f 笑 q 図 第 図 嘉11図 第 図 第14図 第 図 寥13図, 第 16図 半19 図 英20図 案 回
FIG. 1 is a diagram showing an overview of knowledge base construction support processing, FIG. 2 is a diagram showing an overview of the overall configuration including knowledge base construction support, and FIG. 3 is a diagram showing the first and second implementations of the present invention. FIG. 4 is a diagram showing the relationship between tools and worksheets in the first embodiment of the present invention, and FIG. 5 is a diagram showing the functional configuration of the example. Figure 6 shows a worksheet from which keywords are extracted, and Figure 6 is a worksheet that summarizes the degree of association from documents to keywords in the first embodiment of the present invention. In the example, a worksheet summarizing the degree of relevance from keywords to documents, FIG. 8 is a rule file of the first embodiment of the present invention, and FIG. Figure 10 is a flowchart showing the processing procedure of the inter-worksheet conversion tool.
FIG. 1 is a flowchart showing the processing procedure of the rule file creation tool, FIG. 12 is a diagram showing the relationship between the tool and worksheet of the second embodiment of the present invention, and FIG. 13 is a flow chart showing the processing procedure of the rule file creation tool.
A flowchart showing the processing procedure of the associativity/relevance update tool, Fig. 14 is a diagram showing the keyword specification screen of the associativity/relevance update tool, and Fig. 15 shows the associativity/relevance update tool of the associativity/relevance update tool. Diagram showing the relevance update screen, 16th
17 is a diagram showing an internal data structure regarding documents and keywords, FIG. 17 is a diagram showing a table regarding the degree of association, FIG. 18 is a diagram showing a table regarding the degree of association, and FIG. 19 is a diagram showing the third aspect of the present invention. Diagram showing the functional configuration of the embodiment, No. 20
21 is a flowchart showing the processing procedure of the worksheet creation support tool, and FIG.
3 is a flowchart showing a processing procedure of a relevance update tool. Figure 1-3 Figure 4 Figure 13 Figure 14 Figure 13 Figure, Figure 16 Half 19 Figure 20 Patterns

Claims (1)

【特許請求の範囲】 1、知識の整理方法を定義するワークシートを設け、 (a)上記ワークシートへの知識の記入作業を支援する
第1のステップと、 (b)上記ワークシートを、知識の整理方法の異なる別
のワークシートに自動変換する第2のステップと、 (c)知識の洗練あるいは変更を支援する第3のステッ
プと、 (d)上記ワークシートを知識ベースファイルに自動変
換する第4のステップと、 (c)上記知識ベースファイルをワークシートに自動変
換する第5のステップと、 から成ることを特徴とする知識ベース構築支援方法。 2、上記第1のステップは、ワークシートの知識情報を
取得し、文書から文字列を抽出し、文字列に付加する情
報を定義し、文字列の情報を付加する情報を定義し、文
字列の情報を付加し、文字列の関連付けを行い、確信度
を設定し、ワークシートに出力することを特徴とする、
特許請求範囲第1項記載の知識ベース構築支援方法。 3、上記第2のステップは、ワークシートの知識情報を
読み込み、知識を再編成し、別のワークシートに出力す
ることを特徴とする、特許請求範囲第1項記載の知識ベ
ース構築支援方法。 4、上記第3のステップは、ワークシートの知識情報を
読み込み、知識の変更項目を入力すると変更に関係する
知識部分を抽出し、知識の変更内容を入力すると変更に
伴う推論結果の変化を表示し、変更に関係する知識部分
を修正した知識をワークシートに出力することを特徴と
する、特許請求範囲第1項記載の知識ベース構築支援方
法。 5、上記第4のステップは、ワークシートの知識情報を
読み込み、知識を編成して記憶し、知識ベースファイル
を出力することを特徴とする、特許請求範囲第1項記載
の知識ベース構築支援方法。 6、上記第5のステップは、知識ベースファイルの知識
情報を読み取り、知識を編成して記憶し、ワークシート
を出力することを特徴とする、特許請求範囲第1項記載
の知識ベース構築支援方法。 7、上記第1〜第5のステップのそれぞれでは、ワーク
シートや知識ベースファイルから読み込んだ知識情報の
内容をチェックすることを特徴とする、特許請求範囲第
1項記載の知識ベース構築支援方法。 8、出力されたワークシートや知識ベースファイルは、
ワードプロセッサやエディタを利用してアクセスが可能
なことを特徴とする、特許請求範囲第2〜6項のいずれ
か記載のエキスパートの知識ベース構築支援方法。 9、上記第3のステップは、連続的に知識の変更内容を
入力し、知識の変更に伴う推論結果の変化を動的に確認
することが可能なことを特徴とする、特許請求範囲第1
項記載の知識ベース構築支援方法。 10、推論手段と、知識ベース記憶手段と、ワークシー
ト記憶手段と、知識ベース構築支援手段とから成る知識
ベース構築支援装置。 11、上記知識ベース構築支援手段は、ワークシートの
対話的作成を支援するワークシート作成支援手段と、ワ
ークシートから関連するワークシートを自動作成するワ
ークシート間変換手段、知識の洗練または変更作業を支
援する知識ベース更新手段と、ワークシートから知識ベ
ースファイルへの変換を行う知識ベースファイル変換手
段と、知識ベースファイルからワークシートへの逆変換
を行うワークシート逆変換手段とからなることを特徴と
する、特許請求範囲第10項記載の知識ベース構築支援
装置。 12、上記ワークシート作成支援手段と、ワークシート
間変換手段と、知識ベースファイル変換手段と、ワーク
シート逆変換手段は、ワークシートを媒体としてそれぞ
れが独立していることを特徴とする、特許請求範囲第1
0項記載の知識ベース構築支援装置。
[Scope of Claims] 1. A worksheet is provided that defines a method for organizing knowledge, and (a) a first step of supporting the entry of knowledge into the worksheet; (b) the worksheet is used as a knowledge (c) A third step of supporting the refinement or modification of knowledge; (d) Automatically converting the worksheet into a knowledge base file. A knowledge base construction support method comprising: a fourth step; and (c) a fifth step of automatically converting the knowledge base file into a worksheet. 2. The first step above is to obtain the knowledge information of the worksheet, extract the string from the document, define the information to be added to the string, define the information to add the string information, and extract the string from the document. It is characterized by adding information, associating character strings, setting confidence level, and outputting it to a worksheet.
A knowledge base construction support method according to claim 1. 3. The knowledge base construction support method according to claim 1, wherein the second step reads the knowledge information on the worksheet, reorganizes the knowledge, and outputs it to another worksheet. 4. The third step above is to read the knowledge information on the worksheet, input the knowledge change item, extract the knowledge part related to the change, and input the knowledge change content to display the change in the inference result due to the change. 2. The knowledge base construction support method according to claim 1, wherein the knowledge base construction support method according to claim 1 is characterized in that the knowledge portions related to the changes are corrected and the knowledge is output on a worksheet. 5. The knowledge base construction support method according to claim 1, wherein the fourth step reads the knowledge information on the worksheet, organizes and stores the knowledge, and outputs a knowledge base file. . 6. The knowledge base construction support method according to claim 1, wherein the fifth step reads the knowledge information in the knowledge base file, organizes and stores the knowledge, and outputs a worksheet. . 7. The knowledge base construction support method according to claim 1, wherein in each of the first to fifth steps, the content of knowledge information read from a worksheet or a knowledge base file is checked. 8. The output worksheets and knowledge base files are
7. A method for assisting experts in building a knowledge base according to any one of claims 2 to 6, characterized in that the method can be accessed using a word processor or an editor. 9. The third step is characterized in that it is possible to continuously input changes in knowledge and dynamically check changes in inference results due to changes in knowledge.
Knowledge base construction support method described in section. 10. A knowledge base construction support device comprising an inference means, a knowledge base storage means, a worksheet storage means, and a knowledge base construction support means. 11. The knowledge base construction support means includes a worksheet creation support means that supports interactive creation of worksheets, an inter-worksheet conversion means that automatically creates related worksheets from worksheets, and a knowledge refinement or modification work. The present invention is characterized by comprising a supporting knowledge base update means, a knowledge base file conversion means for converting a worksheet into a knowledge base file, and a worksheet inverse conversion means for inversely converting the knowledge base file into a worksheet. A knowledge base construction support device according to claim 10. 12. A patent claim characterized in that the worksheet creation support means, the inter-worksheet conversion means, the knowledge base file conversion means, and the worksheet inverse conversion means are each independent using the worksheet as a medium. Range 1
The knowledge base construction support device described in item 0.
JP1056440A 1989-03-10 1989-03-10 Knowledge base construction support method and device Pending JPH02236634A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1056440A JPH02236634A (en) 1989-03-10 1989-03-10 Knowledge base construction support method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1056440A JPH02236634A (en) 1989-03-10 1989-03-10 Knowledge base construction support method and device

Publications (1)

Publication Number Publication Date
JPH02236634A true JPH02236634A (en) 1990-09-19

Family

ID=13027145

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1056440A Pending JPH02236634A (en) 1989-03-10 1989-03-10 Knowledge base construction support method and device

Country Status (1)

Country Link
JP (1) JPH02236634A (en)

Similar Documents

Publication Publication Date Title
Van Atteveldt et al. Computational analysis of communication
US6182062B1 (en) Knowledge based information retrieval system
US5043891A (en) Document generation apparatus and methods
US5404506A (en) Knowledge based information retrieval system
EP0475964B1 (en) Document generation apparatus and methods
JP3038079B2 (en) Automatic translation device
US10678820B2 (en) System and method for computerized semantic indexing and searching
JPH079655B2 (en) Spelling error detection and correction method and apparatus
JPS62287336A (en) Electronic dictionary
JPS58192173A (en) System for selecting word used in translation in machine translation
JP4382663B2 (en) System and method for generating and using concise linguistic data
JP3932350B2 (en) Unified system for language conversion processing
JP2948159B2 (en) Database device
JP2997469B2 (en) Natural language understanding method and information retrieval device
JPH02236634A (en) Knowledge base construction support method and device
JP2001034611A (en) Reading information output device and recording medium
JP2778025B2 (en) Learning Co-occurrence Dictionary
JPH05250416A (en) Registering and retrieving device for data base
JPH0267633A (en) Knowledge base construction support method
JPH07146785A (en) Program automatic generation method and device
JPH0612548B2 (en) Document processor
JP3041002B2 (en) Kana-kanji conversion method and kana-kanji conversion device
JPH0785040A (en) Inconsistent notation detection method and kana-kanji conversion method
JP3608253B2 (en) Image search device
JP2000029878A (en) Method and device for learning translation knowledge and method and device for machine translation