JP3020803B2 - Legal document search and revision system - Google Patents

Legal document search and revision system

Info

Publication number
JP3020803B2
JP3020803B2 JP12608894A JP12608894A JP3020803B2 JP 3020803 B2 JP3020803 B2 JP 3020803B2 JP 12608894 A JP12608894 A JP 12608894A JP 12608894 A JP12608894 A JP 12608894A JP 3020803 B2 JP3020803 B2 JP 3020803B2
Authority
JP
Japan
Prior art keywords
law
document
revision
search
new
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
JP12608894A
Other languages
Japanese (ja)
Other versions
JPH07334574A (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.)
Hitachi Ltd
Kanagawa Prefecture
Original Assignee
Hitachi Ltd
Kanagawa Prefecture
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, Kanagawa Prefecture filed Critical Hitachi Ltd
Priority to JP12608894A priority Critical patent/JP3020803B2/en
Publication of JPH07334574A publication Critical patent/JPH07334574A/en
Application granted granted Critical
Publication of JP3020803B2 publication Critical patent/JP3020803B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、文書管理システムに係
わり、特に計算機を用いて法令文書の検索を行い、改正
後の新法令と現行法令とから現行法令を改正する法令
(以下、改正法令という)を生成する法令文書の検索改
正システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document management system, and more particularly to a law for retrieving legal documents by using a computer, and revising a current law from a revised law and an existing law (hereinafter referred to as a revised law). ) Which relates to a search and revision system for law documents.

【0002】[0002]

【従来の技術】法令文書は、法令の制定、改正、廃止に
より頻繁に作成、改訂、削除される。これら法令文書に
関わる作業は、法令文書の検索など一部がシステム化さ
れているのみであり、法令の改正作業の根幹となる新旧
対照表の作成、改正法令の作成は現在も手作業ないしは
ワードプロセッサにて個々に行われている。ここで、法
令の改正とは、現行法令を新法令に書き換えるための改
正法令を制定することであり、改正作業は、新法令文書
を作成し、新法令と現行法令の違いを対比させた新旧対
照表を作成し、改正法令文書を作成し、公布する作業で
ある。
2. Description of the Related Art Legal documents are frequently created, revised, and deleted due to the enactment, revision, or abolition of laws. Only part of the work related to these legal documents is systematized, such as searching for legal documents.Preparation of a new and old comparison table, which is the basis of the revision work of laws and regulations, and preparation of the revised laws is still manual work or word processing. Is performed individually. Here, the amendment of laws and regulations refers to the enactment of amended laws and regulations to rewrite existing laws and regulations with new laws and regulations, and the revision work is to create new laws and regulations documents and compare the old and new laws and regulations with the old and new laws and regulations. This is the work of creating a comparison table, creating and publishing revised legal documents.

【0003】法令の改正は、まず改正する法令の調査か
ら始める。現在、法令の検索は、利用者の手元の加除式
法令集を参照して行われるが、加除式法令集は、年に2
回程度しか差し換えが行われず、法令が改正されても加
除式法令集が差し換えられるのは最遅で半年を要する。
このため、利用者は公布された改正法令をもとに手書き
で手元の法令集を修正しており、誤りや見落としが生ず
る。特に、ある法令の改正により他の法令にまで影響が
及ぶ場合を想定すると、改正を必要とする法令を最新の
状態でない上記法令集から捜し出すには、大変な手間と
時間がかかり、誤りや見落としが生ずる。現存の法令集
の検索システムでは、改正作業で作成した新法令文書や
改正法令文書から直接管理データを更新せず、法令文書
出版社が公布用文書として作成した出版物あるいはその
電子データを利用して管理データの更新を行っており、
改正法令の施行日から数日から数カ月後に管理データが
更新されるため、同様な問題が生ずる。
[0003] Revision of laws and regulations begins with an investigation of the laws and regulations to be revised. Currently, laws and regulations are searched by referring to the collection of laws and regulations at the user's hand.
Replacement is performed only about once, and even if laws are revised, it will take six months at the latest to replace the law.
For this reason, the user manually corrects the law collection at hand based on the promulgated revised law, and errors or oversight may occur. In particular, assuming that a revision of a certain law will affect other laws and regulations, it will take a great deal of time and effort to find out the law that needs revision from the above-mentioned law collection that is not up to date, and it will take errors and oversights. Occurs. The existing law collection search system does not directly update management data from new or revised legal documents created in the revision work, but rather uses publications created by legal document publishers as promulgated documents or their electronic data. To update management data.
Similar problems arise because management data is updated several days to several months after the date of enforcement of the revised law.

【0004】これは、検索システムが、法令文書を蓄積
し検索に供することを主としており、また、図や様式な
どが管理対象から外されているからである。新法令文書
や改正法令文書は、現行法令文書が検索システムから複
写して取り出され、ワードプロセッサなどで個々に編集
され、作成される。これら作成された法令文書は、上
長、関連部署との合意形成の資料や、公布用文書の原稿
として使用し、管理データの更新に使用されるデータと
は一元化されていない。
[0004] This is because the search system mainly stores legal documents and provides them for searching, and also because figures and styles are excluded from management targets. The new statute document and the revised statute document are obtained by copying the current statute document from the search system, and editing and creating each by a word processor or the like. These created legal documents are used as materials for consensus building with the superior and related departments and as manuscripts for promulgation documents, and are not centralized with data used for updating management data.

【0005】次に、以前の改正内容や他の類似事例の改
正を参考にするため、いままでの改正経緯を順に辿り当
時の改正の根拠資料を捜すなど前例の調査を行い、どの
ように改正するか方針を固め、現行法令と新法令の違い
を対照させた新旧対照表をコピーと切り貼りにより作成
し、上長や関連部署と合意形成を図るため数回の修正を
繰り返した後、改正法令を新たに作成する。改正文の作
成において改正担当者は、立法技術とは別に、手引き書
や前例による規定および、レイアウトの規定など改正技
法を要する。また、法令文書は、その公布に長の承認が
必要であり、法令文書としての形式や、立法技術、改正
技法について審査・承認を行う。この合意形成や審査の
過程において、新旧対照表や改正法令の修正の都度、切
り貼りやワードプロセッサによる修正結果の読み合わせ
が必要となる。長の承認後、公布する場合、公布用の清
書原稿を新たに作成する必要がある場合には、さらに、
そのあとの読み合わせが必要となる。また、紙による管
理では、審査状況や、承認済みで公布可能な法令を把握
し、いつ公布するかを即時に決定することは難しい。ま
た、緊急を要するものについては、改正対象の調査から
施行までを短期間で行うことが要求される。
Next, in order to refer to the contents of the previous revision and the revisions of other similar cases, a precedent survey was conducted, for example, by tracing the history of the revision in order and searching for the basis of the revision at that time. After making a solid policy, copy and cut a copy of the old and new laws and regulations, which compare the differences between the current laws and the new laws, and make several revisions in order to form a consensus with the supervisor and related departments. Is newly created. In preparing the revised text, the person in charge of the revision needs a revision technique, such as a guideline, rules based on precedents, and layout rules, separately from the legislation technique. In addition, legal documents require the approval of the chief of their promulgation, and the format and format of legislative documents, legislation techniques, and revision techniques are examined and approved. In the process of consensus building and examination, every time a new or old comparison table or revised law is revised, it is necessary to cut and paste and read the results of the revision using a word processor. In the case of promulgation after the approval of the director, if it is necessary to prepare a new copy of the promulgation,
Subsequent reading is required. Also, with paper management, it is difficult to grasp the status of examinations, approved and promulgable laws and regulations, and immediately determine when to promulgate. In the case of urgent matters, it is required that the process from the investigation of the amendment to the enforcement be performed in a short period of time.

【0006】管理データの初期入力においては、パンチ
ャによるパンチ入力はコストと期間がかかり、入力期間
中の改正による修正など、煩雑な作業となる。
[0006] In the initial input of management data, punch input using a puncher requires a cost and a period, and is a complicated operation such as correction by revision during the input period.

【0007】法令文書の処理に関する公知技術として、
文書改正支援システム(特開平4−162175号公
報)が知られている。これは、現行法令に今回の改正箇
所をマーキングした改正現行文書ファイルと、これに対
しどのように改正するのかをキーボードなどより入力し
た改正内容ファイルとから新旧対照表と新法令文書を作
成するシステムである。
[0007] As a well-known technique for processing legal documents,
A document revision support system (JP-A-4-162175) is known. This is a system that creates a new and old comparison table and a new law document from a revised current document file in which the current law is marked with the current revision and a revised content file in which the revision is entered using a keyboard or the like. It is.

【0008】[0008]

【発明が解決しようとする課題】以上述べたように、加
除式法令集では、現在の最新状態の法令を参照すること
は不可能であり、利用者が自分で加筆修正していても、
誤りや漏れが生ずる。そのうえ、改正すべき法令を特定
するには、引用関係、参照関係を漏れなく網羅する必要
があり、すべての法令に目を通すか、作業者の経験に頼
らざるを得ず、大変な労力と時間を消費する。
As described above, it is impossible to refer to the latest laws and regulations in the addition-and-deletion laws and regulations, and even if a user makes corrections by himself / herself,
Errors and omissions occur. In addition, in order to identify laws and regulations that need to be revised, it is necessary to cover all citation and reference relationships without fail, and it is necessary to read all laws and regulations or rely on the experience of workers. Consumes time.

【0009】検索システムや、前記特許の文書改正支援
システムにおいても、法令の改正にあたっては、以前の
改正内容や他の類似事例の改正を参考にするため、いま
までの改正経緯を順に辿り当時の改正の根拠資料を捜す
など前例の調査を行う必要があるが、これらの文書は個
人が管理しているものであり担当者の異動などにより所
在不明となっていたり、捜すのに時間がかかる、必ずし
も最終的な修正がされておらず最新状態になっていない
などの問題がある。
[0009] In the search system and the document revision support system for patents, when revising laws and regulations, in order to refer to previous revisions and revisions of other similar cases, the history of revisions up to now is traced in order. It is necessary to conduct precedent investigations, such as searching for the basis for the revision, but these documents are managed by individuals and are missing due to a transfer of the person in charge and it takes time to search. There is a problem that the final fix is not always made and it is not up to date.

【0010】また、検索した結果の法令が改正作業中で
あることを知らずに、現行の状態の法令を元に改正作業
を行うと、ずれが生ずる可能性があり、法令としての整
合性を保てなくなる。
Further, if a revision of the laws and regulations based on the current state is performed without knowing that the laws and regulations obtained as a result of the revision are being revised, there is a possibility that a deviation may occur, and the consistency as a law is maintained. Lost.

【0011】どのように改正するか方針が決まると、現
行法令と新法令の違いを対照させた新旧対照表をワード
プロセッサやコピーと切り貼りにより作成する。上長や
関連部署と合意形成を図るため数回の修正が繰り返し必
要となり、その都度ワードプロセッサによる修正や切り
貼り、読み合わせなどの作業が必要となり、紙の資源や
煩雑な作業によるコストがかかる。次に改正法令を作成
するには、手引き書や前例による規定および、レイアウ
トの規定などを遵守する必要があるため、それらの調査
分析に時間と労力がかかる。また、これらのテクニック
は、個人の経験によるノウハウであり、新任の作業者が
熟練するためには、ある程度の期間が必要となる。
When a policy on how to revise is decided, a new / old comparison table comparing the differences between the current law and the new law is created by a word processor or by copying and cutting and pasting. To make consensus with the superior and related departments, several corrections are required repeatedly, and each time a work such as correction, cut-and-paste, and reading by a word processor is required, which increases costs due to paper resources and complicated work. Next, in preparing revised laws and regulations, it is necessary to comply with the rules in the guidebook and precedents, the layout rules, etc., and it takes time and effort to analyze those surveys. In addition, these techniques are know-how based on personal experience, and a certain period of time is required for newly appointed workers to become skilled.

【0012】作成した法令文書は、法令としての形式
や、立法技術、改正技法について法令担当部署の審査、
承認や関連部署との合意形成が行われる。審査・承認は
コピーなどの紙文書を各部署に持ち回ったり、打合せを
行うなど、人や紙などの物理的な移動を伴うため、時間
がかかる。また、コピーや切り貼りなどの修正作業の度
に読み合わせが必要となる。
[0012] The prepared legal documents are examined by the department in charge of law for legal form, legislation technology, and revised techniques.
Approval and consensus building with related departments are performed. Examination / approval involves physical movement of people and paper, such as carrying paper documents such as copies to various departments or holding meetings, which takes time. In addition, each time a correction work such as copying or cutting and pasting is performed, the reading is required.

【0013】承認を経た法令文書は、公報などに登載さ
れ公布されるが、どの法令をいつ公布するかを決定する
には、審査承認済みであるか否か、他の法令と同時に公
布する必要性、公布する順序などを考慮する必要があ
り、紙による管理では煩雑な作業となる。
Approved laws and regulations are published in the gazettes and promulgated, but in order to determine which law is to be promulgated and when, it is necessary to determine whether or not the approval has been approved and to promulgate at the same time as other laws and regulations. It is necessary to consider the nature and the order of promulgation, and management by paper is a complicated operation.

【0014】また、緊急を要するものについては、改正
対象の調査から施行までを短期間で行うことが要求され
る。
[0014] In the case of an urgent matter, it is required that the process from the survey of the object to be revised to the enforcement be performed in a short time.

【0015】前記公知の文書改正支援システムは、新法
令文書の作成と新旧対照表の作成を支援するが、改正箇
所を利用者がマーキングしなければならない、改正法令
は別途作成する必要がある、改正経緯や前例の調査がで
きない、手引きなどの規定やレイアウトを意識する必要
がある、審査・承認が一元化されない、公布文書は別途
作成する必要があるなどの問題がある。
[0015] The known document revision support system supports the creation of a new statute document and the creation of a new / old comparison table, but requires the user to mark the location of revision, and the revised statute needs to be prepared separately. There are problems such as the inability to investigate the history of revisions and precedents, the need to be aware of the rules and layout of guidance, the unification of examination and approval, and the necessity of creating a separate promulgated document.

【0016】現存の法令集の検索システムでは、図や様
式などが管理対象から外されており、また、新法令文書
や改正法令文書は、現行法令文書が検索システムから複
写して取り出され、ワードプロセッサなどで個々に編集
され、作成されるため、加除式法令集を使用した場合と
同様な問題点がある。管理データの更新は、法令文書出
版社が公布用文書として作成した出版物あるいはその電
子データを利用して行うため、改正法令の施行日から数
日から数カ月を要する。
In the existing law collection search system, figures and forms are excluded from the management target, and new law documents and revised law documents are copied and extracted from the current law document from the search system, and word processors are processed. Since these are edited and created individually, there is a problem similar to the case where the addition and subtraction law collection is used. Updating the management data requires a few days to several months from the date of enforcement of the revised law, because the update is performed using the publication created by the legal document publisher as a document for promulgation or its electronic data.

【0017】管理データの初期入力においては、パンチ
ャによるパンチ入力はコストと期間がかかり、入力期間
中の改正による修正など、煩雑な作業となる。
In the initial input of the management data, the punch input by the puncher requires a cost and a period, and is a complicated operation such as correction by revision during the input period.

【0018】本発明は、法令文書の改正作業の根幹とな
る改正法令の制定、新旧対照表の作成の自動化を主とし
て、システムへの入力、蓄積、検索、改正、審査承認お
よび公布、データ更新までの作業を統括的に一元化し、
改正作業の作業時間の短縮、紙の切り貼りやワードプロ
セッサなどによる清書の際の読み合わせなどの煩雑かつ
単純な作業に関わる人件費の削減を目的とする。
The present invention is mainly concerned with the establishment of revised laws and regulations, which is the basis of the revision of legal documents, and the automation of the creation of a new and old comparison table, from input to the system, accumulation, search, revision, examination approval and promulgation, and data updating. Work in a unified way,
The present invention aims to shorten the time required for the revision work and to reduce labor costs associated with complicated and simple tasks such as cutting and pasting of paper and reading at the time of fair copy using a word processor.

【0019】また、常に最新状態の法令を、その引用し
ている他の法令を含め利用者が迅速に検索し参照できる
ことを目的とする。
Another object of the present invention is to allow a user to quickly search and refer to the latest laws and regulations, including other laws and regulations cited therein.

【0020】[0020]

【課題を解決するための手段】本発明は、指定された検
索条件に基づいて複数の法令文書を格納する記憶手段を
検索しマッチした法令文書を抽出する検索手段と、現行
の法令文書と新法令文書とを比較して差分を抽出し差分
テーブルを作成する差分抽出手段と、現行法令文書、新
法令文書、差分テーブル及び改正ルールとから改正法令
を生成する改正法令生成手段とを有する法令文書検索改
正システムを特徴とする。
SUMMARY OF THE INVENTION According to the present invention, there is provided a search means for searching a storage means for storing a plurality of legal documents based on a specified search condition and extracting a matched legal document; A law document having a difference extracting means for extracting a difference by comparing with a law document and creating a difference table, and a revised law generating means for generating a revised law from a current law document, a new law document, a difference table and a revision rule. It features a search revision system.

【0021】[0021]

【作用】法令文書は、題名、条、項といった論理構造と
レイアウト位置、出現する文字列が規定されているた
め、入力された法令文書は論理構造を現す識別子(以
下、タグという)を該当する文字列に付与した構造化文
書に変換してから記憶装置に格納し、法令文書の検索や
改正法令の生成に供される。
[Function] Since a legal document defines a logical structure such as a title, an article, and a paragraph, a layout position, and a character string that appears, the input legal document corresponds to an identifier (hereinafter, referred to as a tag) representing the logical structure. After being converted into a structured document given to a character string, it is stored in a storage device, and used for searching for a legal document and generating a revised law.

【0022】このような構造化文書を基にして検索手段
は、検索語が読み替えにより別の文字列に置き換えられ
ている場合、略称や読み替えの規定の記述ルールを摘要
してどの文字列に置き換えられたかを判定し、置き換え
語を検索語として再検索し検索結果に反映することによ
り、参照関係を漏れなく検索する。
Based on such a structured document, when the search term is replaced by another character string, the search means extracts the abbreviation or the description rule of the replacement and replaces it with any character string. It is determined whether or not the reference has been made, the replacement word is searched again as a search word, and the result is reflected in the search result, whereby the reference relation is completely searched.

【0023】検索手段により、利用者は、多様な検索を
迅速に行うことができ、改正すべき法令の特定や関連法
令の調査の時間、コスト、検索漏れや誤りを削減でき
る。
By the search means, the user can quickly perform various searches, and can reduce the time, cost, omission of search and errors in specifying laws and regulations to be revised and investigating related laws and regulations.

【0024】新法令を作成後、現行法令と新法令を比較
することにより、修正の入った部分を差分情報として、
新法令・現行法令それぞれの改正位置、変更か削除かの
改正種別などを抽出し、改正箇所と改正種別に対応した
改正規定を適用し、公布日、施行日、題名などを加えて
生成することにより、改正法令を自動的に生成できる。
After the new law is created, the current law and the new law are compared, and the corrected part is used as difference information.
Extract the revision position of each new or existing law and the revision type of change or deletion, apply the revision rules corresponding to the revision location and revision type, and add the date of promulgation, enforcement date, title, etc. Thereby, the revised law can be automatically generated.

【0025】[0025]

【実施例】以下、本発明の一実施例について図面を用い
て説明する。
An embodiment of the present invention will be described below with reference to the drawings.

【0026】図1は、本実施例のシステム構成を示す図
である。101は、キーボード、ディスプレイなどの端
末装置、102は、CPU、103は、スキャナ、文字
認識装置などの入力装置、104は、作業用の記憶装置
(ワークメモリ)、105は、プリンタ装置、106
は、法令文書、法令関連文書を管理する法令集テーブル
を蓄積した磁気ディスク装置、107は、法令文書間、
メモ、コメントなど関連情報を蓄積した磁気ディスク装
置、108は、法令辞書やルールを蓄積した磁気ディス
ク装置、109は、各種プログラムを格納したメモリで
ある。
FIG. 1 is a diagram showing the system configuration of this embodiment. 101 is a terminal device such as a keyboard and display; 102 is a CPU; 103 is an input device such as a scanner and a character recognition device; 104 is a work storage device (work memory); 105 is a printer device;
Is a magnetic disk device that stores a law collection table for managing law documents and law-related documents.
A magnetic disk device 108 stores related information such as memos and comments, a magnetic disk device 108 stores a law dictionary and rules, and a memory 109 stores various programs.

【0027】まず、法令文書を構造化して入力する手順
に従って、詳細を説明する。
First, details will be described in accordance with a procedure for structuring and inputting a legal document.

【0028】図2は、構造化入力手段の概念図である。
紙の法令文書201をイメージスキャナ202を介して
読み込み、イメージデータ206として記憶する。文字
認識プログラムを格納する文字認識装置203はイメー
ジデータ206を読み込んで文字認識しコード化したテ
キストデータ207に変換するとともに、ページの左
端、上端からの位置をページの左上端を原点とした距離
としてデータの開始位置を示すデータ位置情報208に
変換し、文書単位、ページ単位に格納する。文字認識装
置203には、認識率を高めるため、法令名や組織名、
施設名などの固有名詞、特にひらがなについて辞書21
1に登録し、テキストデータに関し単語抽出を行い単語
に分割したテキストデータにしておくことが有効であ
る。
FIG. 2 is a conceptual diagram of the structured input means.
A paper law document 201 is read via an image scanner 202 and stored as image data 206. The character recognition device 203 that stores the character recognition program reads the image data 206 and converts it into text data 207 that is character-recognized and coded, and the position from the left and top edges of the page is defined as a distance with the origin at the top left corner of the page The data is converted into data position information 208 indicating the start position of the data, and stored in document units and page units. The character recognition device 203 includes a law name, an organization name,
Dictionary 21 of proper nouns such as facility names, especially hiragana
1, it is effective to extract words from the text data and divide the text data into text data.

【0029】論理構造の抽出は、テキストデータ20
7、データ位置情報208とレイアウトパターン212
のパターンマッチングにより行う。
The extraction of the logical structure is based on the text data 20
7. Data position information 208 and layout pattern 212
Is performed by pattern matching.

【0030】構造認識プログラム204により論理構造
を抽出し、その論理構造を表す構造識別子(以下「タ
グ」という)を文字列に埋め込み、構造化法令文209
及び表・様式データ210を作成する。
A logical structure is extracted by the structure recognizing program 204, a structure identifier (hereinafter, referred to as a “tag”) representing the logical structure is embedded in a character string, and the structured
And the table / style data 210 is created.

【0031】図3は、紙の法令文書と論理構造の対応を
示す図である。法令文書は、論理構造と物理構造とが厳
密に規定されており、物理的なレイアウト構造のパター
ン301と論理構造302との対応をレイアウトパター
ン303として作成しておく。ここで<公布文>、</
公布文>などがタグである。
FIG. 3 is a diagram showing correspondence between a paper legal document and a logical structure. In the legal document, a logical structure and a physical structure are strictly defined, and a correspondence between a pattern 301 of a physical layout structure and a logical structure 302 is created as a layout pattern 303. Here <promulgation text>, </
The promulgation sentence> is a tag.

【0032】条の場合を例にとって説明する。レイアウ
トパターン309として、次のデータを用意する。
The case of the article will be described as an example. The following data is prepared as the layout pattern 309.

【0033】 ″第″−{条番号}−″条″−″ ″−{条文} ″第″−{条番号}−″条″−{枝番}−″ ″−{条文} このデータは、単語の並び方を「−」で区切って示して
いる。「{}」は単語のカテゴリを表す。「″″」は、単
語の字面を表す。このパターンにマッチし、開始文字位
置が左マージンから1字目にあるテキストを条の開始と
認識することが可能である。
"-"-{Article number}-"article"-""-{article} "-"-"article number"-"article"-{branch number}-""-{article} The arrangement of words is shown by separating them with "-". “{}” Indicates a category of a word. “″” Indicates the character face of a word. A text that matches this pattern and has a starting character position at the first character from the left margin can be recognized as the start of a line.

【0034】図4は、論理構造化の処理の流れを示すフ
ローチャートである。文書単位、ページ単位にイメージ
データ206とテキストデータ207をワークメモリ1
04に順に呼び出す(401,402)。法令文書は、
公布文304、公布日305、公布者名306、法令番
号307、法令名308、本則の順に現れるので、順に
パターンマッチングし、対応するタグを埋め込む(40
3)。条の開始を認識すると(405)、先頭に条を表
すタグ「<条>」を生成する(406)。次の条の開始4
07までを一つの条として認識し、直前に条の終了を表
すタグ「</条>」と条の開始を表すタグ「<条>」を生成
し(408)、繰り返す。
FIG. 4 is a flowchart showing the flow of the logical structuring process. Work memory 1 stores image data 206 and text data 207 in document units and page units.
04 in sequence (401, 402). Legal documents are:
Since the promulgation statement 304, the promulgation date 305, the promulgator name 306, the law number 307, the law name 308, and the main rule appear in this order, pattern matching is performed in order, and the corresponding tag is embedded (40).
3). When the start of the article is recognized (405), a tag "<article>" representing the article is generated at the head (406). Start of the next article 4
07 is recognized as one item, and a tag “</ article>” indicating the end of the item and a tag “<article>” indicating the start of the item are generated immediately before (408) and repeated.

【0035】条の中に罫線がある場合には、表と認識し
(410)、罫線で囲まれた範囲のイメージを表として
切り出すと共にテキストも抽出し、文書の部品ファイル
およびそのテキストファイルとして格納する(41
1)。構造化法令ファイル中の表の該当位置には、部品
を表すタグとどの部品かを示すポインタ情報を生成する
(412)。文字、罫線として認識できない部分も図形
として同様に切り出す。
If there is a ruled line in the strip, it is recognized as a table (410), and the image in the area surrounded by the ruled line is cut out as a table and text is extracted and stored as a document part file and its text file. (41
1). At the corresponding position in the table in the structured law file, a tag representing a part and pointer information indicating which part is generated are generated (412). Parts that cannot be recognized as characters and ruled lines are also cut out as figures.

【0036】別表、様式の開始413であれば、条の終
了を表すタグ「</条>」を生成し、繰り返し処理を終了
する(409)。別表、様式は、条文の最後に次のパタ
ーンとマッチするので、次のパターンの開始の直前また
は、文書の終了までを一つの様式として同様に切り出す
とともにテキストの抽出を行い、文書の部品ファイルと
して格納する(414)。
If the start of the style is 413 in the separate table, a tag "</ article>" indicating the end of the style is generated, and the repetitive processing is ended (409). Attachments and styles match the next pattern at the end of the article, so cut out the text just before the start of the next pattern or until the end of the document as one style and extract the text in the same way, as a part file of the document It is stored (414).

【0037】 ″第″−{数字}−″号″−″様式″−″ ″ ″別表″−″第″−{数字} ファイルが終了したら(404)、構造化法令文を格納
する(415)。
When the "first"-{number}-"number"-"form"-"""separatetable"-"first"-{number} file is completed (404), the structured legal sentence is stored (415). .

【0038】以上が論理構造の自動抽出の手順である。The above is the procedure for automatically extracting the logical structure.

【0039】次に、図2に示すレイアウトプログラム2
13により、図5に示すように、構造化された構造化法
令文501をレイアウトパターン303に照らし合わ
せ、タグに対応した字下げや書体の変更、図や表のはめ
込みを行い、法令文書のレイアウト規定に対応したレイ
アウトファイル215と、タグ名とそのタグの開始位置
と終了の位置を文書の先頭からのバイト数として対応さ
せた構造情報214を作成する。
Next, the layout program 2 shown in FIG.
13, as shown in FIG. 5, the structured structured sentence 501 is compared with the layout pattern 303, the indentation and the font type corresponding to the tag are changed, the figures and tables are inserted, and the layout of the legal document is performed. A layout file 215 corresponding to the rules and structure information 214 in which the tag name and the start position and end position of the tag are associated with the number of bytes from the head of the document are created.

【0040】次に図2に示す文書登録プログラム205
により、図6に示すように、構造化法令文501をサー
チし、公布日602、法令番号603、法令名604に
関するタグに囲まれた文字列を抽出し、文書情報として
法令集テーブル605に自動登録する。
Next, the document registration program 205 shown in FIG.
As shown in FIG. 6, the structured law sentence 501 is searched to extract a character string surrounded by tags related to the date of promulgation 602, law number 603, and law name 604, and is automatically stored in the law collection table 605 as document information. register.

【0041】文書情報が不足する場合や、読み取りがう
まく行かない、構造化できない例外的な法令文書は、従
来のエディタなどを使用して、データを入力する。
In the case where the document information is insufficient, the reading is not performed well, and an exceptional legal document that cannot be structured is input using a conventional editor or the like.

【0042】以上が、紙の法令文書を論理構造化された
電子データに自動的に変換する手順である。
The above is the procedure for automatically converting a paper legal document into logically structured electronic data.

【0043】図7は、上記入力手段により入力された法
令文書のテーブル構成の概念図である。各法令文書の文
書情報を法令集テーブル605のレコードとして管理
し、法令文書を法令テーブル709のレコードとして管
理する。法令テーブル709のレコードは、構造化法令
文710、レイアウトファイル711、構造情報71
2、図・様式などの部品713の実体ファイル714を
指すポインタを管理する。法令集テーブル605のレコ
ードには、法令文書の状態を示す領域702を確保す
る。
FIG. 7 is a conceptual diagram of a table structure of the law document input by the input means. The document information of each law document is managed as a record of the law collection table 605, and the law document is managed as a record of the law table 709. The records of the law table 709 include a structured law statement 710, a layout file 711, and structure information 71.
2. It manages a pointer that points to an entity file 714 of a part 713 such as a figure or a style. In the record of the law collection table 605, an area 702 indicating the state of the law document is secured.

【0044】図8は法令文の状態遷移を示す図である。
法令文書に対する利用者の操作801に応じ、現在の状
態の値802が遷移する値803を表す。通常の状態で
改正登録の操作を行うと、改正中の状態に遷移し(80
4)、また、施行日になると自動的に通常状態に戻る
(805)など、操作に応じて自動的に状態を遷移させ
ることにより、利用者は、参照している例規がどんな状
態かを即座に判断することができる。
FIG. 8 is a diagram showing a state transition of a legal sentence.
The value 802 of the current state represents a value 803 to which the current state value 802 changes according to the user's operation 801 on the law document. If the operation of the revision registration is performed in the normal state, the state transits to the state of being revised (80).
4) In addition, by automatically changing the state according to the operation, such as automatically returning to the normal state on the enforcement date (805), the user can immediately determine what state the reference rule is in. Can be determined.

【0045】法令文書と他の法令文書とが関連する場
合、法令文と法令文の関連をリンクとしてリンクテーブ
ルで管理する。図9は、リンクテーブルの構造を示す概
念図である。リンクテーブル901には、関連情報とし
てすべてのリンクを一意に識別するためのリンク識別子
902、関連のある一方の法令文書の格納位置を示す文
書1ポインタと関連する部分の文字列が文書の先頭から
何文字目から何文字目かを表す文書1内位置及びリンク
種類を含む文書1の情報903、他方の法令文書の格納
位置を示す文書2の情報904を管理する。リンク識別
子902は、リンクを表すリンクタグ906の間に埋め
込む。リンク種類は、引用関連、メモ、コメントなど、
関連の種類を記憶する領域である。
When a law document is related to another law document, the link between the law text and the law text is managed as a link in a link table. FIG. 9 is a conceptual diagram showing the structure of the link table. The link table 901 includes, as related information, a link identifier 902 for uniquely identifying all links, and a character string related to a document 1 pointer indicating a storage location of one related legal document from the beginning of the document. It manages information 903 of the document 1 including the position in the document 1 and the link type indicating the number of the character and the number of the character, and information 904 of the document 2 indicating the storage position of the other legal document. The link identifier 902 is embedded between link tags 906 representing links. Link types include citations, notes, comments,
This area stores the type of association.

【0046】文書を表示するときには、文書内のリンク
タグ905をサーチし、概リンクタグ内のリンク識別子
902を取得する。
When displaying a document, a link tag 905 in the document is searched to obtain a link identifier 902 in the general link tag.

【0047】リンクテーブルからリンク識別子902を
キーに該当するリンク種類を判定し、それに応じた強調
属性でリンクタグ906で囲まれるリンク識別子902
を表示する。強調表示された部分を指示されると、リン
ク文書2の文書情報904を取得し、関連部分を表示す
ることにより、即座に関連文書を参照することができ
る。 次に、ある法令と他の法令とを自動的に関連づけ
る手順について説明する。
The type of link corresponding to the link identifier 902 as a key is determined from the link table, and the link identifier 902 surrounded by the link tag 906 with an emphasis attribute corresponding thereto.
Is displayed. When the highlighted portion is designated, the document information 904 of the linked document 2 is obtained, and the related portion is displayed, so that the related document can be referred to immediately. Next, a procedure for automatically associating a certain law with another law will be described.

【0048】ある法令が他の法令を引用するには、その
最初の引用で法令名とその法令番号を必ず明記する。た
とえば、自然環境保全条例を引用する時には、 「自然環境保全条例(昭和47年神奈川県条例第52
号)」 と直接引用表現として引用する。条文中で同じ法令を再
び引用する場合には、「同条例」などの再引用表現や、
「以下、「条例」という。」などの略称表現により他の
言葉に置き換え、「自然環境保全条例第3条」を「条例
第3条」と引用する。
When a certain law refers to another law, the name of the law and its law number must be specified in the first citation. For example, when citing the Natural Environment Conservation Ordinance, the “Nature Environment Conservation Ordinance (Kanagawa Prefectural Ordinance No. 52 of 1972)
No.) ”as a direct quotation. If the same statute is cited again in an article,
"Hereafter, it is referred to as" the ordinance. ""And other words by using abbreviated expressions such as"",and" Nature Environment Ordinance Article 3 "is referred to as" Ordinance Article 3 ".

【0049】図10は、これらを解析し、自動的に関連
づける処理の手順を示すフローチャートである。まず、
対象とする構造化法令文をワークメモリ104に読み込
み、文書中の法令名をサーチし、直接引用表現として法
令名と、出現位置を直接引用テーブルに登録する(10
01)。見つかった直接引用表現に対し、略称されてい
ないかを以下の方法で調べる(1002)。略称のパタ
ーンとして、以下のデータをあらかじめ用意しておく。
FIG. 10 is a flowchart showing the procedure of processing for analyzing these and automatically associating them. First,
The target structured law sentence is read into the work memory 104, the name of the law in the document is searched, and the name of the law and the appearance position are directly registered in the citation table as a direct citation expression (10
01). The found direct citation expression is checked for abbreviation by the following method (1002). The following data is prepared in advance as an abbreviation pattern.

【0050】{法令名}−″(″−{法令番号}−″。″
−″以下″−″、″−″「″−@A−″」″− ″と″−″いう″−″。″−″)″ 記号は、前記構造抽出のパターンと同じである。@A
は、略称となる部分が当てはまる変数である。「自然環
境保全条例(昭和47年神奈川県条例第52号。以下、
「条例」という。)」を例に取ると、直接引用表現と上
記パターンのマッチングを行うことにより、 ″自然環境保全条例″−″(″−昭和47年神奈川県条
例第52号−″。″−″以下″−″、″−″ 「″
−″条例″−″」″−″と″−″いう″−″。″
−″)″ となり、この結果、「自然環境保全条例」の略称は、変
数@Aの部分にマッチした「条例」であることを認識す
る。以降、法令名以外に「条例」という単語をサーチ
し、その出現位置と対応する直接引用表現の識別子を略
称テーブルに登録する。図11は、直接引用テーブル、
図12は、略称テーブルの構造を示した図である。次
に、引用の表現を解析する(1003)。引用表現パタ
ーンとして以下のデータを用意する。
{Law name}-"("-{law number}-"."
"-" And "-", "-"""-@A-"""-" and "-". The symbol "-") is the same as the pattern of the structure extraction.
Is a variable to which the abbreviation part applies. "Natural Environment Conservation Ordinance (Kanagawa Prefecture Ordinance No. 52 of 1972.
"Ordinance". )) As an example, by directly matching the citation expression with the above pattern, the "natural environment preservation ordinance"-"("-Kanagawa Prefectural Ordinance No. 52-"."-"Below"- ″, ″ − ″ “″
-"Ordinance"-"""-" and "-""-". ″
-")". As a result, it is recognized that the abbreviation of the "natural environment preservation ordinance" is the "ordinance" that matches the part of the variable $ A. Thereafter, the word "regulation" is searched for in addition to the law name, and the identifier of the directly quoted expression corresponding to the occurrence position is registered in the abbreviation table. FIG. 11 shows a direct citation table,
FIG. 12 is a diagram showing the structure of the abbreviation table. Next, the expression of the citation is analyzed (1003). The following data is prepared as a citation expression pattern.

【0051】″第″−{数字}−″条″ ;タイプ1 ″第″−{数字}−″項″ ;タイプ1 ″前″−″条″ ;タイプ2 ″次″−″条″ ;タイプ3 ″同″−″条″ ;タイプ4 ″同″−″条例″ ;タイプ4 ″同″−″規則″ ;タイプ4 「;」から右はパターン毎の引用先のサーチ方法のタイ
プを示す。このパターンと法令テキストファイルのマッ
チングにより、「第5条第2項」、「第3項」、「前
条」、「同条例第3条」を引用表現と認識したとする。
このときの引用テーブルの内容を、図13に示す。これ
らの引用表現が、直接あるいは、接続詞を介して連続す
る部分について解析する。この解析の詳細は、「梶、山
野著、”日英/英日機械翻訳システムHICATS”b
it別冊 機械翻訳、野村、田中編、共立出版、pp.
191−197,1988年9月」に示された公知技術
を使用する。「第5条第2項及び第3項」の「第3項」
は、「第5条の第3項」であることが分かり、「同条例
第3条」は、「同条例の第3条」ということが分かる。
"1st"-{number}-"section"; type 1 "1st"-{number}-"section"; type 1 "previous"-"section"; type 2 "next"-"section"; type 3 "same"-"rule"; type 4 "same"-"rule"; type 4 "same"-"rule"; type 4 The right of ";" indicates the type of search method of the citation destination for each pattern. By matching the pattern with the law text file, it is assumed that “Article 5, Paragraph 2”, “Paragraph 3”, “Previous Article”, and “Article 3, Article 3” are recognized as quoted expressions.
FIG. 13 shows the contents of the citation table at this time. These quoted expressions are analyzed directly or through a conjunctive part. For details of this analysis, see "Kaji and Yamano," Japanese-English / English-Japanese Machine Translation System HICATS "b
it separate volume Machine translation, Nomura, Tanaka edition, Kyoritsu Publishing, pp.
191-197, September 1988 ". "Section 3" of "Article 5 Paragraphs 2 and 3"
Is found to be "Article 5, Paragraph 3", and "Article 3, Article 3" is understood to be "Article 3, Article 3".

【0052】次に、パターンの引用先サーチのタイプに
したがって次のように引用先を取得する(1004〜1
008)。
Next, the citation destination is acquired as follows according to the type of citation destination search of the pattern (1004-1 to 1004).
008).

【0053】タイプ1 引用表現中の番号によるサー
チ タイプ2 直前の条をサーチ タイプ3 直後の条をサーチ タイプ4 直前引用表現をサーチし、その引用表現の
引用先をサーチ サーチの結果、引用先の位置が明確になり、引用テーブ
ルは図14に示す内容となる。文書のポインタとその位
置と引用先の文書のポインタとその位置をリンクテーブ
ルに登録し(1009)、そのリンク識別子をリンクタ
グで囲んで各テキスト中に埋め込む(1010)。以上
が、法令文書の自動関連づけの手順である。 図15
は、検索手段の構成の概念図である。端末装置より、検
索条件を入力する(1501)と、同義語展開プログラ
ム1502が辞書(図示せず)を検索し、検索文字列の
同義語を展開して全文検索プログラム1503が法令集
中の構造化法令文1508を検索し、検索文字列を含む
法令文書の識別子を検索結果テーブル1507に登録す
る。読み替え検索プログラム1504は、検索文字列が
別の文字に置き換えられているか否かを解析し、置き換
えられている場合、該置き換え語を検索文字列として再
検索1505する。構造指定検索が指定されている場合
は、構造指定検索プログラム1506が起動され、検索
結果テーブル1507を更新する。検索結果は、結果表
示プログラム1509により、表示する。
Type 1 Search by the number in the quoted expression Type 2 Search for the immediately preceding clause Type 3 Search for the immediately following clause Type 4 Search for the immediately preceding quoted expression, search for the quoted destination of the quoted expression As a result of the search, The position becomes clear, and the citation table has the contents shown in FIG. The pointer and the position of the document and the pointer and the position of the cited document are registered in the link table (1009), and the link identifier is surrounded by link tags and embedded in each text (1010). The above is the procedure for automatically associating legal documents. FIG.
FIG. 3 is a conceptual diagram of a configuration of a search unit. When a search condition is input from a terminal device (1501), a synonym expansion program 1502 searches a dictionary (not shown), expands a synonym of a search character string, and a full-text search program 1503 constructs a concentration of laws and regulations. The law text 1508 is searched, and the identifier of the law document including the search character string is registered in the search result table 1507. The replacement search program 1504 analyzes whether or not the search character string has been replaced with another character, and if it has been replaced, performs the search 1505 again using the replacement word as a search character string. If the structure designation search is designated, the structure designation search program 1506 is started and the search result table 1507 is updated. The search results are displayed by the result display program 1509.

【0054】次に、図16のフローチャートに従い、検
索の処理手順の詳細について説明する。まず、与えられ
た検索条件を入力し、検索結果テーブル1507に登録
する(1601)。文書情報による検索は、その属性名
と属性値を与えられることにより、法令集テーブルから
順に該属性の属性値を呼出し、検索属性値と比較し、真
となったレコードの法令集ポインタを検索結果テーブル
1507に登録する(1602)。
Next, the details of the search procedure will be described with reference to the flowchart of FIG. First, a given search condition is input and registered in the search result table 1507 (1601). In the search by document information, given the attribute name and attribute value, the attribute value of the attribute is sequentially called from the law collection table, compared with the search attribute value, and the law collection pointer of the true record is retrieved. The information is registered in the table 1507 (1602).

【0055】全文検索で同義語や意表記語の展開の指示
がされている場合は、辞書をサーチし、同義語や意表記
語も検索文字列に加え検索対象とする(1603)。
If an instruction to expand a synonym or a mnemonic word is given in the full-text search, the dictionary is searched, and the synonym or the mnemonic word is also searched for in addition to the search character string (1603).

【0056】全文検索は、構造化法令文をサーチし、与
えられた検索文字列とマッチングした文書の法令集ポイ
ンタおよびマッチした文字列とその位置を検索結果テー
ブル1507に登録する(1604)。
In the full-text search, a structured law sentence is searched, and a law collection pointer of a document that matches a given search character string, and a matched character string and its position are registered in a search result table 1507 (1604).

【0057】文書情報検索との検索結果の論理積を取る
指示がなされた場合は、文書情報の検索結果として検索
結果テーブルに登録された法令集ポインタの構造化法令
文を対象にサーチする。
When an instruction to take the logical product of the search result with the document information search is issued, the search is performed on the structured law sentence of the law collection pointer registered in the search result table as the search result of the document information.

【0058】読み替え語の展開の指示がされている場合
は、マッチした文字列が他の語に読み替えられている語
か、他の語を読み替えている語かを解析し(160
5)、その他の語も検索文字列とする。読み替えの解析
は、次の手順で行う。読み替えは、略称表現と同様なパ
ターンで行われる。読み替えのパターンとしてあらかじ
め次のデータを複数個記憶装置に登録しておく。
If the instruction to expand the replacement word is given, it is analyzed whether the matched character string is a word replaced with another word or a word replacing another word (160).
5) Other words are also used as search character strings. Analysis of the replacement is performed in the following procedure. The replacement is performed in the same pattern as the abbreviation expression. A plurality of pieces of the following data are registered in advance in the storage device as a replacement pattern.

【0059】@A−″(″−″以下″−″、″−″「″
−@B−″」″−″と″−″いう″−″。″−″)″ まず検索語と読み替えパターン中の@Aの値(文字列)
とのパターンマッチングを行う。一致する文字列がある
とその検索語は、変数@Bの部分にマッチした文字列に
読み替えられいると認識し(1605)、変数@Bの値
(文字列)を検索語として登録し、再検索する(160
6)。次に、検索語と読み替えパターン中の@Bの値
(文字列)とのパターンマッチングを行う。一致する文
字列があるとその検索語は、変数@Aの部分にマッチし
た文字列を読み替えていると認識し(1605)、変数
@Aの文字列を検索語として登録し、再検索する(16
06)。なお読み替えのパターンとして、上記のような
文章形式でなく@Aの文字列と対応する@Bの文字列と
を対照して複数個列挙するテーブル形式でもよい。
@ A- "("-"and following"-","-"""
-{B-"""-" and "-"-"-". "-") "First, the value of @A in the search word and the replacement pattern (character string)
And pattern matching. If there is a matching character string, it is recognized that the search word has been replaced with a character string that matches the variable $ B (1605), and the value (character string) of the variable $ B is registered as a search word and re-registered. Search (160
6). Next, pattern matching is performed between the search word and the value of 列 B (character string) in the replacement pattern. If there is a matching character string, the search term is recognized as replacing the character string that matches the part of the variable $ A (1605), and the character string of the variable $ A is registered as a search term and searched again ( 16
06). It should be noted that the read-out pattern may be a table format in which a plurality of strings are listed in comparison with the character string of @A and the corresponding character string of @B instead of the sentence form as described above.

【0060】検索対象の構造の範囲として検索対象タグ
を指定された場合、上記マッチした文字位置に対応する
タグ名を構造情報ファイルから取得し、該検索対象タグ
と一致しない場合は、検索結果テーブル1507から法
令集ポインタを削除する(1607)。
When a search target tag is specified as the range of the search target structure, the tag name corresponding to the matched character position is obtained from the structure information file. If the tag name does not match the search target tag, the search result table is displayed. The law collection pointer is deleted from 1507 (1607).

【0061】以上の検索により、検索結果テーブル15
07に登録された法令集ポインタの指すレコードの文書
情報を呼出し、検索結果として表示する(1608)。
検索結果からある法令文書を指示されると、その法令集
ポインタの示す法令テーブル709のポインタの示すレ
イアウトファイル711を読み込み、検索結果テーブル
のマッチした文字の文字位置から、文字列長の領域を強
調属性として表示する。文書情報中の状態702が、通
常ではなく、改正中などの場合は、警告を示す。
With the above search, the search result table 15
The document information of the record pointed to by the law collection pointer registered in 07 is called and displayed as a search result (1608).
When a certain law document is specified from the search result, the layout file 711 indicated by the pointer in the law table 709 indicated by the law collection pointer is read, and the character string length area is emphasized from the character position of the matched character in the search result table. Display as attributes. If the status 702 in the document information is not normal but is being revised, a warning is indicated.

【0062】また、前記関連づけにより、リンクタグ9
05がある場合には、リンク識別子902をもとに関連
文書をこの検索方法によらず表示することができる。以
上が、法令文書の検索の説明である。
Further, the link tag 9
In the case where the document ID 05 is present, the related document can be displayed based on the link identifier 902 regardless of this search method. The above is the description of the search for the legal document.

【0063】次に、図17を用い、改正作業の処理手順
について説明する。
Next, the processing procedure of the revision work will be described with reference to FIG.

【0064】検索により改正対象法令を確定し改正登録
の指示を行うと、法令集テーブル1701の状態170
2を「改正中」に変更し、改正法令テーブル1704の
レコードを登録し、改正案テーブル1707を生成す
る。改正案テーブルの旧法令ポインタ1709には、現
行法令ポインタ1703を複写し、法令テーブル中の現
行法令のエントリ1711を指すようにする。このと
き、あらかじめ改正方式に対応し法令名に追加する文字
列として次のデータを用意し、一部改正か全部改正か廃
止かの改正方式を選択させる。
When a law to be amended is determined by a search and an instruction for amendment registration is issued, the state 170 of the law table 1701 is displayed.
2 is changed to “under revision”, the record of the revision law table 1704 is registered, and the revision plan table 1707 is generated. The current law pointer 1703 is copied to the old law pointer 1709 of the revision plan table so that the current law pointer 1703 points to the entry 1711 of the current law in the law table. At this time, the following data is prepared as a character string to be added to the name of the law corresponding to the amendment method in advance, and the amendment method of partial amendment, full amendment, or abolition is selected.

【0065】一部改正 「の一部を改正する@A」 廃止 「を廃止する@A」 全部改正 「」 「」で囲まれた文字列が法令名に追加する文字列であ
り、変数@Aは法令種別を表し、条例であれば「条
例」、規則であれば「規則」を表す。
Partial Revision “Partial Revision of $ A” Abolished “Repealed ΔA” Full Revision “” The character string enclosed by “” is a character string added to the law name, and the variable Indicates the type of law, and indicates an ordinance if it is an ordinance, and a rule if it is a rule.

【0066】これにより「自然環境保全条例」を一部改
正する場合には、「自然環境保全条例の一部を改正する
条例」と法令名を生成し、改正法令テーブル1704の
レコードの文書情報に登録する(1705)。
When the “natural environment preservation ordinance” is partially amended in this way, a “law ordinance for partially revising the natural environment preservation ordinance” and a law name are generated, and the document information of the record in the revised law table 1704 is added to the document information. Register (1705).

【0067】改正法令テーブルは1704、一般の検索
者および、他の改正担当者に対して参照不可の属性に設
定し、テーブル内のエントリは改正担当者自身のみ書き
込み可能、法令審査担当者は、参照可能の属性に設定す
る。また、文書情報として公布予定日、施行予定日を入
力する(1706)。
The revised law table is set to 1704, an attribute that cannot be referred to by a general searcher and another person in charge of revision, entries in the table can be written only by the person in charge of revision, and the person in charge of law review is: Set to a referenceable attribute. In addition, the planned promulgation date and enforcement date are input as document information (1706).

【0068】改正法令テーブル1704から、改正する
法令を指示されると、現行法令ポインタの示す法令テー
ブルの複製1713を生成する。改正案テーブル170
7の新法令ポインタ1708には、この複製のポインタ
を登録する。このとき、構造化法令文と図・表などのポ
インタは、現行法令と同じ実体1712を指している。
図18は、新旧法令の差分を抽出し新旧対照表を作成
する概要図である。現行法令1801に改正の指示を与
えると、現行法令を複写した改正法令レコードを登録す
る(1802)。構造化文書編集プログラムにより、新
法令文1808を作成する。作成した法令文に対し、推
敲プログラム1809により、辞書、ルール1812と
照らし合わせ検査する。差分抽出プログラム1804に
より新法令1808と、現行法令1801の差分を差分
テーブル1810として作成し、これを改正箇所の解析
プログラム1805により詳細な差分情報として抽出
し、新旧対照表作成プログラム1806により自動的に
新旧対照表1811を生成する。
When a law to be revised is specified from the revised law table 1704, a copy 1713 of the law table indicated by the current law pointer is generated. Amendment proposal table 170
The pointer of the copy is registered in the new law pointer 1708. At this time, the pointers of the structured laws and sentences and figures and tables point to the same entity 1712 as the current laws and regulations.
FIG. 18 is a schematic diagram for extracting a difference between new and old laws and creating a new and old comparison table. When a revision instruction is given to the current law 1801, a revised law record in which the current law is copied is registered (1802). A new text 1808 is created by the structured document editing program. The elaboration program 1809 checks the created legal text against a dictionary and rules 1812. The difference between the new law 1808 and the current law 1801 is created as a difference table 1810 by the difference extraction program 1804, and this is extracted as detailed difference information by the analysis program 1805 of the revised part. A new / old comparison table 1811 is generated.

【0069】構造化法令文をエディタなどで編集(18
03)し、改正後の新法令の文書1809を作成する。
このとき、改正担当者は、文章の物理的なレイアウト規
定を意識せず、論理構造を意識するだけでよい。構造化
法令文、図・表などを変更したときは、別の実体ファイ
ル1715として格納し、該当する法令テーブルのポイ
ンタ情報1717を新しい実体ファイル1715を示す
値に変更する。これらの編集作業は、エディタ上で新法
令と改正対象の現行法令を左右対比表示させて行うこと
が有効である。
Edit the structured legal sentence with an editor (18)
03), and prepares a document 1809 of the revised law.
At this time, the person in charge of revision only needs to be aware of the logical structure without being aware of the physical layout rules of the text. When the structured law sentence, figure / table, or the like is changed, it is stored as another entity file 1715, and the pointer information 1717 of the applicable law table is changed to a value indicating the new entity file 1715. It is effective to perform these editing operations by displaying the new laws and regulations and the current laws to be revised on the editor side-by-side.

【0070】次に、推敲の手順を説明する。新法令文書
を、不適当用語や法令用語、ルール1807に照らし合
わせ、不適当であれば警告と対処方法を表示し、法令文
書として適切かどうか推敲を行う。「改訂」という文字
があれば、「統一するため、「改定」に変更します。」 「調製」という文字があれば、「「調整」とまぎれやす
いので、「作成」に変更します。」 といった、情報を利用者に示し、利用者の指示により、
文字の置き換えを行う。
Next, the elaboration procedure will be described. The new legal document is checked against inappropriate terms, legal terms, and rules 1807. If inappropriate, a warning and a countermeasure are displayed, and elaboration is performed as to whether the document is appropriate as a legal document. If there is a word "Revision", change it to "Revision" to unify. If there is a word "Preparation", it is easy to skip "Adjustment", so change it to "Create". ”To the user, and at the direction of the user,
Perform character replacement.

【0071】また、前記、関連付けの自動化の手順(1
001〜1008)により、新法令文書で参照している
参照先を抽出し、参照先の他法令文書の文書情報110
6を取得し、状態が改正中であれば、利用者に警告を促
す。また、リンクテーブル901のエントリの参照先9
04と、今回抽出したリンクの参照先が不一致であれ
ば、そのリンク情報および、参照先の文書情報を表示
し、修正する旨の表示を行う。以上が、推敲の手順であ
る。
Further, the procedure (1) for automating the association
001 to 1008), the reference destination referred to in the new law document is extracted, and the document information 110 of the other law document referred to is extracted.
6 is acquired, and if the state is being revised, the user is warned. The reference destination 9 of the entry of the link table 901
If the 04 and the reference destination of the link extracted this time do not match, the link information and the document information of the reference destination are displayed, and a message to the effect that correction is made is displayed. The above is the elaboration procedure.

【0072】次に、改正の自動化の前処理として新法令
と現行法令の差分を抽出し、対照して表示する手順につ
いて説明する。新法令ポインタ1708の指す法令レコ
ードの構造化法令文と旧法令ポインタ1709の指す法
令レコードの構造化法令文とを読み込む。各構造化法令
文に対し、単語への分割を行う。単語分割の詳細は、前
記の文献の公知技術を使用する。単語分割された文書の
差分の取得は、「角田、”ファイル間の相違検査法”、
情報処理、Vol.24、No.4、pp.514−5
20,1983」に示されたLCS法およびHecke
l法など公知の技術により行い、差分テーブル1810
を作成する。
Next, a procedure for extracting a difference between a new law and a current law and displaying the difference as a pre-process for automating the revision will be described. The structured law sentence of the law record pointed to by the new law pointer 1708 and the structured law sentence of the law record pointed to by the old law pointer 1709 are read. Divide each structured statute into words. For the details of the word segmentation, a known technique of the above-mentioned document is used. Acquisition of differences between word-segmented documents can be performed using "Kakuta," Difference checking method between files ",
Information Processing, Vol. 24, no. 4, pp. 514-5
20, 1983 "and the Hecke method.
The difference table 1810 is obtained by a known technique such as the l method.
Create

【0073】図19に、差分テーブルの構成を示す。差
分情報は、変更箇所開始位置の文書の先頭からの文字数
1905、文字列長1906および、追加、変更、削除
といった変更種別1903からなり、差分テーブルのエ
ントリ順に変更箇所を変更種別に応じた強調属性で表示
装置上に表示する。
FIG. 19 shows the structure of the difference table. The difference information includes the number of characters 1905 from the beginning of the document at the start position of the change portion, a character string length 1906, and a change type 1903 such as addition, change, or deletion. To display on the display device.

【0074】ここで表示結果が、改正者が意図したとお
りでない場合、強調表示の範囲や強調属性の種類を変更
し、その変更情報に従い、差分テーブルのエントリを図
20のように変更する。
If the display result is not as intended by the amendment person, the range of the highlighting and the type of the highlighting attribute are changed, and the entry in the difference table is changed as shown in FIG. 20 according to the change information.

【0075】例えば、「行うものをいう」を「行うこと
をいう」に改正する場合、前記の差分抽出法で、「も
の」と「こと」が反転表示で表示されたとする。この反
転表示を「行うもの」と「行うこと」にそれぞれ変更す
ることにより、差分テーブルのエントリの変更箇所の開
始位置の文字数を半角文字換算でそれぞれ−4(200
4、2006)、文字列長をそれぞれ+4(2005、
2007)する。
For example, when "meaning to do" is changed to "meaning to do", it is assumed that "things" and "things" are displayed in reverse video by the difference extraction method. By changing the reverse display to “to be performed” and “to be performed”, the number of characters at the start position of the changed portion of the entry of the difference table is converted to half-width characters by -4 (200
4, 2006), and the character string length is +4 (2005,
2007).

【0076】図や表は、部品を表すタグの有無、ポイン
タ情報を比較し、異なる場合は、改正が行われた部分と
して差分テーブルに登録する。改正箇所と差分種別を、
正しく変更したら新旧対照表を生成する。
In the figures and tables, the presence / absence of a tag representing a part and pointer information are compared, and if they are different, they are registered in the difference table as a revised part. Revision location and difference type
Generate a new and old comparison table when it is correctly changed.

【0077】新旧対照表の生成指示を受けると、新旧対
照表ファイルを生成し、差分テーブル1901から、順
にエントリを呼出し、変更箇所の開始位置以前のタグと
以降の終了タグをサーチし、差分テーブルにタグ名20
02を改正タグ名として登録する。このタグが条内に含
まれる項や号、表のタグの場合は、前後をサーチし、条
の開始タグと終了タグの間の範囲を差分として新旧対照
表ファイルに書き出し、変更箇所を強調属性とする。ま
た、変更箇所の属する条項号の番号を登録する。上記以
外の条や題名や目次のタグであれば、タグ名を変更箇所
として登録し(2003)、開始タグの直後に番号があ
る場合には番号を登録し、変更箇所を強調属性としてそ
のタグの範囲を新旧対照表ファイルに書き出す。
When an instruction to generate a new / old comparison table is received, a new / old comparison table file is generated, entries are sequentially called from the difference table 1901, and a tag before the start position of the changed part and a subsequent end tag are searched for. Tag name 20
02 is registered as a revised tag name. If this tag is a section, issue, or table tag included in a section, search before and after, write the range between the start and end tags of the section as a difference to the old and new comparison file, and highlight the changed part And Also, the number of the clause to which the changed part belongs is registered. If the tag is an article, title, or table of contents other than the above, the tag name is registered as a changed part (2003). If there is a number immediately after the start tag, the number is registered. Is written to the old and new comparison table file.

【0078】新旧対照表ファイルのポインタ情報を改正
案テーブル1707のエントリに登録する。以上が、差
分抽出の手順である。
The pointer information of the new / old comparison table file is registered in the entry of the revision plan table 1707. The above is the procedure of difference extraction.

【0079】図21は、改正法令生成の概念を示す図で
ある。改正法令生成プログラム2101は、現行法令文
書2102、新法令文書2103、及びそれらの差分テ
ーブル2104を読み込み、改正ルール2105に照ら
し合わせ、現行法令を新法令に改めるための改正法令文
書2106を生成する。
FIG. 21 is a diagram showing the concept of generating a revised law. The revised statute generation program 2101 reads the current statute document 2102, the new statute document 2103, and their difference table 2104, compares them with the revision rule 2105, and generates a revised statute document 2106 for changing the current statute into a new legislation.

【0080】次に改正法令の生成の手順を図22を用い
て説明する。改正箇所のタグ名と変更種別と変更箇所の
連続性に応じた改正文をあらかじめ、改正ルールテーブ
ルを用意しておく。処理はまず差分テーブル2104を
読み込む(2201)。次に当該レコードの改正タグ2
002と変更種別1903から対応する改正規定を生成
する(2202)。次のレコードを読み込み、変更箇所
2203が同じかつ、変更種別1903が同じ(220
4)であれば、同改正として、改正タグと変更種別に対
応する改正規定を生成する(2205)。変更種別が異
なれば、異改正として改正タグ2202と変更種別19
03に対応する改正規定を生成する(2206)。条番
号が異なる場合か、条内の改正以外の場合は、終了とし
て改正規定を生成する(2107)。
Next, a procedure for generating a revised law will be described with reference to FIG. A revision rule table is prepared in advance for a revision sentence corresponding to the tag name of the revision location, the change type, and the continuity of the revision location. The process first reads the difference table 2104 (2201). Next, the revision tag 2 of the record
A corresponding revision rule is generated from 002 and change type 1903 (2202). The next record is read, and the changed part 2203 is the same and the change type 1903 is the same (220
If it is 4), a revision rule corresponding to the revision tag and the change type is generated as the revision (2205). If the change type is different, the revision tag 2202 and the change type 19
03 is generated (2206). If the article number is different, or if the article is other than amendment, an amendment rule is generated as end (2107).

【0081】以下、 「 ABC規則 第1条 ・・・・を1,000円とする。 第2条 ・・・・を行うものをいう。・・・・ ・・・・は、1箇月以内に・・・。 2 ・・・・。 第3条 ・・・。 」 を 「 ABD規則 第1条 ・・・・を1,200円とする。 第2条 ・・・・を行うことをいう。・・・・ ・・・・は、3箇月以内に・・・。 第3条 ・・・ 」 に改正する場合の差分テーブル2104の構成を図20
に示す。
In the following, "Article 1 of the ABC Rules shall be 1,000 yen. Article 2 means ..." shall be performed within one month.・ ・ ・ ・ 2 ・ ・ ・ ・ ・ ・ ・ Article 3 ・ ・ ・ 」is changed to“ ¥ 1,200 for ABD Rule Article 1…. .. Within 3 months .. FIG. 20 shows the configuration of the difference table 2104 when it is revised to Article 3.
Shown in

【0082】図23は、改正ルール2105の内容であ
る。改正ルールは変数@A,@B,@Cと定型句とから
構成される。変数@A(2304)は、変更箇所200
3の内容が当てはめられる。変数@Bは、差分テーブル
にエントリされた現行法令2102の変更箇所、@Cに
は、新法令2103の変更箇所が当てはめられる。
FIG. 23 shows the contents of the revision rule 2105. The revision rule is composed of variables $ A, $ B, $ C and a fixed phrase. The variable $ A (2304) is
3 is applied. The variable $ B is applied to the changed part of the current law 2102 entered in the difference table, and the $ C is applied to the changed part of the new law 2103.

【0083】まず、差文テーブル2104の法令名が呼
び出される(2201)。改正ルール2105によれば
法令名の改正は、全部置き換えで行う(2303)た
め、新法令2103の法令名を取得し、次の改正規定を
生成する(2202)。
First, the law name in the difference sentence table 2104 is called (2201). According to the amendment rule 2105, the amendment of the law name is entirely replaced (2303), so that the law name of the new law 2103 is acquired and the next amendment rule is generated (2202).

【0084】「<柱書き>題名を次のように改める。 <置換法令名>ABD規則</置換法令名> </柱書き> 」 差文テーブル2104の2番目のレコードを読み、これ
は改正ルール2105によれば条の変更2304である
から変数@Aに「第1条」が当てはめられる。差分テー
ブル2104の3番目のレコードを読み、条番号が第2
条であるため、条変更の終了2305と判断し、次の改
正規定が生成される(2207)。
"<Shift> Title is changed as follows. <Replacement law name> ABD rule <Replacement law name></ Shift >>" The second record of the difference table 2104 is read and revised. According to the rule 2105, since the rule is changed 2304, "the first rule" is applied to the variable $ A. The third record of the difference table 2104 is read, and the
Since it is an article, it is determined that the article change is completed 2305, and the next amended rule is generated (2207).

【0085】「<柱書き>第1条中、「1,000円」を「1,2
00円」に改める。</柱書き>」 ここで差分テーブル2104の2番目のレコードを参照
し、改正ルール2105の同改正の@Bには現行法令の
変更箇所、@Cには新法令2103の変更箇所が当ては
められる。差分テーブル2104の4番目のレコードを
読み、変更箇所2003が同じ第2条第1項でかつ変更
であるため、条変更の同改正2306と判断し、次の改
正規定が生成される(2205)。
In the <Sections> Article 1, "1,000 yen" is changed to "1,2
00 yen ". Here, the second record of the difference table 2104 is referred to, and in the revision rule 2105, the changed portion of the current law is applied to @B, and the changed portion of the new law 2103 is applied to @C. . The fourth record of the difference table 2104 is read, and since the changed part 2003 is the same Article 2, Paragraph 1, and is a change, it is determined to be the same amendment 2306 of the article change, and the next amendment rule is generated (2205). .

【0086】「<柱書き>第2条第1項中、「行うもの」
を「行うこと」に、」 差分テーブル2104の5番目のレコードを読み、同じ
第2条だが、全削除(法令文字数−)であるため、条変
更の異改正2307と判断し、次の改正規定が生成され
る(2206)。
"<Sections> In Article 2, Paragraph 1," What to do "
The fifth record of the difference table 2104 is read, and the same Article 2 is deleted (the number of laws and ordinances is-). Is generated (2206).

【0087】「「1箇月以内」を「3箇月以内」に改
め、」 ここで差分レコードが最後であるため、条全削除の終了
2308と判断し、次の改正規定が生成される(220
7)。
"Revise" within one month "to" within three months. "Since the difference record is the last, it is determined that the deletion of the entire article is completed 2308, and the next revision rule is generated (220).
7).

【0088】「同条第2項を削る。</柱書き>」 また、文書情報1704から法令名や公布予定日を抽出
する(2208)ことにより、次の改正法令を生成し、
格納する(2209)。
[Section 2 of the same article is deleted.] By extracting the law name and the scheduled date of promulgation from the document information 1704 (2208), the following revised law is generated.
It is stored (2209).

【0089】「 <公布日>平成6年4月1日</公布日> <法令名>ABC規則の一部を改める規則</法令名> <柱書き>題名を次のように改める。 <置換法令名>ABD規則</置換法令名> </柱書き> <柱書き>第1条中、「1,000円」を「1,200円」に改め
る。</柱書き> <柱書き>第2条第1項中、「行うもの」を「行うこと」
に、「1箇月以内」 を「3箇月以内」に改め、同
条第2項を削る。</柱書き> 」 以上が、改正法令の生成の手順である。
[<Promulgation Date> April 1, 1994 </ Promulgation Date><Law of Law> Rules Revision of Part of ABC Rules </ Law of Law><Postscript> The title will be changed as follows. Replacement Law> ABD Rules </ Replacement Law></Story><Story> In Article 1, "1,000 yen" is changed to "1,200 yen". </ Storyline><Storyline> In Article 2, Paragraph 1, "what to do" is "to do"
In addition, the term “within one month” is changed to “within three months” and paragraph 2 of the same article is deleted. The above is the procedure for generating the revised law.

【0090】上長や他部署との合意形成のための説明資
料を作成する場合は、改正案テーブルのレコード170
7を指定し指示を行う。改正案レコードに、説明資料の
ポインタが登録される。法令種別が条例の場合、「あら
まし」1718が必須であり、審査依頼を指示されると
ポインタをチェックし、NULLであれば、警告を促
し、拒否する。
When preparing explanatory materials for consensus building with the superior and other departments, the record 170 of the revision plan table is used.
Specify 7 and give an instruction. The pointer to the explanatory material is registered in the revision plan record. When the law type is an ordinance, “summary” 1718 is indispensable. When an examination request is instructed, the pointer is checked, and if NULL, a warning is prompted and rejected.

【0091】次に、審査・決裁の手順を説明する。Next, the procedure of examination and decision will be described.

【0092】改正法令の編集が終了し、確定した改正案
に対し審査依頼の指示を行う。
After the editing of the revised law has been completed, an instruction for an examination request is issued for the finalized revised plan.

【0093】改正法令レコードの状態2402を、「審
査待ち」に変更し、改正担当者の変更不可の属性を、審
査担当者に変更許可の属性を与えるとともに、審査対象
法令テーブル2401に登録する。
The state 2402 of the revised law record is changed to “waiting for examination”, and the attribute of the person in charge of the amendment that cannot be changed is given to the person in charge of change and registered in the law table 2401 to be examined.

【0094】審査は、審査対象法令テーブルから改正法
令文2403や新旧対照表2404を参照して行う。審
査対象法令テーブルから該当エントリにアクセスすると
改正法令レコードの状態2402を、「審査中」に変更
する。改正技法や、用語に不適当なものがあれば、修正
すべき改正法令文の範囲を指定し、コメント生成指示を
受けると、エディタを起動する、自由にコメントを作成
し、登録すると、法令の関連付けと同様に、改正法令文
の文書ポインタとファイル中の位置と、コメント文書の
文書ポインタをリンクテーブルに記憶する。リンクテー
ブルのエントリは、審査担当者のみが変更、削除可能と
する。
The examination is performed by referring to the revised law text 2403 and the old / new comparison table 2404 from the law table to be examined. When the corresponding entry is accessed from the law table to be examined, the state 2402 of the revised law record is changed to “under examination”. If any of the revision techniques or terms are inappropriate, specify the range of the revised laws and regulations to be revised, and when receiving a comment generation instruction, start the editor, freely create a comment, and register it. As in the case of the association, the document pointer of the revised statute and the position in the file and the document pointer of the comment document are stored in the link table. Entries in the link table can be changed or deleted only by the examiner.

【0095】上長や関連部署などの利用者に回覧するに
は、回覧する人の回覧文書テーブルに改正法令レコード
のポインタを登録し、参照、コメント生成を許可する属
性とする。
To circulate to a user such as a superior or a related department, a pointer to a revised law record is registered in the circulation document table of the circulating person, and the attribute is set to permit reference and comment generation.

【0096】審査、回覧で承認が得られず、差し戻しを
指示されると改正法令レコードの状態2402を「改正
中」に戻す。改正担当者は、再度前記改正作業を行い、
審査依頼する。合格であれば、承認の指示により、改正
法令レコード、法令集レコードの状態2402を「公布
待ち」とし、変更不可の属性とする。
When approval is not obtained in the examination and circulation, and a return is instructed, the state 2402 of the revised law record is returned to "being revised". The amendment staff performs the amendment work again,
Request a review. If it passes, the status 2402 of the amended law record and the law collection record is set to "waiting for promulgation" according to the approval instruction, and the attribute cannot be changed.

【0097】次に、公報発行の手順について説明する。Next, the procedure for issuing a gazette will be described.

【0098】審査テーブルから、状態2504が「公布
登録待ち」のレコード2502を抽出し、公布予定日、
牽制、施行予定日の順に表示する。公布する法令のレコ
ードを指定し、公布登録を指示し、定期公報か号外かを
選択させると、公報テーブル2501を生成し、公報番
号と発行年月日を生成し、公布する法令のレコードのポ
インタ2503を登録し、公布予定日を公報発行日に変
更し、牽制順に法令番号を生成し、目次を作成する。公
布原稿作成の指示を受けると、牽制順に法令レコードの
ポインタが示す改正法令のレイアウトを印刷する。ただ
し、法令種別2506が条例であれば、レイアウトの印
刷の前に条例あらまし2507を印刷する。改正法令レ
コードの公布日2603とシステムの日付が一致する
と、該改正法令レコードを改正履歴テーブルの最後に加
え、一般検索者に参照許可の属性を与え、状態2605
を「施行待ち」とする。
A record 2502 whose status 2504 is “waiting for promulgation registration” is extracted from the examination table,
It is displayed in order of check and enforcement date. When a record of the law to be promulgated is designated, a promulgation registration is instructed, and a periodical publication or an extra issue is selected, a publication table 2501 is generated, a publication number and an issue date are generated, and a pointer to the record of the law to be promulgated. 2503 is registered, the scheduled date of promulgation is changed to the date of publication, a law number is generated in the order of check, and a table of contents is created. Upon receiving an instruction to create a promulgated manuscript, the revised law layout indicated by the pointer to the law record is printed in order of check. However, if the law type 2506 is the ordinance, the ordinance summary 2507 is printed before printing the layout. When the promulgation date 2603 of the revised law record matches the date of the system, the revised law record is added to the end of the revision history table, and the general searcher is given a reference permission attribute, and the state 2605 is displayed.
Is “waiting for enforcement”.

【0099】また、施行日2604とシステムの日付が
一致すると、法令集テーブルの現行法令ポインタ260
6を改正法令レコードの新法令ポインタの指し示す法令
レコードの値2607に変更し、状態2608を通常に
変更し、改正履歴レコードの状態2603を「施行済」
とし、改正法令テーブルからレコードを削除する。以上
が、改正作業の手順である。
When the enforcement date 2604 matches the system date, the current law pointer 260
6 is changed to the value 2607 of the law record pointed to by the new law pointer of the revised law record, the state 2608 is changed to normal, and the state 2603 of the revision history record is “enforced”
And delete the record from the revised law table. The above is the procedure of the revision work.

【0100】次に、法令文書の体系化の手順を説明す
る。
Next, a procedure for systematizing a legal document will be described.

【0101】法令文書を法令集の編・章や、主管する組
織名、法令種別の階層的な分類体系を作成する場合を例
にとる。図27は、分類テーブルの構成図である。
An example will be described in which a legal document is created as a part or chapter of a legal collection, a supervising organization name, and a hierarchical classification system of legal types. FIG. 27 is a configuration diagram of the classification table.

【0102】分類テーブルのレコードとして、当該分類
語レコードの語識別子2702、分類語の内容270
3、上位語を指す語識別子2704、複数の下位語を指
す語識別子2705、当該分類語に関連する法令集テー
ブルのレコードのポインタ2706を管理する。
As the records of the classification table, the word identifier 2702 of the classification word record, the classification word content 270
3. It manages a word identifier 2704 indicating a high-order word, a word identifier 2705 indicating a plurality of low-order words, and a pointer 2706 of a record of the law collection table related to the classification word.

【0103】図28の分類体系を例に、詳細に説明す
る。
This will be described in detail using the classification system shown in FIG. 28 as an example.

【0104】分類テーブルの最上位のレコードを生成
し、分類名を「分類」とし、識別子を[0]とする。こ
こで識別子は16進数とする。「分類」のレコードを指
定した状態で、レコード生成指示を行い、分類名を「法
令集」(2801)、識別子を[10]とし、上位語の
識別子として[0]を登録する。「分類」のレコードの
下位語には[10]を登録する。以下、「法令集」の下
位語として、「総規」(2802)[110]、「人
事」(2803)[210]としていく。また、「分
類」の下位語として「組織」(2804)[20]を、
その下位語として「総務部」(2805)[120]、
「環境部」(2806)[130]いうように体系を作
成する。
A record at the top of the classification table is generated, the classification name is set to “classification”, and the identifier is set to [0]. Here, the identifier is a hexadecimal number. In a state where the record of “classification” is designated, a record generation instruction is performed, the classification name is “law collection” (2801), the identifier is [10], and [0] is registered as the identifier of the upper word. [10] is registered as a lower word of the record of “classification”. Hereinafter, “general rules” (2802) [110] and “personnel” (2803) [210] will be used as lower terms of “laws and regulations”. In addition, “organization” (2804) [20] as a lower word of “classification”
Its lower terms are “General Affairs Department” (2805) [120],
A system is created as described in “Environment Department” (2806) [130].

【0105】ある分類レコードには該分類語に関連する
法令集レコードのポインタを登録しておく(270
7)。
In a certain classification record, a pointer to a law collection record related to the classification word is registered (270).
7).

【0106】図29は、分類検索の手順である。例え
ば、「組織」[20]>「総務部」[120]と「法令
集」[10]>「人事」[210]>「報酬、給与等」
[4210]に関する法令の一覧表示を指示される(2
901)と、分類テーブル2904をサーチし、「総務
部」の識別子[120]との論理積が120となる分類
レコードを抽出し、このレコードの法令集レコードのポ
インタをワーク領域に登録する。下位のレコードの識別
子は、識別子との論理積を取ることにより、高速に検索
し、特定できる。また、「報酬、給与等」[4210]
との論理積が4210である分類レコードについて同様
に処理し、ワーク領域に抽出された、2つの分類語に関
連する法令文書のポインタをマッチング処理し、マッチ
した法令文書のレコードポインタを検索結果テーブル2
903に登録する。この検索結果テーブル2903のエ
ントリより、法令集テーブル2905を参照して文書情
報を取得し、文書の一覧として表示する(2906)。
FIG. 29 shows the procedure of a classification search. For example, “Organization” [20]> “General Affairs Department” [120] and “Law and Regulations” [10]> “HR” [210]> “Remuneration, salary, etc.”
The user is instructed to display a list of laws related to [4210] (2
901), the classification table 2904 is searched, a classification record whose logical product with the identifier [120] of the “general affairs department” is 120 is extracted, and a pointer to a law collection record of this record is registered in the work area. The identifier of the lower record can be searched and specified at high speed by taking the logical product with the identifier. Also, “Rewards, salaries, etc.” [4210]
Is processed in the same manner for the classification record whose logical product is 4210, and the pointers of the legal documents related to the two classification words extracted in the work area are matched, and the record pointer of the matched legal document is retrieved from the search result table. 2
903 is registered. The document information is acquired from the entry of the search result table 2903 with reference to the law collection table 2905 and displayed as a document list (2906).

【0107】[0107]

【発明の効果】本発明により、法令文書の改正作業の根
幹となる改正法令の制定、新旧対照表の作成の自動化を
主として、システムへの入力、蓄積、検索、改正、審査
承認および公布、データ更新までの作業を統括的に一元
化し、改正作業の作業時間の短縮、紙の切り貼りやワー
ドプロセッサなどによる清書の際の読み合わせなどの煩
雑かつ単純な作業に関わる人件費の削減が可能となる。
[Effects of the Invention] According to the present invention, inputting, storing, searching, revising, approving, promulgating, promulgating, and promulgating data to the system, mainly for establishing revised laws and regulations and automating the creation of a new and old comparison table, which are the basis of the revision of legal documents It is possible to centralize the work up to the update in a unified manner, reduce the work time of the revision work, and reduce labor costs related to complicated and simple work such as cutting and pasting of paper and reading at the time of fair copy by a word processor or the like.

【0108】また、常に最新状態の法令を、その引用し
ている他の法令を含め利用者が迅速に検索し参照するこ
とが可能となる。
Further, it is possible for a user to quickly search and refer to the latest laws and regulations including other laws and regulations cited therein.

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

【図1】本発明の実施例の構成を示す図である。FIG. 1 is a diagram showing a configuration of an embodiment of the present invention.

【図2】印刷文書入力手段、構造化手段の実施例を示す
概念図である。
FIG. 2 is a conceptual diagram illustrating an embodiment of a print document input unit and a structuring unit.

【図3】法令文書の紙文書と論理構造の対応を示す概念
図である。
FIG. 3 is a conceptual diagram showing the correspondence between a legal document and a logical document.

【図4】論理構造化の処理手順を示すPAD図である。FIG. 4 is a PAD diagram showing a processing procedure of logical structuring.

【図5】構造化法令文とレイアウトの対応を示す概念図
である。
FIG. 5 is a conceptual diagram showing a correspondence between a structured statute sentence and a layout.

【図6】構造化法令文と文書情報の対応を示す概念図で
ある。
FIG. 6 is a conceptual diagram showing the correspondence between structured statute sentences and document information.

【図7】法令文書のテーブル構成を示す概念図である。FIG. 7 is a conceptual diagram showing a table configuration of a legal document.

【図8】状態フラグの遷移図である。FIG. 8 is a transition diagram of a state flag.

【図9】リンクテーブルの構造を示す概念図である。FIG. 9 is a conceptual diagram showing the structure of a link table.

【図10】法令文書を自動的に関連付ける手順を示すP
AD図である。
FIG. 10 is a flowchart showing a procedure for automatically associating a legal document with a legal document.
It is an AD diagram.

【図11】直接引用テーブルの内容を示す図である。FIG. 11 is a diagram showing the contents of a direct citation table.

【図12】略称テーブルの内容を示す図である。FIG. 12 is a diagram showing the contents of an abbreviation table.

【図13】引用先取得前の引用テーブルの内容を示す図
である。
FIG. 13 is a diagram showing contents of a citation table before obtaining a citation destination.

【図14】引用先取得後の引用テーブルの内容を示す図
である。
FIG. 14 is a diagram showing the contents of a citation table after obtaining a citation destination.

【図15】検索手段の実施例を示す概念図である。FIG. 15 is a conceptual diagram showing an embodiment of a search unit.

【図16】検索の手順を示すPAD図である。FIG. 16 is a PAD diagram showing a search procedure.

【図17】改正法令文書のテーブル構成を示す概念図で
ある。
FIG. 17 is a conceptual diagram showing a table configuration of a revised law document.

【図18】構造化文書編集手段の実施例を示す概念図で
ある。
FIG. 18 is a conceptual diagram showing an embodiment of a structured document editing unit.

【図19】差分テーブルの内容を示す図である。FIG. 19 is a diagram showing the contents of a difference table.

【図20】変更箇所を特定した差分テーブルの内容を示
す図である。
FIG. 20 is a diagram showing the contents of a difference table specifying a changed part.

【図21】改正法令の自動生成の構成を示す概念図であ
る。
FIG. 21 is a conceptual diagram showing a configuration of automatic generation of a revised law.

【図22】改正法令生成の処理手順を示すPAD図であ
る。
FIG. 22 is a PAD showing a processing procedure for generating a revised law.

【図23】改正ルールテーブルの内容を示す概念図であ
る。
FIG. 23 is a conceptual diagram showing the contents of a revision rule table.

【図24】法令文書の審査・回覧に関するテーブル構成
を示す概念図である。
FIG. 24 is a conceptual diagram showing a table configuration related to examination and circulation of legal documents.

【図25】法令文書の公布文書作成に関するテーブル構
成を示す概念図である。
FIG. 25 is a conceptual diagram showing a table configuration relating to creation of a promulgation document of a legal document.

【図26】法令テーブルの自動更新に関するテーブル構
成を示す概念図である。
FIG. 26 is a conceptual diagram showing a table configuration related to automatic updating of a law table.

【図27】分類テーブルの構成を示す概念図である。FIG. 27 is a conceptual diagram showing a configuration of a classification table.

【図28】分類体系の実施例を示す概念図である。FIG. 28 is a conceptual diagram showing an example of a classification system.

【図29】分類検索の実施例の構成を示す概念図であ
る。
FIG. 29 is a conceptual diagram showing a configuration of an embodiment of a classification search.

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

101・・・キーボード、ディスプレイなどの端末装
置、 102・・・CPU、 103・・・スキャナ、文字認識装置などの入力装置、 104・・・ワークメモリ、 105・・・プリンタ装置、 106・・・法令文書、法令関連文書を管理する法令集
テーブルを蓄積した磁気ディスク装置、 107・・・法令文書間、メモ、コメントなど関連情報
を蓄積した磁気ディスク装置、 108・・・法令辞書やルールを蓄積した磁気ディスク
装置、 109・・・プログラムを格納したメモリ
101: Terminal device such as keyboard, display, etc. 102: CPU, 103: Input device such as scanner, character recognition device, 104: Work memory, 105: Printer device, 106: A magnetic disk device that stores a law collection table that manages legal documents and law-related documents, 107: A magnetic disk device that stores related information such as memos and comments between law documents, 108: Stores a law dictionary and rules ... A memory storing a program

フロントページの続き (56)参考文献 特開 平7−334568(JP,A) 特開 平7−334575(JP,A) 特開 平6−301677(JP,A) 特開 平6−103269(JP,A) 特開 平4−162175(JP,A) 特開 平6−75963(JP,A) 特開 平5−108669(JP,A) 特開 平6−139262(JP,A) 特開 昭62−236071(JP,A) 特開 平6−243152(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 17/60 G06F 17/22 Continuation of the front page (56) References JP-A-7-334568 (JP, A) JP-A-7-334575 (JP, A) JP-A-6-301677 (JP, A) JP-A-6-103269 (JP) JP-A-4-162175 (JP, A) JP-A-6-75963 (JP, A) JP-A-5-108669 (JP, A) JP-A-6-139262 (JP, A) 62-236071 (JP, A) JP-A-6-243152 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 17/60 G06F 17/22

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】指定された検索条件に基づいて複数の法令
文書を格納する記憶手段を検索しマッチした法令文書を
抽出する検索手段と、 現行の法令文書と新法令文書とを比較して差分を抽出し
差分テーブルを作成する差分抽出手段と、 該現行法令文書、該新法令文書、該差分テーブル及び改
正ルールとから改正法令を生成する改正法令生成手段と
を有することを特徴とする法令文書検索改正システム。
A search means for searching a storage means for storing a plurality of law documents based on a designated search condition and extracting a matched law document; and comparing a difference between a current law document and a new law document. A law document comprising: a difference extracting means for extracting a current law document, a new law document, the difference table, and a revised rule from the current law document, the new law document, and the revised rule. Search revision system.
【請求項2】複数の法令文書を格納する記憶手段と、 第1の文字列に読み替えられる第2の文字列を対照し複
数個列挙して記憶する手段と、 検索語を含む検索条件を入力する手段と、 入力された検索語に基づいて第1の文字列を検索しマッ
チした文字列があれば読み替えられる第2の文字列につ
いて該法令文書を検索し、該検索語に基づいて第2の文
字列を検索しマッチした文字列があれば対照される第1
の文字列について該法令文書を検索し、マッチした法令
文書を抽出する手段とを有することを特徴とする法令文
書検索システム。
2. A storage means for storing a plurality of legal documents, a means for listing and storing a plurality of second character strings read as a first character string, and inputting a search condition including a search word. Means for searching for the first character string based on the input search word, and searching for the second character string to be replaced if there is a matched character string, and searching for the second character string based on the search word. The first string that is searched for and is matched if there is a matched string
And a means for searching for the legal document with respect to the character string and extracting a matched legal document.
【請求項3】現行の法令文書を格納する記憶手段と、 新法令文書を格納する記憶手段と、 該現行法令文書の変更すべき箇所と新法令文書の変更さ
れた箇所との対応関係を格納する差分テーブル手段と、 該現行法令文書及び該新法令文書を変数で表現し、該変
数と定型句とから構成される改正ルールを格納する記憶
手段と、 該差分テーブル、該改正ルール、該現行法令文書及び該
新法令文書に基づいて該改正ルールの変数に該現行法令
文書の変更すべき箇所及び新法令文書の変更された箇所
を当てはめて改正規定を生成する手段とを有することを
特徴とする法令文書改正システム。
3. A storage means for storing a current legal document, a storage means for storing a new legal document, and a correspondence relationship between a portion to be changed in the current legal document and a changed portion in the new legal document. A difference table means, a storage means for expressing the current statute document and the new statute document with variables, and storing an amendment rule composed of the variables and fixed phrases; and a difference table, the amendment rule, the current Means for generating a revision rule by applying a portion of the current law document to be changed and a changed portion of the new law document to a variable of the revision rule based on the law document and the new law document. Legal document revision system.
JP12608894A 1994-06-08 1994-06-08 Legal document search and revision system Expired - Lifetime JP3020803B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12608894A JP3020803B2 (en) 1994-06-08 1994-06-08 Legal document search and revision system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12608894A JP3020803B2 (en) 1994-06-08 1994-06-08 Legal document search and revision system

Publications (2)

Publication Number Publication Date
JPH07334574A JPH07334574A (en) 1995-12-22
JP3020803B2 true JP3020803B2 (en) 2000-03-15

Family

ID=14926311

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12608894A Expired - Lifetime JP3020803B2 (en) 1994-06-08 1994-06-08 Legal document search and revision system

Country Status (1)

Country Link
JP (1) JP3020803B2 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002366544A (en) * 2001-06-05 2002-12-20 Onda Techno:Kk Document generation program, information storage medium with same program stored thereon, document generation device and document generation system
JP3913127B2 (en) 2002-06-27 2007-05-09 富士通株式会社 Electronic document system, electronic document management apparatus, computer program, and recording medium
JP5000390B2 (en) * 2007-06-18 2012-08-15 第一法規株式会社 Legal example rules text script term screening device, script term screening system, and script term screening method
JP5179134B2 (en) * 2007-09-28 2013-04-10 みずほ情報総研株式会社 Prospectus management system, prospectus management method and prospectus management program
JP2009251666A (en) * 2008-04-01 2009-10-29 Nec Corp Change history preparation apparatus, method, and program
JP4992820B2 (en) * 2008-05-13 2012-08-08 日本電気株式会社 Data processing apparatus, computer program thereof, and data processing method
JP5198149B2 (en) * 2008-05-28 2013-05-15 株式会社日立製作所 Information processing apparatus, program, and insurance product policy generation method
JP4854752B2 (en) * 2009-02-18 2012-01-18 中国電力株式会社 Ordinance revision information storage device and ordinance revision notification system
JP5648236B2 (en) * 2009-10-22 2015-01-07 大日本法令印刷株式会社 Difference detection display system for book publication document and difference detection display program for book publication document
JP5918674B2 (en) * 2012-09-28 2016-05-18 エンカレッジ・テクノロジ株式会社 Work performance support device, work performance support method, and program
JP5472504B1 (en) * 2013-03-12 2014-04-16 富士ゼロックス株式会社 Work flow creation support apparatus and method, and program
JP6052801B2 (en) 2013-07-31 2016-12-27 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation System, method and program for associating description items between documents
JP6505421B2 (en) 2014-11-19 2019-04-24 株式会社東芝 Information extraction support device, method and program
JP6775935B2 (en) * 2015-11-04 2020-10-28 株式会社東芝 Document processing equipment, methods, and programs
JP6490607B2 (en) 2016-02-09 2019-03-27 株式会社東芝 Material recommendation device
JP6602243B2 (en) 2016-03-16 2019-11-06 株式会社東芝 Learning apparatus, method, and program
JP6622172B2 (en) 2016-11-17 2019-12-18 株式会社東芝 Information extraction support device, information extraction support method, and program

Also Published As

Publication number Publication date
JPH07334574A (en) 1995-12-22

Similar Documents

Publication Publication Date Title
JP3020803B2 (en) Legal document search and revision system
US7890486B2 (en) Document creation, linking, and maintenance system
Travis et al. The SGML implementation guide: a blueprint for SGML migration
JP3692764B2 (en) Structured document registration method, search method, and portable medium used therefor
JPH09251466A (en) Work support system
US20070233456A1 (en) Document localization
US7853595B2 (en) Method and apparatus for creating a tool for generating an index for a document
JPWO2004034282A1 (en) Content reuse management device and content reuse support device
Sartor et al. Automated extraction and representation of citation network: a CJEU case-study
Bordalejo et al. You’re collating just fine and other lies you’ve been telling yourself
JPH08221417A (en) New/old comparing editing device for structured document
Nordhoff Electronic reference grammars for typology: Challenges and solutions
JPH06318202A (en) Document storage system, document managing system and document display system
Jauhiainen et al. A Social Network of the Prosopography of the Neo-Assyrian Empire
Sturgeon Constructing a crowdsourced linked open knowledge base of Chinese history
Ruiz-Pérez Choice of author access points for online catalogs of monographs in Spanish
WO2024177160A1 (en) Information processing method
JPH0251765A (en) Automatic production system for term book
Feroze OP138 USE OF ARTIFICIAL INTELLIGENCE (ML/NLU/NLP/NLG) IN REGULATORY (SCIENTIFIC) DOCUMENTS AUTHORING.
Liu et al. EDCMS: a content management system for engineering documents
Mukhammadsolikh SOFTWARE OF THE NATIONAL CORPUS OF THE UZBEK LANGUAGE
JPH05158969A (en) Language processing system
James Automatic requirements specification update processing from a requirements management tool perspective
JPH0251766A (en) Automatic extracting system for index item
Klein Automated Documentation: A Complete Cycle