JPH10177573A - Method and device for processing document - Google Patents

Method and device for processing document

Info

Publication number
JPH10177573A
JPH10177573A JP8359528A JP35952896A JPH10177573A JP H10177573 A JPH10177573 A JP H10177573A JP 8359528 A JP8359528 A JP 8359528A JP 35952896 A JP35952896 A JP 35952896A JP H10177573 A JPH10177573 A JP H10177573A
Authority
JP
Japan
Prior art keywords
paragraph
document
stored
searched
searching
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
JP8359528A
Other languages
Japanese (ja)
Inventor
Kenzo Matsumoto
賢三 松本
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP8359528A priority Critical patent/JPH10177573A/en
Publication of JPH10177573A publication Critical patent/JPH10177573A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a method and device for processing document by which a description can be prepared efficiently without mistake. SOLUTION: A retrieving means 24 retrieves a figure described behind a 'Claim Clause' in the claim section of a description stored in a document storing means as a clause number and a replacing means 26 replaces the clause number retrieved by the retrieving means 24 with the figure indicating the arranging order in the claim clause in the title of the claim clause containing the clause number retrieved by the retrieving means 24 based on a converting table 32 prepared in a memory 16 in advance. In addition, a clause 'Brief Description of the Drawings' is prepared by means of a beginning discriminating means which discriminates the beginning of the description, an end discriminating means which discriminates the end of the description, and a composition writing means which writes the description. Moreover, end-of-paragraph numbers are inputted by means of an paragraph length discriminating means, a number inserting means, etc.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は文書処理方法および
装置に関し、特に、特許出願および実用新案登録出願に
係わる発明および考案の明細書(ここでは単に明細書と
もいう)を作成するための文書処理方法および装置に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing method and apparatus, and more particularly to a document processing method for preparing a specification (herein, also simply referred to as "specification") of an invention and device relating to a patent application and a utility model registration application. The present invention relates to a method and an apparatus.

【0002】[0002]

【従来の技術】文書を能率良く作成する手段としてワー
ドプロセッサ(ここでは単にワープロともいう)が広く
用いられており、明細書の作成においても例外ではな
い。ワープロでは、文字や記号はコードによって表さ
れ、したがって明細書などの文書はコード列により表さ
れる。ワープロで作成された文書は、上記コード列にも
とづいて紙などに印刷される他、コード列のデータとし
てフロッピーディスクなどに格納保存される。
2. Description of the Related Art A word processor (hereinafter simply referred to as a word processor) is widely used as a means for efficiently creating a document, and the creation of a specification is no exception. In a word processor, characters and symbols are represented by a code, and thus a document such as a description is represented by a sequence of codes. A document created by a word processor is printed on paper or the like based on the above-described code string, and is also stored and stored as a code string data on a floppy disk or the like.

【0003】明細書には、特許請求の範囲または実用新
案登録請求の範囲(ここでは単に請求の範囲ともいう)
が記載され、各請求項は[請求項1]、[請求項2]と
いった請求項の見出しのもとに、上記1や2などの項番
の順に、請求の範囲の欄に配列される。なお、ここでは
“[”および“]”をJISコードがそれぞれ215A
および215B(16進数)である括弧の代りに用い
る。また、最初の請求項以外の請求項では、必要に応じ
てその請求項より項番が小さい請求項が引用され、例え
ば、“・・・であることを特徴とする請求項1記載の制
御装置。”などのように記載される。
[0003] The specification includes claims or utility model registration claims (herein, also simply referred to as claims).
Are described, and the respective claims are arranged in the column of the claims in the order of the item numbers such as 1 and 2 under the headings of the claims such as [Claim 1] and [Claim 2]. In this case, the JIS codes represent "[" and "]" respectively as 215A.
And 215B (hexadecimal) instead of parentheses. Further, in the claims other than the first claim, a claim having a smaller claim number than that claim is cited as necessary, for example, "...". . ".

【0004】ところで、請求の範囲の記載において、推
敲などの結果、請求項の新たな追加や、あるいは削除が
必要となる場合がある。しかし、このような請求項の追
加や削除を行うと、その請求項につづくすべての請求項
では、見出し部、および上記のような引用部で項番の修
正が必要となる。この作業は、特に請求項の数が多い場
合に極めて手間のかかる作業となり、また記載ミスも生
じ易い。
By the way, in the description of claims, new addition or deletion of claims may be required as a result of elaboration or the like. However, when such a claim is added or deleted, in all claims following the claim, the item number needs to be corrected in the heading section and the above cited section. This operation is extremely troublesome, especially when the number of claims is large, and the description error is likely to occur.

【0005】特に、明細書をワープロで作成する場合に
は、画面上に表示されたカーソルを、上下左右の方向キ
ーを操作して、変更箇所まで移動させ、文字を消去する
ためのキーを操作して項番を消去し、その上で新しい項
番を入力するという作業を、修正すべき項番ごとに行う
ことになり、極めて手間がかかる。
[0005] In particular, when a description is prepared by a word processor, the cursor displayed on the screen is moved to a changed portion by operating the up, down, left, and right direction keys, and a key for deleting characters is operated. The operation of deleting the item number and then inputting a new item number is performed for each item number to be corrected, which is extremely troublesome.

【0006】また、明細書には、[図面の簡単な説明]
の欄を記載する必要があり、[図1]、[図2]といっ
た図番見出しのもとに、[発明の詳細な説明]の欄で引
用した図面を簡単に説明する文章が記載される。ところ
で、このような図面の説明文は、[発明の詳細な説明]
の欄における[従来の技術]や[発明の実施の形態]な
どの欄で、図面を引用して従来の技術や実施例を説明す
る際にも、説明に先立って記載されることが多い。した
がって、このような場合には、[従来の技術]や[発明
の実施の形態]などの欄で図面の説明文を記載し、さら
に、[図面の簡単な説明]の欄にも同様の図面の説明文
を記載することになる。これは二度手間であり、説明文
を1回記載するだけで済ませることができれば、明細書
作成の能率アップにつながる。さらに、記載ミスの可能
性を小さくすることにも有効である。
[0006] Further, the specification includes [Brief description of drawings]
, And text that briefly describes the drawings cited in the “Detailed description of the invention” is described under the figure number heading such as [FIG. 1] or [FIG. 2]. . By the way, the description of such drawings is described in [Detailed Description of the Invention]
In the fields such as [Prior Art] and [Embodiments of the Invention] in the column of (1), prior arts and examples are often described prior to the description when referring to the drawings. Therefore, in such a case, the description of the drawing is described in the column of [Prior Art] or [Embodiment of the Invention], and the same drawing is described in the column of [Brief Description of the Drawings]. Will be described. This is a troublesome task, and if the description can be written only once, this leads to an increase in the efficiency of the preparation of the specification. Furthermore, it is also effective to reduce the possibility of a description error.

【0007】また、明細書の[発明の詳細な説明]の欄
においては、段落に対して4桁のアラビア数字による段
落番号が、“[”、“]”で挟んで記載される。しか
し、このような段落番号の入力には手間がかかり、面倒
である。したがって、段落番号を自動的に入力できれ
ば、明細書作成の能率アップに非常に有効である。ま
た、間違った番号を記載するといったミスの解消にも役
立つ。
[0007] In the column of [Detailed description of the invention] in the specification, a paragraph number of Arabic numerals of four digits with respect to the paragraph is described sandwiched between "[" and "]". However, inputting such a paragraph number is troublesome and troublesome. Therefore, if the paragraph number can be automatically entered, it is very effective to improve the efficiency of preparing the specification. It is also useful for eliminating mistakes such as writing the wrong number.

【0008】[0008]

【発明が解決しようとする課題】本発明は、このような
問題を解決するためになされたもので、その目的は、明
細書を能率よく、かつミスなく作成できるようにする文
書処理方法および装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and an object of the present invention is to provide a method and apparatus for processing a document so that a specification can be created efficiently and without errors. Is to provide.

【0009】[0009]

【課題を解決するための手段】請求項1の発明は上記目
的を達成するため、文書記憶手段に記憶された明細書の
特許請求の範囲または実用新案登録請求の範囲の欄にお
いて請求項を表現する語句またはこの語句を構成する1
つまたは複数の文字を検索して、前記語句の後ろに記載
されている数字を項番として検索する検索ステップと、
前記検索ステップで検索した前記項番を含む請求項の見
出しの、前記請求の範囲における配列の順番を表す数字
によって、前記検索ステップで検索した前記項番を置き
換える置換ステップと、を含むことを特徴とする。
In order to achieve the above object, the invention of claim 1 expresses the claims in the claims or utility model registration claims field of the specification stored in the document storage means. The word to be composed or 1 that constitutes this word
A search step of searching for one or a plurality of characters, and searching for the number described after the phrase as an item number;
A substituting step of replacing the item number searched in the search step with a numeral representing the order of the array in the claim, of the heading of the claim including the item number searched in the search step. And

【0010】また、請求項2の発明は、文書記憶手段に
記憶された明細書の特許請求の範囲または実用新案登録
請求の範囲の欄において請求項を表現する語句またはこ
の語句を構成する1つまたは複数の文字を検索して、前
記語句の後ろに記載されている数字を項番として検索す
る検索手段と、前記検索手段が検索した前記項番を含む
請求項の見出しの、前記請求の範囲における配列の順番
を表す数字によって、前記検索手段が検索した前記項番
を置き換える置換手段と、を含むことを特徴とする。
[0010] Further, the invention according to claim 2 is a claim that expresses a claim or one form of the phrase in the field of claims or utility model registration claims stored in the document storage means. Or a search means for searching for a plurality of characters and searching for a number described after the word as an item number, and a heading of a claim including the item number searched by the search means. And a replacement unit that replaces the item number searched by the search unit with a number representing the order of the array in.

【0011】また、請求項3の発明は、文書記憶手段に
記憶された文書において、図面を特定するための、図の
文字と図番とを含む語句を検索する先頭識別ステップ
と、前記先頭識別ステップで検索した前記図面特定語句
の後ろに最初に記載されている前記図の文字または図面
の名称を、前記文書記憶手段に記憶された前記文書にお
いて検索する末尾識別ステップと、前記先頭識別ステッ
プで検索した前記図面特定語句から、末尾識別ステップ
で検索した前記図の文字または前記図面の名称までの文
字列の主要部分または全体を前記文書記憶手段から読み
出し、読み出した文字列を主要部分とする文章を作成す
る文章作成ステップと、を含むことを特徴とする。
According to a third aspect of the present invention, in the document stored in the document storage means, a head identification step of searching for a phrase including a figure character and a figure number for identifying a drawing, A step of searching for the character of the figure or the name of the drawing first described after the drawing specific phrase searched in the document in the document stored in the document storage means; A main part or the whole of a character string from the searched drawing specific phrase to the characters of the figure or the name of the figure searched in the end identification step is read from the document storage means, and a sentence having the read character string as a main part And a sentence creating step of creating

【0012】また、請求項4の発明は、文書記憶手段に
記憶された文書において、図面を特定するための、図の
文字と図番とを含む語句を検索する先頭識別手段と、前
記先頭識別手段が検索した前記図面特定語句の後ろに最
初に記載されている前記図の文字または図面の名称を前
記文書記憶手段に記憶された前記文書において検索する
末尾識別手段と、前記先頭識別手段が検索した前記図面
特定語句から、末尾識別手段で検索した前記図の文字ま
たは前記図面の名称までの間に記載されている文字列の
主要部分または全体を前記文書記憶手段から読み出し、
読み出した文字列を主要部分とする文章を作成する文章
作成手段と、を含むことを特徴とする。
Further, according to a fourth aspect of the present invention, in the document stored in the document storage means, a head identification means for searching for a phrase including a figure character and a figure number for specifying a drawing, and the head identification means The tail identification means for searching the document stored in the document storage means for the character of the figure or the name of the drawing first described after the drawing specific phrase searched by the means, and the head identification means for searching From the drawing specific phrase, the main part or the whole of the character string described between the characters of the figure or the name of the drawing searched by the end identification means is read from the document storage means,
Sentence creating means for creating a sentence having the read character string as a main part.

【0013】また、請求項5の発明は、文書記憶手段に
記憶された文書において段落を見つけ、その長さが基準
長より長いか否かを判定する段落長判定ステップと、前
記段落長判定ステップで段落の長さが基準長より長いと
判定したとき、前記文書記憶手段に記憶された文書にお
いて前記段落の前または後ろに、前記段落ごとに異なり
かつ連続する段落番号を挿入する番号挿入ステップと、
を含むことを特徴とする。
According to a fifth aspect of the present invention, there is provided a paragraph length determining step for finding a paragraph in a document stored in a document storage means and determining whether the length is longer than a reference length, and the paragraph length determining step. A number insertion step of inserting a different and continuous paragraph number for each paragraph before or after the paragraph in the document stored in the document storage means when it is determined that the length of the paragraph is longer than the reference length. ,
It is characterized by including.

【0014】また、請求項6の発明は、文書記憶手段に
記憶された文書において段落を見つけ、その長さが基準
長より長いか否かを判定する段落長判定手段と、前記段
落長判定手段が、段落の長さが基準長より長いと判定し
たとき、前記文書記憶手段に記憶された文書において前
記段落の前または後ろに、前記段落ごとに異なりかつ連
続する段落番号を挿入する番号挿入手段と、を含むこと
を特徴とする。
According to a sixth aspect of the present invention, there is provided a paragraph length determining means for finding a paragraph in a document stored in a document storage means and determining whether the length is longer than a reference length, and the paragraph length determining means. However, when it is determined that the length of the paragraph is longer than the reference length, number insertion means for inserting a different and consecutive paragraph number for each paragraph before or after the paragraph in the document stored in the document storage means And characterized in that:

【0015】また、請求項7の発明は、文書記憶手段に
記憶された文書において段落の先頭部または末尾部に記
憶されている所定のコードを検索するコード検索ステッ
プと、このコード検索ステップで、前記段落の先頭部ま
たは末尾部に記憶されている前記所定のコードを検索で
きたとき、前記文書記憶手段に記憶された文書において
前記段落の前または後ろに、前記段落ごとに異なりかつ
連続する段落番号を挿入する番号挿入ステップと、を含
むことを特徴とする。
The invention according to claim 7 is a code search step for searching for a predetermined code stored at the beginning or end of a paragraph in a document stored in the document storage means. When the predetermined code stored at the beginning or end of the paragraph can be searched, a different and continuous paragraph before or after the paragraph in the document stored in the document storage means. A number inserting step of inserting a number.

【0016】また、請求項8の発明は、文書記憶手段に
記憶された文書において段落の先頭部または末尾部に記
憶されている所定のコードを検索するコード検索手段
と、このコード検索手段が、前記段落の先頭部または末
尾部に記憶されている前記所定のコードを検索できたと
き、前記文書記憶手段に記憶された文書において前記段
落の前または後ろに、前記段落ごとに異なりかつ連続す
る段落番号を挿入する番号挿入手段と、を含むことを特
徴とする。
The invention according to claim 8 is a code search means for searching a document stored in the document storage means for a predetermined code stored at the beginning or end of a paragraph, and the code search means comprises: When the predetermined code stored at the beginning or end of the paragraph can be searched, a different and continuous paragraph before or after the paragraph in the document stored in the document storage means. Number inserting means for inserting a number.

【0017】また、請求項9の発明は、文書記憶手段に
記憶された文書において段落の先頭部または末尾部に記
憶されている所定のコードを検索するコード検索ステッ
プと、このコード検索ステップで、前記段落の先頭部ま
たは末尾部に記憶されている前記所定のコードを検索し
たときを除いて、前記文書記憶手段に記憶された文書に
おいて前記段落の前または後ろに、前記段落ごとに異な
りかつ連続する段落番号を挿入する番号挿入ステップ
と、を含むことを特徴とする。
According to a ninth aspect of the present invention, there is provided a code search step for searching for a predetermined code stored at the beginning or end of a paragraph in a document stored in the document storage means. Except when searching for the predetermined code stored at the beginning or end of the paragraph, in the document stored in the document storage means, before or after the paragraph, different for each paragraph and continuous Inserting a paragraph number to be inserted.

【0018】また、請求項10の発明は、文書記憶手段
に記憶された文書において段落の先頭部または末尾部に
記憶されている所定のコードを検索するコード検索手段
と、このコード検索手段が、前記段落の先頭部または末
尾部に記憶されている前記所定のコードを検索したとき
を除いて、前記文書記憶手段に記憶された文書において
前記段落の前または後ろに、前記段落ごとに異なりかつ
連続する段落番号を挿入する番号挿入手段と、を含むこ
とを特徴とする。
The invention according to claim 10 is a code search means for searching for a predetermined code stored at the beginning or end of a paragraph in a document stored in the document storage means, and the code search means comprises: Except when searching for the predetermined code stored at the beginning or end of the paragraph, in the document stored in the document storage means, before or after the paragraph, different for each paragraph and continuous Number inserting means for inserting a paragraph number to be inserted.

【0019】請求項1および2の発明では、文書記憶手
段に記憶された明細書の特許請求の範囲または実用新案
登録請求の範囲の欄において請求項を表現する語句また
はこの語句を構成する1つまたは複数の文字を検索し
て、前記語句の後ろに記載されている数字を項番として
検索する。そして、検索した項番を含む請求項の見出し
の、請求の範囲における配列の順番を表す数字によっ
て、検索ステップで検索した項番を置き換える。
According to the first and second aspects of the present invention, a word expressing the claim or one of the words constituting the word is included in the claims or utility model registration claims section of the specification stored in the document storage means. Alternatively, a search is made for a plurality of characters, and the number described after the phrase is searched for as an item number. Then, the item number searched in the search step is replaced with a numeral indicating the order of the array in the claim in the heading of the claim including the searched item number.

【0020】請求項3および4の発明では、文書記憶手
段に記憶された文書において、図面を特定するための、
図の文字と図番とを含む語句を検索し、次に、上記図面
特定語句の後ろに最初に記載されている図の文字または
図面の名称を検索する。そして、図面特定語句から上記
図の文字または図面の名称までの文字列の主要部分また
は全体を主要部分とする文章を作成する。
According to the third and fourth aspects of the present invention, in a document stored in the document storage means, a drawing for specifying a drawing is provided.
A search is made for a phrase that includes the characters of the drawing and the drawing number, and then searches for the drawing character or drawing name that is first described after the drawing-specific phrase. Then, a sentence is created in which the main part or the whole of the character string from the drawing specific word to the character of the above drawing or the name of the drawing is the main part.

【0021】請求項5および6の発明では、文書記憶手
段に記憶された文書において段落を見つけ、その長さが
基準長より長いか否かを判定し、段落の長さが基準長よ
り長いと判定したとき、段落の前または後ろに、段落ご
とに異なりかつ連続する段落番号を挿入する。
According to the fifth and sixth aspects of the present invention, a paragraph is found in a document stored in the document storage means, and it is determined whether or not the length is longer than a reference length. When determined, a paragraph number that is different and continuous for each paragraph is inserted before or after the paragraph.

【0022】請求項7および8の発明では、文書記憶手
段に記憶された文書において段落の先頭部または末尾部
に記憶されている所定のコードを検索し、このコードを
検索できたとき、段落の前または後ろに、段落ごとに異
なりかつ連続する段落番号を挿入する。
According to the seventh and eighth aspects of the present invention, a predetermined code stored at the beginning or end of a paragraph is searched for in a document stored in the document storage means. Insert a different and consecutive paragraph number before or after each paragraph.

【0023】請求項9および10の発明では、文書記憶
手段に記憶された文書において段落の先頭部または末尾
部に記憶されている所定のコードを検索し、このコード
を検索したときを除いて、段落の前または後ろに、段落
ごとに異なりかつ連続する段落番号を挿入する。
According to the ninth and tenth aspects of the present invention, a predetermined code stored at the beginning or end of a paragraph is searched for in a document stored in the document storage means. Insert a different and consecutive paragraph number before or after a paragraph.

【0024】[0024]

【発明の実施の形態】次に本発明の実施の形態を実施例
にもとづき図面を参照して説明する。図1は本発明によ
る文書処理装置の一例を示すブロック図、図2は図1の
文書処理装置が実行する処理の手順を示すフローチャー
トである。以下では、これらの図面を参照して本発明の
文書処理装置の一例について説明し、同時に本発明の文
書処理方法の一実施例について説明する。なお、ここで
は特許出願に係わる明細書を処理するものとするが、明
細書が実用新案登録出願に係わるものであっても、この
文書処理装置の構成や動作は基本的に同じである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described based on embodiments with reference to the drawings. FIG. 1 is a block diagram showing an example of a document processing apparatus according to the present invention, and FIG. 2 is a flowchart showing a procedure of processing executed by the document processing apparatus of FIG. Hereinafter, an example of the document processing apparatus of the present invention will be described with reference to these drawings, and at the same time, an embodiment of the document processing method of the present invention will be described. Here, the specification relating to the patent application is processed. However, even if the specification relates to a utility model registration application, the configuration and operation of this document processing apparatus are basically the same.

【0025】図1に示した文書処理装置2は、請求項1
および2の発明に係わり、具体的には例えばパーソナル
コンピュータ(以下、パソコンともいう)を用いて実現
できる。図3はそのパソコンの一例を示す構成図であ
る。このパソコン4は、図3に示すように、パソコン本
体6、パソコン本体6に接続されたキーボード8、CR
Tモニタ10、プリンタ12により構成されている。パ
ソコン本体6は、CPU14、メインメモリ16(以
下、単にメモリ16ともいう)、ハードディスクドライ
ブ18(HDD)、フロッピーディスクドライブ20
(FDD)を含んでいる。このような構成において、必
要なプログラムデータを例えばハードディスクドライブ
18から上記メモリ16にロードし、CPU14をその
プログラムデータにもとづいて動作させることで、以下
に説明する文書処理装置2の各部の機能を実現できる。
The document processing apparatus 2 shown in FIG.
Specifically, the present invention can be realized using, for example, a personal computer (hereinafter, also referred to as a personal computer). FIG. 3 is a configuration diagram showing an example of the personal computer. As shown in FIG. 3, the personal computer 4 includes a personal computer body 6, a keyboard 8 connected to the personal computer body 6, and a CR.
It comprises a T monitor 10 and a printer 12. The personal computer body 6 includes a CPU 14, a main memory 16 (hereinafter, also simply referred to as a memory 16), a hard disk drive 18 (HDD), and a floppy disk drive 20.
(FDD). In such a configuration, necessary program data is loaded from, for example, the hard disk drive 18 to the memory 16 and the CPU 14 is operated based on the program data, thereby realizing the functions of each unit of the document processing apparatus 2 described below. it can.

【0026】本実施例の文書処理装置2は、図1に示す
ように、文書読み込み手段22、検索手段24、置換手
段26、出力手段28を含んで構成されている。文書読
み込み手段22は、フロッピーディスクドライブ20
(図3)にセットされたフロッピーディスクにファイル
として格納されている明細書を、フロッピーディスクよ
り読み込み、メモリ16に確保された文書領域30に記
憶させる。メモリ16は例えばICメモリにより構成さ
れており、ここでは、このメモリ16の文書領域30が
本発明に係わる文書記憶手段の役割を果たしている。
As shown in FIG. 1, the document processing apparatus 2 of this embodiment includes a document reading unit 22, a search unit 24, a replacement unit 26, and an output unit 28. The document reading means 22 includes a floppy disk drive 20.
The specification stored as a file on the floppy disk set in FIG. 3 is read from the floppy disk and stored in the document area 30 secured in the memory 16. The memory 16 is constituted by, for example, an IC memory. In this case, the document area 30 of the memory 16 serves as a document storage unit according to the present invention.

【0027】明細書は、漢字、ひらがな、カタカナ、ア
ルファベット、数字などの文字や、記号を含み、これら
の文字や記号の列として表されている。そして、明細書
は、各文字や記号を表すコード(例えばシフトJISコ
ード)の列としてフロッピーディスクに格納されてお
り、したがって、文書読み込み手段22によりメモリ1
6に記憶された明細書は、文字や記号のコード列として
記憶される。
The specification includes characters such as kanji, hiragana, katakana, alphabets, and numbers, and symbols, and is represented as a sequence of these characters and symbols. The specification is stored on the floppy disk as a sequence of codes (for example, shift JIS codes) representing each character or symbol.
The specification stored in 6 is stored as a code string of characters and symbols.

【0028】そして、検索手段24は、文書記憶手段に
記憶された明細書の特許請求の範囲(単に請求の範囲と
もいう)の欄において請求項を表現する語句(ここでは
“請求項”)を検索して、その語句の後ろに記載されて
いる数字を項番として検索する。
Then, the search means 24 searches for a phrase (here, “claim”) expressing the claim in the field of claims (also simply referred to as “claim”) of the specification stored in the document storage means. Search and search for the number after the word as the item number.

【0029】置換手段26は、検索手段24が検索した
項番を含む請求項の見出しの、請求の範囲における配列
の順番を表す数字によって、検索手段24が検索した項
番を置き換える。出力手段28は、項番が正しく修正さ
れた明細書を、メモリ16の文書領域30から読み出
し、プリンタ12に出力して印刷させ、また、フロッピ
ーディスクドライブ20にセットされたフロッピーディ
スクに出力してファイルとして保持させる。
The replacement means 26 replaces the item number searched by the search means 24 with a numeral representing the order of the array in the claims in the heading of the claim including the item number searched by the search means 24. The output means 28 reads out the statement whose item number has been correctly corrected from the document area 30 of the memory 16, outputs it to the printer 12 for printing, and outputs it to a floppy disk set in the floppy disk drive 20. Retain it as a file.

【0030】次に、このように構成された文書処理装置
2の動作について、図2のフローチャートをも参照しつ
つ詳しく説明する。明細書の作成者はワープロによって
明細書を作成し、作成した明細書をフロッピーディスク
に格納して、そのフロッピーディスクをフロッピーディ
スクドライブ20にセットする。明細書を作成するワー
プロは、ワープロの機能を主に備えたワープロ専用機で
あってもよく、また、ワープロソフト(ワープロの機能
をパソコン上で実現するソフトウェア)を組み込んだパ
ソコンであってもよい。なお、ワープロによって作成さ
れた明細書は、ここでは文字が例えばシフトJISコー
ドにより表されているものとする。
Next, the operation of the document processing apparatus 2 configured as described above will be described in detail with reference to the flowchart of FIG. The creator of the statement prepares the statement by a word processor, stores the prepared statement in a floppy disk, and sets the floppy disk in the floppy disk drive 20. The word processor that creates the specification may be a dedicated word processor mainly equipped with the functions of a word processor, or may be a personal computer in which word processing software (software that realizes the functions of the word processor on a personal computer) is incorporated. . Note that, in the specification prepared by the word processor, the characters are represented by, for example, shift JIS codes.

【0031】また、この明細書には、複数の請求項が記
載されており、具体的には、一例として図4の説明図に
示すように、請求項1と請求項2との間に追加した請求
項が請求項20として記載され、請求項2ではその末尾
部で“・・・により構成されていることを特徴とする請
求項20記載の制御装置。”のように上記請求項20を
引用し、一方、請求項20では“・・・であることを特
徴とする請求項1記載の制御装置。”のように請求項1
を引用しているものとする。
In this specification, a plurality of claims are described. More specifically, as shown in the explanatory diagram of FIG. Claim 20 is described as Claim 20. In Claim 2, the control device according to Claim 20 is provided at the end with "...". On the other hand, in the twentieth aspect, the control device according to the first aspect is "...".
Is quoted.

【0032】図2のフローチャートに示すように、ま
ず、文書読み込み手段22は、フロッピーディスクドラ
イブ20にセットされたフロッピーディスクにファイル
として格納されている明細書を、フロッピーディスクよ
り読み込み、メモリ16に確保された文書領域30(図
1)に記憶させる(ステップA1)。明細書は上述のよ
うにコード列として表されており、各コードは、明細書
を構成する各文字の配列の順に、例えばメモリ16の小
さいアドレスから大きいアドレスへと格納される。
As shown in the flowchart of FIG. 2, first, the document reading means 22 reads the specification stored as a file on the floppy disk set in the floppy disk drive 20 from the floppy disk and secures it in the memory 16. It is stored in the document area 30 (FIG. 1) (step A1). The specification is represented as a code string as described above, and each code is stored in the order of arrangement of each character constituting the specification, for example, from a small address of the memory 16 to a large address.

【0033】次に、置換手段26は、以降の置換処理に
おいて用いる置換テーブル32をメモリ16上に作成す
る(ステップA2)。すなわち、置換手段26は、文書
領城30に格納されている明細書の[特許請求の範囲]
の欄で、請求項の見出しを順次検索し、その見出しに含
まれる数字、すなわち項番を抽出する。そして、項番を
抽出するごとに、項番を表す数字と、その項番を含む見
出しの、特許請求の範囲における配列の順番を表す数字
とを対応づけてメモリ16に記憶させる。その結果、図
4に示した例文に関しては、1に対しては1が、20に
対しては2が、2に対しては3がそれぞれ記憶されるこ
とになる。なお、置換手段26は、請求項の見出しの検
索を、例えば文字列“[請求項”を検索することで行
う。また、項番の抽出は、請求項の語句につづいて記憶
されている数字を抽出することで行う。その際、数字が
複数桁から成るときは、連続して記憶されている個々の
数字をすべて抽出することで全桁を抽出する。
Next, the replacement means 26 creates a replacement table 32 to be used in the subsequent replacement process on the memory 16 (step A2). That is, the replacement means 26 determines the [Claims] of the specification stored in the document area 30.
, The heading of the claim is searched in order, and the number included in the heading, that is, the item number is extracted. Each time the item number is extracted, the number indicating the item number and the number indicating the order of the array in the claims of the heading including the item number are stored in the memory 16 in association with each other. As a result, as for the example sentence shown in FIG. 4, 1 is stored for 1; 2 is stored for 20; 3 is stored for 2; The replacement unit 26 searches for the headline of the claim by, for example, searching for the character string "[claim]". The item number is extracted by extracting a number stored following the word in the claim. At this time, if the number is composed of a plurality of digits, all digits are extracted by extracting all the individual numbers stored in succession.

【0034】次に検索手段24は、メモリ16の文書領
域30に記憶された明細書の特許請求の範囲の欄におい
てまず、メモリ16の各アドレスに記憶されている各コ
ードを、アドレスの小さい方から大きい方へと順次調べ
ることで、請求項を表現する語句すなわち“請求項”を
検索する(ステップA3)。そして[発明の詳細な説
明]までの範囲で“請求項”が検索できたときは(ステ
ップA4でイエスの場合)ステップA5に進み、一方、
[発明の詳細な説明]までの範囲で“請求項”が検索で
きなかった場合にはステップA7に進む(ステップA4
でノーの場合)。
Next, the search means 24 first finds each code stored at each address of the memory 16 in the column of the claims stored in the document area 30 of the memory 16 by the smaller address. By searching in the order from the largest to the next, a phrase expressing a claim, that is, a "claim" is searched (step A3). If "claims" can be searched within the range of [Detailed Description of the Invention] (if YES in step A4), the process proceeds to step A5, while
If "claims" cannot be searched within the range up to [Detailed Description of the Invention], the process proceeds to step A7 (step A4).
If no).

【0035】この場合には、図4からわかるように、請
求項1の見出しに含まれる“請求項”が検索できるの
で、検索手段24はステップA5に進んで、検索した
“請求項”につづいて記載されている(すなわちメモリ
16に記憶されている)数字、すなわち“1”を抽出す
る。
In this case, as can be seen from FIG. 4, since the "claims" included in the heading of claim 1 can be searched, the search means 24 proceeds to step A5 and follows the searched "claims". (That is, stored in the memory 16), that is, "1".

【0036】そして、置換手段26は、メモリ16に記
憶されている上記置換テーブル32を調べ、項番として
の“1”に対応づけられている数字、すなわち見出しの
配列の順番を表す数字“1”を取得する。そして、この
数字を新たな項番とし、上記“1”をこの項番で置き換
える(ステップA6)。ただし、この場合には、新たな
項番も“1”であるから結果は変らない。
The replacement means 26 checks the replacement table 32 stored in the memory 16 and finds the number associated with "1" as the item number, that is, the number "1" indicating the order of the heading array. To get ". Then, this number is used as a new item number, and the above "1" is replaced with this item number (step A6). However, in this case, the result does not change because the new item number is also “1”.

【0037】その後、検索手段24は次の“請求項”の
検索を行い(ステップA3)、その結果、今度は図4に
示した明細書の請求項20の見出しに含まれる“請求
項”を検索し、さらに、この語句につづく数字“20”
を抽出する(ステップA5)。そして、置換手段26
は、メモリ16に記憶されている上記置換テーブル32
を調べ、項番としての“20”に対応づけられている数
字、すなわち見出しの配列の順番を表す数字“2”を取
得する。そして、この数字を新たな項番とし、上記“2
0”をこの項番“2”で置き換える(ステップA6)。
Thereafter, the search means 24 searches for the next "claim" (step A3). As a result, the "claim" included in the heading of claim 20 in the specification shown in FIG. Search, and furthermore, the number “20” following this phrase
Is extracted (step A5). And the replacement means 26
Is the replacement table 32 stored in the memory 16
To obtain a number associated with “20” as an item number, that is, a number “2” representing the order of the heading array. Then, this number is used as a new item number, and the above “2”
"0" is replaced with this item number "2" (step A6).

【0038】検索手段24および置換手段26はこのよ
うな処理を、“請求項”が検索できなくなるまで繰り返
して実行する。その結果、図4の明細書の例において、
もとの請求項20の引用部に含まれる項番は結果として
“1”のままであるが、つづく請求項の見出しに含まれ
る項番“2”は“3”に置換され、さらにその引用部に
含まれる項番“20”は“2”に置換されて、請求の範
囲に含まれる項番はすべて正しい項番に置き換えられ
る。
The searching means 24 and the replacing means 26 repeatedly execute such processing until a "claim" cannot be searched. As a result, in the example of the specification of FIG.
As a result, the item number included in the quoted part of the original claim 20 remains “1”, but the item number “2” included in the heading of the subsequent claim is replaced with “3”, and the reference number is further changed. The item number “20” included in the section is replaced with “2”, and all the item numbers included in the claims are replaced with correct item numbers.

【0039】その後、出力手段28は、項番が修正され
た明細書を、メモリ16の文書領域30から読み出し、
プリンタ12に出力して印刷させ、また、フロッピーデ
ィスクドライブ20にセットされたフロッピーディスク
に出力してファイルとして保持させる(ステップA
7)。
After that, the output means 28 reads out the specification with the corrected item number from the document area 30 of the memory 16 and
Output to the printer 12 for printing, and output to a floppy disk set in the floppy disk drive 20 and hold it as a file (step A).
7).

【0040】したがって、明細書の作成者は、新たな請
求項を請求の範囲の途中に追加する場合でも、追加する
請求項を他の請求項と区別できる項番にして追加すべき
位置に挿入しておき、そして、本実施例の文書処理装置
により処理を行うことで、項番を極めて容易に、かつミ
スなく修正することができる。これにより、能率よく明
細書を作成することが可能となり、さらに記載ミスも解
消できる。
Therefore, even when a new claim is added in the middle of the scope of the claims, the creator of the specification inserts the added claim into a section number that can be distinguished from other claims and inserts it at the position where it should be added. In addition, by performing the processing by the document processing apparatus of the present embodiment, the item number can be corrected very easily and without mistake. As a result, it is possible to efficiently prepare a specification, and it is possible to eliminate a description error.

【0041】なお、この実施例では、請求項を途中に追
加した場合を例に説明したが、途中の請求項を削除した
場合も、検索手段24および置換手段26がそれぞれ上
述の場合と同様に動作することで、各項番は正しい項番
に修正される。また、検索手段24は、“請求項”を検
索する際、この語句に含まれる一部の文字のみを検索す
るようにしても、同様の機能を果たすことができる。例
えば“求項”を検索してつづく数字を抽出したり、ある
いは“請”を検索して、この語句の後ろに、2文字おい
て記載されている数字を抽出するようにしてもよい。
In this embodiment, the case where a claim is added in the middle has been described as an example. However, when a claim in the middle is deleted, the search means 24 and the replacement means 26 are each provided in the same manner as in the above case. By operating, each item number is corrected to a correct item number. Further, when searching for "claims", the search means 24 can perform the same function even when searching for only some of the characters included in the phrase. For example, a search may be made for "request" to extract a number to be continued, or "search" may be searched for to extract a number described two characters after the word.

【0042】また、この実施例では、置換手段26が、
見出しに含まれる項番と、その項番を含む見出しの配列
の順番とを対応づけてメモリ16に記憶させ、置換テー
ブル32を作成するとしたが、見出しに含まれる項番の
みを、見出しの配列の順番にメモリ16に格納するよう
にしても項番の置換は可能である。その場合には、項番
がメモリ16に格納されている順番により、その項番を
含む見出しの配列の順番を識別すればよい。
In this embodiment, the replacement means 26
The item number included in the heading and the order of the array of the heading including the item number are stored in the memory 16 in association with each other, and the replacement table 32 is created. Can be replaced by storing them in the memory 16 in this order. In that case, the order of the heading array including the item number may be identified by the order in which the item numbers are stored in the memory 16.

【0043】次に第2の実施例について説明する。この
第2の実施例の文書処理装置は請求項3および4の発明
に係わり、図5は第2の実施例の文書処理装置を示すブ
ロック図、図6は、図5の文書処理装置が発明の文書処
理方法にもとづいて実行する処理の手順を示すフローチ
ャートである。なお、図5において、図1と同一の要素
には同一の符号を付し、それらに関する詳しい説明はこ
こでは省略する。
Next, a second embodiment will be described. The document processing apparatus according to the second embodiment relates to the third and fourth aspects of the present invention. FIG. 5 is a block diagram showing the document processing apparatus according to the second embodiment, and FIG. 9 is a flowchart showing a procedure of a process executed based on the document processing method of FIG. In FIG. 5, the same elements as those in FIG. 1 are denoted by the same reference numerals, and detailed description thereof will be omitted.

【0044】この文書処理装置34も、具体的には図3
に示したパソコン4により構成できる。パソコン4につ
いてはすでに詳しく説明したのでここでは説明を省略す
る。そして、必要なプログラムデータを例えばハードデ
ィスクドライブ18からメモリ16にロードし、CPU
14をそのプログラムデータにもとづいて動作させるこ
とで、以下に説明する文書処理装置34の各部の機能を
実現できる。
This document processing device 34 is also described in detail in FIG.
Can be configured by the personal computer 4 shown in FIG. Since the personal computer 4 has already been described in detail, the description is omitted here. Then, necessary program data is loaded from, for example, the hard disk drive 18 to the memory 16 and the CPU
By operating the computer 14 based on the program data, the functions of each unit of the document processing apparatus 34 described below can be realized.

【0045】第2の実施例の文書処理装置34は、図5
に示すように、文書読み込み手段22、先頭識別手段3
6、末尾識別手段38、文章作成手段40、文章書き込
み手段42、出力手段28を含んで構成されている。先
頭識別手段36は、メモリ16の文書領域30に記憶さ
れた明細書の[発明の詳細な説明]の欄において、図の
文字(“図”とも記す)を検索し、この文字につづいて
記載されている数字、すなわち図番を検索することで、
“図1”、“図10”などの図面を特定する語句(ここ
では図面特定語句ともいう)を検索し、本実施例ではこ
の語句につづく位置を抽出すべき文章の先頭位置として
識別する。末尾識別手段38は、先頭識別ステップで識
別した先頭位置の後ろに最初に記載されている図の文字
を検索して、その位置を末尾位置として識別する。
The document processing apparatus 34 according to the second embodiment has a structure shown in FIG.
As shown in the figure, the document reading means 22, the head identification means 3
6, the end identification means 38, the text creation means 40, the text writing means 42, and the output means 28. The head identifying means 36 searches for the characters of the figure (also referred to as “figure”) in the “Detailed description of the invention” section of the specification stored in the document area 30 of the memory 16 and writes the description following this character. By searching for the number that has been done, that is, the figure number,
A phrase that specifies a drawing such as “FIG. 1” or “FIG. 10” (here, also referred to as a drawing-specific phrase) is searched, and in this embodiment, the position following this phrase is identified as the head position of the text to be extracted. The tail identification means 38 searches for the character of the figure described first after the head position identified in the head identification step, and identifies that position as the tail position.

【0046】文章作成手段40は、先頭識別手段36が
識別した先頭位置から、末尾識別手段38が識別した末
尾位置までの文字列の主要部分を主要部分とする文章を
作成する。なお、図面を説明する文章には読点その他の
記号が含まれる場合もあるが、上記文字列には無論この
ような記号も含まれているものとする。文章書き込み手
段42は、文章作成手段40が作成した文章を、文書中
の所定箇所に書き込む。
The sentence creating means 40 creates a sentence whose main part is the main part of the character string from the head position identified by the head identification means 36 to the end position identified by the end identification means 38. Although the text explaining the drawings may include reading marks and other symbols, it is assumed that such characters are included in the character string. The sentence writing means 42 writes the sentence created by the sentence creation means 40 at a predetermined location in the document.

【0047】次にこのように構成された文書処理装置3
4の動作について、図6のフローチャートをも参照して
詳しく説明する。明細書の作成者はワープロによって明
細書を作成し、上述の場合と同様、作成した明細書をフ
ロッピーディスクに格納して、そのフロッピーディスク
をフロッピーディスクドライブ20にセットする。フロ
ッピーディスクに格納されている明細書には、図7の説
明図に示すように、図面に関する説明文が記載されてい
るものとする。
Next, the document processing apparatus 3 configured as described above
The operation of No. 4 will be described in detail with reference to the flowchart of FIG. The creator of the specification prepares the specification by a word processor, stores the prepared specification on a floppy disk, and sets the floppy disk in the floppy disk drive 20 in the same manner as described above. It is assumed that the description stored on the floppy disk contains a description related to the drawing as shown in the explanatory diagram of FIG.

【0048】図6のフローチャートに示すように、ま
ず、文書読み込み手段22は、上述の場合と同様に、フ
ロッピーディスクドライブ20にセットされたフロッピ
ーディスクにファイルとして格納されている明細書を、
フロッピーディスクより読み込み、メモリ16に確保さ
れた文書領域30(図5)に記憶させる(ステップB
1)。
As shown in the flowchart of FIG. 6, first, the document reading means 22 reads the specification stored as a file on the floppy disk set in the floppy disk drive 20 in the same manner as described above.
The data is read from the floppy disk and stored in the document area 30 (FIG. 5) secured in the memory 16 (step B).
1).

【0049】その後、まず文章書き込み手段42は、明
細書中に[図面の簡単な説明]の欄を確保する(ステッ
プB2)。すなわち、文書領域30に記憶されている明
細書において、[発明の効果]の欄を検索し、その欄の
末尾を識別する。そして、その末尾につづく行に、[図
面の簡単な説明]の見出しを書き込む。
Thereafter, the text writing means 42 secures a column of [Brief Description of the Drawings] in the specification (step B2). That is, in the specification stored in the document area 30, the column of [Effect of the Invention] is searched, and the end of the column is identified. Then, the heading of [Brief description of drawings] is written in the line following the end.

【0050】次に、先頭識別手段36は、メモリ16の
文書領域30に記憶された明細書の[発明の詳細な説
明]の欄において、まず“図”を検索する(ステップB
3)。そして、“図”が見つかった場合(ステップB4
でイエスの場合)はステップB5に進み、見つからなか
った場合(ステップB4でノーの場合)は処理を終了す
る。
Next, the head identification means 36 first searches for a "drawing" in the "detailed description of the invention" section of the specification stored in the document area 30 of the memory 16 (step B).
3). Then, if a “figure” is found (step B4
If yes in step B4, the process proceeds to step B5, and if not found (if no in step B4), the process ends.

【0051】図7に示した例文で具体的に説明すると、
“図1は、・・・”という文章の“図”が見つかるの
で、先頭識別手段36は、“図”につづいて記載されて
いる数字を検索する。これにより“図1”という図面特
定語句が検索されたことになる。そして先頭識別手段3
6は、検索した図面特定語句の後ろに最初に記載されて
いる文字、すなわち“は”の位置を先頭位置として識別
し、そのアドレスをメモリ16の所定領域に格納する
(ステップB5)。先頭識別手段36は、また、上述の
ように検索した図面特定語句“図1”を、メモリ16の
図面特定語句領域(図示せず)に格納する。
More specifically, referring to the example sentence shown in FIG.
Since “FIG. 1” is found in the sentence “FIG. 1,” the head identifying unit 36 searches for the number described after “FIG.”. This means that the drawing-specific phrase “FIG. 1” has been searched. And head identification means 3
6 identifies the character described first after the retrieved drawing specific phrase, that is, the position of "ha" as the head position, and stores the address in a predetermined area of the memory 16 (step B5). The head identifying means 36 also stores the drawing-specific phrase “FIG. 1” retrieved as described above in the drawing-specific phrase area (not shown) of the memory 16.

【0052】次に、末尾識別手段38は、メモリ16の
上記所定領域から上記アドレスを読み出し、そのアドレ
ス以降において、“図”を検索する(ステップB6)。
そして、“図”が見つかった場合(ステップB7でイエ
スの場合)はステップB8に進み、見つからなかった場
合(ステップB7でノーの場合)は処理を終了する。
Next, the end identification means 38 reads the address from the predetermined area of the memory 16, and searches for a "drawing" after the address (step B6).
Then, if a "figure" is found (YES in step B7), the process proceeds to step B8, and if not (NO in step B7), the process ends.

【0053】図7の例文では、上記アドレス(先頭位
置)以降で最初に見つかるのは、“・・・ブロック図”
の“図”であり、末尾識別手段38は、この“図”を検
索して、その位置を末尾位置として識別し、そのアドレ
スをメモリ16の所定領域に格納する(ステップB
8)。
In the example sentence of FIG. 7, the first thing to be found after the above address (head position) is "... block diagram"
The end identification means 38 retrieves the "diagram", identifies the position as the end position, and stores the address in a predetermined area of the memory 16 (step B).
8).

【0054】つづいて、文章作成手段40は、先頭位置
のアドレスおよび末尾位置のアドレスをそれぞれメモリ
16の上記所定領域から読み出し、これらのアドレスの
間に記載されている文字列を文書領域30から読み出
し、メモリ16のバッファ領域(図示せず)に格納す
る。そして、このバッファ領域において、文字列の先頭
の“は”を削除し、一方、文字列の末尾に“である。”
を付加して、“図1”に関する説明文“本発明による制
御装置の一例を示すブロック図である。”を完成させる
(ステップB9)。
Subsequently, the sentence preparation means 40 reads the address of the head position and the address of the end position from the predetermined areas of the memory 16 respectively, and reads the character string written between these addresses from the document area 30. , In a buffer area (not shown) of the memory 16. Then, in this buffer area, the character string "" at the beginning of the character string is deleted, while "" is at the end of the character string.
Is added to complete the description sentence "FIG. 1" is a block diagram showing an example of the control device according to the present invention (step B9).

【0055】その後、文書書き込み手段22は、メモリ
16の上記図面特定語句領域から、先頭識別手段36が
格納した“図1”の語句を読み出し、前後に括弧を付加
して“[図1]”とし、この図番見出しを、ステップB
2で書き込んだ[図面の簡単な説明]の見出しにつづく
行の先頭部に書き込む。さらに、次の行に、上記図面の
説明文を上記バッファ領域から読み出して書き込む(ス
テップB10)。
Thereafter, the document writing unit 22 reads the phrase of “FIG. 1” stored by the head identification unit 36 from the drawing specific phrase region of the memory 16 and adds parentheses before and after “[FIG. 1]”. And this drawing number heading is
Write at the beginning of the line following the heading [Brief description of drawing] written in step 2. Further, the description of the drawing is read from the buffer area and written in the next line (step B10).

【0056】その後、処理はステップB3に戻り、先頭
識別手段36は、図7の例文において、次の“図”およ
びつづく“2”を検索して“図2は・・・”の“は”の
位置を先頭位置として識別し(ステップB5)、末尾検
索手段は、“・・・回路図”の“図”を検索して(ステ
ップB6)、その位置を末尾位置として識別する(ステ
ップB8)。
Thereafter, the process returns to step B3, and the head identifying means 36 searches for the next "figure" and the following "2" in the example sentence of FIG. Is identified as the start position (step B5), and the end search means searches the "drawing" of "..circuit diagram" (step B6) and identifies the position as the end position (step B8). .

【0057】そして、文章作成手段40は、上記先頭位
置から末尾位置までの文字列をもとに、上述の場合と同
様にして“制御装置を構成する誤差判定回路を示す回路
図である。”という図面の説明文を完成させる。そし
て、文章書き込み手段42は、この説明文を、“[図
2]”の見出しと共に、文書領域30に格納された明細
書において、上記図1の説明文の次の行以降に書き込
む。
The sentence creating means 40 is based on the character string from the start position to the end position, and is "a circuit diagram showing an error determination circuit constituting the control device" in the same manner as described above. Is completed. Then, the text writing unit 42 writes this description together with the heading “[FIG. 2]” in the specification stored in the document area 30 in the line following the description of FIG.

【0058】そして、先頭識別手段36は再び、次の
“図”を検索することになる(ステップB3)。ここ
で、文書領域30に格納された明細書では、図面として
図1および図2だけが参照されており、上記図2の説明
文より後ろには他の図面に関する説明文や、図1、図2
に関する引用文(例えば“図1に示すように”など)が
記載されていないとすると、先頭識別手段36は“図”
を発見できず(ステップB4でノー)、ステップB11
の処理が行われることになる。
Then, the head identifying means 36 again searches for the next "drawing" (step B3). Here, in the specification stored in the document area 30, only FIG. 1 and FIG. 2 are referred to as drawings, and the description of FIG. 2
If no citation (eg, “as shown in FIG. 1”) is described, the head identification means 36
Could not be found (No in step B4), and step B11
Is performed.

【0059】このようにして、図面の説明文の抽出、加
工の処理が終了すると、出力手段28は、明細書をメモ
リ16の文書領域30から読み出し、プリンタ12に出
力して印刷させ、また、フロッピーディスクドライブ2
0にセットされたフロッピーディスクに出力してファイ
ルとして保持させる(ステップB11)。ここで出力手
段28が出力する明細書では、上述のような処理の結
果、図8の説明図に示すように、[図面の簡単な説明]
の欄が記載されたものとなっている。
When the process of extracting and processing the explanatory text of the drawing is completed in this way, the output means 28 reads the specification from the document area 30 of the memory 16 and outputs it to the printer 12 for printing. Floppy disk drive 2
The data is output to the floppy disk set to 0 and stored as a file (step B11). Here, in the specification output by the output unit 28, as a result of the above-described processing, as shown in the explanatory diagram of FIG.
Column is described.

【0060】したがって、明細書の作成者は、図面の説
明文を[発明の詳細な説明]の欄に記載した場合には、
[図面の簡単な説明]の欄を作成する必要がなく、二度
手間を省いて能率よく明細書を作成することができる。
また、[図面の簡単な説明]の欄を記載しなくてよいの
で、記載ミスが生じる可能性も小さくなる。
Accordingly, when the creator of the specification writes the description of the drawing in the “Detailed description of the invention” column,
There is no need to create a column of [Brief Description of the Drawings], and the specification can be efficiently created without the need for twice.
Further, since there is no need to describe the column of [Brief Description of the Drawings], the possibility of a description error is reduced.

【0061】なお、この実施例では文書が明細書である
としたが、本発明は明細書に限らず、文書中に図面に関
する説明文が記載されており、各図面の説明文をリスト
アップするような場合などに広く応用できる。また、こ
の実施例では、“図1は”などを除去した説明文を作成
したが、この部分も含めた説明文、例えば“図1は本発
明による制御装置の一例を示すブロック図である。”な
どを作成し、図面の説明文として例えば文書中の所定箇
所に記載することも容易である。
In this embodiment, it is assumed that the document is a specification. However, the present invention is not limited to the specification, and a description about a drawing is described in the document, and the description of each drawing is listed. It can be widely applied in such cases. Further, in this embodiment, an explanatory note in which "FIG. 1" is removed is created, but an explanatory note including this part, for example, "FIG. 1 is a block diagram showing an example of a control device according to the present invention. "Can be easily created and described as an explanatory note of the drawing, for example, at a predetermined location in a document.

【0062】そして、図面の説明文が“第1図は本発明
による制御装置の一例を示すブロック図、・・・”のよ
うに、“第1”、“第2”などの序数詞により各図が区
別されていたり、“1図”、“2図”のように記載され
ている場合でも、本発明は有効である。この場合、“第
1図”、“1図”などが本発明に係わる図面特定語句で
ある。
Then, in the description of the drawings, as shown in "FIG. 1 is a block diagram showing an example of a control device according to the present invention,...", Each figure is expressed by ordinal numbers such as "first" and "second". The present invention is effective even if are distinguished from each other or are described as “FIG. 1” or “FIG. 2”. In this case, “FIG. 1”, “FIG. 1”, and the like are drawing-specific phrases according to the present invention.

【0063】さらに、この実施例では、末尾識別手段3
8は、図の文字を検索するとしたが、“ブロック図”、
“回路図”、“タイミングチャート”などの図面の名称
を検索して、抽出すべき文章の末尾位置を識別する構成
とすることも無論可能である。その場合には、例えば、
一般的な図面の名称を予めメモリ16に記憶させてお
き、それらを順次メモリ16から読み出して文書中で検
索すればよい。
Further, in this embodiment, the end identification means 3
8 is to search for characters in the figure, but “block diagram”,
Of course, it is of course possible to search for a drawing name such as “circuit diagram” or “timing chart” to identify the end position of the text to be extracted. In that case, for example,
General drawing names may be stored in the memory 16 in advance, and these may be sequentially read out from the memory 16 and searched in a document.

【0064】次に第3の実施例について説明する。この
第3の実施例の文書処理装置は請求項5ないし10の発
明に係わり、図9は第3の実施例の文書処理装置を示す
ブロック図、図10は、図9の文書処理装置が発明の文
書処理方法にもとづいて実行する処理の手順を示すフロ
ーチャートである。なお、図9において、図1と同一の
要素には同一の符号を付し、それらに関する詳しい説明
はここでは省略する。
Next, a third embodiment will be described. FIG. 9 is a block diagram showing a document processing apparatus according to the third embodiment. FIG. 10 is a block diagram showing the document processing apparatus according to the third embodiment. 9 is a flowchart showing a procedure of a process executed based on the document processing method of FIG. In FIG. 9, the same elements as those in FIG. 1 are denoted by the same reference numerals, and a detailed description thereof will be omitted.

【0065】この文書処理装置44も、具体的には図3
に示したパソコン4により構成できる。パソコン4につ
いてはすでに詳しく説明したのでここでは説明を省略す
る。そして、必要なプログラムデータを例えばハードデ
ィスクドライブ18からメモリ16にロードし、CPU
14をそのプログラムデータにもとづいて動作させるこ
とで、以下に説明する文書処理装置44の各部の機能を
実現できる。
This document processing device 44 is also described in detail in FIG.
Can be configured by the personal computer 4 shown in FIG. Since the personal computer 4 has already been described in detail, the description is omitted here. Then, necessary program data is loaded from, for example, the hard disk drive 18 to the memory 16 and the CPU
By operating the computer 14 based on the program data, the functions of each unit of the document processing device 44 described below can be realized.

【0066】第3の実施例の文書処理装置44は、図9
に示すように、文書読み込み手段22、段落長判定手段
46、コード検索手段48、番号挿入手段50、出力手
段28、動作モード切り替え手段52を含んで構成され
ている。段落長判定手段46は、メモリ16の文書領域
30に記憶された明細書の[発明の詳細な説明]の欄に
おいて段落を見つけ、その長さが基準長より長いか否か
を判定する。具体的には、本実施例では、段落長判定手
段46は段落の行数を計数し、その行数が一例として2
行を越えるか否かを判定する。なお、この基準の行数は
必要に応じて種々に設定すればよく、2行に限定される
ものではない。段落長判定手段46はまた、段落末尾位
置を番号入力手段50に通知する。
The document processing apparatus 44 according to the third embodiment has the configuration shown in FIG.
As shown in the figure, the document reading means 22, paragraph length determining means 46, code searching means 48, number inserting means 50, output means 28, and operation mode switching means 52 are included. The paragraph length determining means 46 finds a paragraph in the column of “Detailed description of the invention” of the specification stored in the document area 30 of the memory 16 and determines whether or not the length is longer than the reference length. Specifically, in the present embodiment, the paragraph length determining means 46 counts the number of lines in the paragraph, and the number of lines is 2 as an example.
Determines whether to cross the line. The reference number of rows may be variously set as needed, and is not limited to two rows. The paragraph length determining means 46 also notifies the number input means 50 of the paragraph end position.

【0067】コード検索手段48は、メモリ16の文書
領域30に記憶された明細書の[発明の詳細な説明]の
欄において段落を見つけ、その末尾部に記載されている
第1または第2の識別記号(すなわち所定のコード)を
検索する。この実施例では、一例として第1の識別記号
は“&”であり、第2の識別記号は“*”であるとす
る。コード検索手段48はまた、段落末尾位置を番号入
力手段50に通知する。なお、段落長判定手段46およ
びコード検索手段48は、見出しを検索する機能も有し
ているが、これについては後に詳しく説明する。番号挿
入手段50は、段落長判定手段46またはコード検索手
段48からの段落末尾位置の通知を受けて、段落の最後
の行の次に空行を確保し、その行に段落ごとに異なりか
つ連続する段落番号を入力する。
The code search means 48 finds a paragraph in the [Detailed description of the invention] section of the specification stored in the document area 30 of the memory 16, and finds the first or second paragraph described at the end thereof. Search for an identification symbol (ie, a predetermined code). In this embodiment, as an example, it is assumed that the first identification symbol is “&” and the second identification symbol is “*”. The code search means 48 also notifies the number input means 50 of the paragraph end position. The paragraph length determining means 46 and the code searching means 48 also have a function of searching for a heading, which will be described later in detail. The number inserting means 50 receives the notification of the paragraph end position from the paragraph length determining means 46 or the code retrieving means 48 and secures a blank line next to the last line of the paragraph. Enter the paragraph number you want to use.

【0068】この文書処理装置44は3種類の動作モー
ドA、B、Cのいずれかで動作する。動作モードAは特
に請求項5および6の発明に係わり、モードBは特に請
求項7および8の発明に、モードCは特に請求項9およ
び10の発明にそれぞれ係わる。そして、動作モード切
り替え手段52は、キーボード8で行われるキー操作に
したがって、文書処理装置44の動作モードを切り替え
るべく、コード検索手段48および番号挿入手段50を
制御する。詳しくは、モードAに設定するときは、段落
長判定手段46を起動する一方、コード検索手段48は
動作を停止させる。また、モードBに設定するときは、
コード検索手段48を起動して第1の識別記号を検索さ
せる一方、段落長判定手段46は動作を停止さる。そし
て、モードCに設定するときは、コード検索手段48を
起動して第2の識別記号を検索させる一方、段落長判定
手段46は動作を停止させる。
The document processing device 44 operates in one of three operation modes A, B, and C. The operation mode A particularly relates to the inventions of claims 5 and 6, the mode B particularly relates to the inventions of claims 7 and 8, and the mode C particularly relates to the inventions of claims 9 and 10. Then, the operation mode switching unit 52 controls the code search unit 48 and the number insertion unit 50 to switch the operation mode of the document processing device 44 according to the key operation performed on the keyboard 8. More specifically, when the mode is set to mode A, the paragraph length determination means 46 is activated, while the code search means 48 stops its operation. When setting to mode B,
While the code search means 48 is activated to search for the first identification symbol, the operation of the paragraph length determination means 46 is stopped. When the mode is set to the mode C, the code searching means 48 is activated to search for the second identification symbol, while the paragraph length determining means 46 stops its operation.

【0069】次に、このように構成された文書処理装置
44の動作について、図10のフローチャートをも参照
して詳しく説明する。明細書の作成者はワープロによっ
て明細書を作成し、第1、第2の実施例の場合と同様、
作成した明細書をフロッピーディスクに格納して、その
フロッピーディスクをフロッピーディスクドライブ20
にセットする。フロッピーディスクに格納されている明
細書には、図11の説明図に示すような段落構成の文が
記載されているものとし、以下ではこの例文を適宜参照
して説明する。図10のフローチャートに示すように、
まず、文書読み込み手段22は、上述の場合と同様に、
フロッピーディスクドライブ20にセットされたフロッ
ピーディスクにファイルとして格納されている明細書
を、フロッピーディスクより読み込み、メモリ16に確
保された文書領域30(図5)に記憶させる(ステップ
C1)。
Next, the operation of the document processing apparatus 44 thus configured will be described in detail with reference to the flowchart of FIG. The creator of the statement prepares the statement by a word processor and, as in the first and second embodiments,
The prepared statement is stored on a floppy disk, and the floppy disk is stored in a floppy disk drive 20.
Set to. It is assumed that the specification stored in the floppy disk includes a paragraph-structured sentence as shown in the explanatory diagram of FIG. 11, and the following description will be given with reference to this example sentence as appropriate. As shown in the flowchart of FIG.
First, the document reading unit 22 performs the same operation as described above,
The specification stored as a file on the floppy disk set in the floppy disk drive 20 is read from the floppy disk and stored in the document area 30 (FIG. 5) secured in the memory 16 (step C1).

【0070】文書処理装置44の動作モードは上述のよ
うに動作モード切り替え手段52によりキーボード8に
おける操作にもとづいて設定されるが、以下では、この
ように設定された各モードA、B、Cの動作を順次説明
する。まず、モードAの場合の動作を説明する。このモ
ードでは、段落長判定手段46は、メモリ16の文書領
域30に記憶された明細書の[発明の詳細な説明]の欄
においてまず段落を見つける(ステップC2)。その
際、段落長判定手段46は、次の2つの条件のいずれか
により段落か否かを識別する。第1の条件は、文章が句
点“。”で終り、改行されていることであり、第2の条
件は見出しが記載されていることである。
The operation mode of the document processing apparatus 44 is set by the operation mode switching means 52 based on the operation on the keyboard 8 as described above. In the following, each of the modes A, B, and C thus set will be described. The operation will be described sequentially. First, the operation in the mode A will be described. In this mode, the paragraph length determining means 46 first finds a paragraph in the column of "Detailed description of the invention" in the specification stored in the document area 30 of the memory 16 (step C2). At this time, the paragraph length determining means 46 determines whether the paragraph is a paragraph based on one of the following two conditions. The first condition is that the sentence ends with a period "." And is line feed, and the second condition is that a headline is described.

【0071】そして、段落長判定手段46は、上記第2
の条件で段落を識別できたときは(ステップC3でイエ
スの場合)、見出しが“[図面の簡単な説明]”に一致
するか否かにより、処理範囲の末尾であるか否かを判定
する(ステップC4)。そして、判定の結果がノーの場
合は、発見した段落の末尾の位置、すなわちメモリ16
における段落末尾のアドレスを番号挿入手段50に通知
する。なお、見出しが記載されているか否かは、例えば
“[発明の実施の形態]”といった見出し全体を検索す
るほか、見出しの先頭に記載されている“[”のみを検
索することでも行える。
Then, the paragraph length determining means 46
If the paragraph can be identified under the condition (if YES in step C3), it is determined whether or not the heading is at the end of the processing range based on whether or not the heading matches "[Brief description of drawings]". (Step C4). If the result of the determination is no, the position of the end of the found paragraph, that is, the memory 16
Is notified to the number insertion means 50. Whether or not a heading is described can be determined by searching the entire heading such as "[Embodiment of the Invention]" or by searching for only "[" described at the head of the heading.

【0072】一方、第2の条件ではなく、第1の条件で
段落を識別できたときは(ステップC3でノーの場
合)、その段落の行数を計数し(ステップC5)、行数
が2行を越えるか否かを判定して(ステップC6)、行
数が2行を越えた場合には、段落の末尾の位置、すなわ
ちメモリ16における段落末尾のアドレスを番号挿入手
段50に通知する(イエスの場合)。一方、行数が2行
を越えない場合には(ノーの場合)、ステップC2に戻
り、次の段落を見つける。なお、第1の条件で段落を識
別する際、段落長判定手段46は、文章が改行されてい
るか否かを改行コードが“。”につづいて記憶されてい
るか否かにより判定する。
On the other hand, if a paragraph can be identified under the first condition instead of the second condition (No in step C3), the number of lines in the paragraph is counted (step C5), and the number of lines is reduced to two. It is determined whether the number of lines exceeds the line (step C6). If the number of lines exceeds two lines, the position of the end of the paragraph, that is, the address of the end of the paragraph in the memory 16 is notified to the number insertion means 50 (step C6). If yes). On the other hand, if the number of lines does not exceed two lines (if no), the process returns to step C2 to find the next paragraph. When a paragraph is identified under the first condition, the paragraph length determining means 46 determines whether or not the text is line-breaked, based on whether or not the line-break code is stored after “.”.

【0073】そして、番号挿入手段50は、段落末尾の
アドレスを通知されると、メモリ16の文書領域30に
記憶された明細書において、通知された段落末尾の位置
の次の行に“[”、“]”により挟んだ4桁のアラビア
数字による段落番号を挿入する。番号挿入手段50は、
初期値が1のカウンタを有しており、このカウンタの値
にもとづいて上記段落番号を決める。そして、一度、段
落番号を挿入した後は、次の段落番号の挿入に備えてカ
ウンタの値を1だけ増加させる。
When notified of the address of the end of the paragraph, the number insertion means 50 adds “[” to the line next to the notified end of the paragraph in the specification stored in the document area 30 of the memory 16. , "]", A four-digit Arabic numeral paragraph number is inserted. The number insertion means 50
There is a counter whose initial value is 1, and the paragraph number is determined based on the value of this counter. After the paragraph number is inserted once, the value of the counter is increased by 1 in preparation for insertion of the next paragraph number.

【0074】図11の例文により具体的に説明すると、
段落長判定手段46は、例文の最初の行の末尾が句点で
終って改行されており、また、次行に見出し“[発明の
実施の形態]”が記載されているので、ここで最初の段
落を見つける(ステップC2)。そして、この場合には
次行に見出しが記載されているので、ステップC3から
ステップC4に進み、処理範囲の末尾か否かを判定す
る。この場合の見出しは上述のように[発明の実施の形
態]であるから、判定結果はノーとなり、したがって、
段落長判定手段46は、例文における最初の段落の末尾
位置を番号挿入手段50に通知する。
More specifically, referring to the example sentence of FIG.
The paragraph length determining means 46 determines that the first line of the example sentence ends with a punctuation and is line-breaked, and that the heading “[Embodiment of the invention]” is described in the next line. Find a paragraph (step C2). Then, in this case, since the heading is described in the next line, the process proceeds from step C3 to step C4 to determine whether or not the processing range is at the end. Since the heading in this case is [Embodiment of the Invention] as described above, the determination result is no, and therefore,
The paragraph length determination unit 46 notifies the number insertion unit 50 of the end position of the first paragraph in the example sentence.

【0075】これにより、番号挿入手段50は、通知さ
れた段落末尾の位置の次の行に、上記カウンタの値にも
とづいて、“[”、“]”により挟んだ4桁のアラビア
数字による段落番号を挿入する。その結果、図11の例
文には、図12の説明図に示すように例えば段落番号
“[0023]”が挿入される。番号挿入手段50はま
た、このとき上記カウンタの値に1を加算し、24とす
る。なお、番号挿入手段50は、段落番号を入力する
際、本実施例では、“[”の前に3文字分の空白を挿入
する。
Thus, the number inserting means 50 sets the paragraph next to the notified end of the paragraph based on the value of the counter, based on the value of the counter, as a four-digit Arabic numeral between "[" and "]". Insert a number. As a result, for example, a paragraph number “[0023]” is inserted in the example sentence of FIG. 11, as shown in the explanatory diagram of FIG. At this time, the number inserting means 50 also adds 1 to the value of the counter to obtain 24. In this embodiment, when inputting a paragraph number, the number inserting means 50 inserts a space of three characters before "[".

【0076】その後、段落長判定手段46は、再び段落
を検索し(ステップC2)、今度は、図11の例文の3
行目の文章が句点で終り、そして改行されているので、
上記見出しからこの行の文章までを段落と識別する。こ
の場合、ステップC3での判定結果はノーとなるので、
段落長判定手段46は、この段落の行数を計数する(ス
テップC5)。そして、行数は2行であるから、ステッ
プC6での判定結果はノーとなり、ステップC2に戻
る。したがって、図12に示すように、この段落には段
落番号は挿入されない。
Thereafter, the paragraph length determining means 46 searches for the paragraph again (step C2), and this time, the third paragraph of the example sentence of FIG.
Because the sentence on the line ends with a period and has been broken,
Identify paragraphs from the heading to the text on this line. In this case, since the determination result in step C3 is no,
The paragraph length determining means 46 counts the number of lines in this paragraph (step C5). Then, since the number of rows is two, the determination result in step C6 is NO, and the process returns to step C2. Therefore, as shown in FIG. 12, no paragraph number is inserted in this paragraph.

【0077】段落長判定手段46は、ステップC2に戻
って再び段落を検索し、今度は、図11の例文の7行目
の文章が句点で終り、そして改行されているので、上記
段落の次の行からこの行の文章までを段落と識別する。
この場合も、ステップC3での判定結果はノーとなるの
で、段落長判定手段46は、この段落の行数を計数する
(ステップC5)。そして、行数の計数結果は4行とな
るので、ステップC6での判定結果はイエスとなり、段
落長判定手段46は、この段落の末尾位置を番号挿入手
段50に通知する。
The paragraph length determining means 46 returns to step C2 and searches for a paragraph again. This time, since the sentence on the seventh line in the example sentence of FIG. The line from the line to the sentence of this line is identified as a paragraph.
Also in this case, since the result of the determination in step C3 is NO, the paragraph length determining means 46 counts the number of lines in this paragraph (step C5). Then, since the result of counting the number of lines is four, the result of the determination in step C6 is YES, and the paragraph length determining means 46 notifies the end position of this paragraph to the number inserting means 50.

【0078】これにより、番号挿入手段50は、通知さ
れた段落末尾の位置の次の行に、上記カウンタの値にも
とづいて、“[”、“]”により挟んだ4桁のアラビア
数字による段落番号を挿入する。その結果、図11の例
文には、図12の説明図に示すように段落番号“[00
24]”が挿入される。番号挿入手段50はまた、この
とき上記カウンタの値に1を加算する。
Thus, the number inserting means 50 sets the four-digit Arabic numeral paragraph sandwiched between "[" and "]" on the line following the notified end of the paragraph based on the value of the counter. Insert a number. As a result, as shown in the explanatory diagram of FIG. 12, the example sentence of FIG.
24] "is inserted. The number inserting means 50 also adds 1 to the value of the counter at this time.

【0079】そして、段落長判定手段46および番号挿
入手段50によるこのような処理によって、図11の例
文の最後の段落(3行)につづく行にも段落番号“[0
025]”が記載される。その後、[発明の詳細な説
明]の欄の最後の段落の末尾において、段落長判定手段
46は次行に[図面の簡単な説明]の見出しを検出する
ので、ステップC4での判定結果はイエスとなり、段落
長判定手段46は、段落番号の入力処理が終了したこと
を出力手段28に通知する。
By the processing by the paragraph length determining means 46 and the number inserting means 50, the paragraph number “[0” is also added to the line following the last paragraph (three lines) in the example sentence of FIG.
025] ". At the end of the last paragraph in the column of [Detailed description of the invention], the paragraph length determining means 46 detects the heading of [Brief description of drawings] on the next line. The result of the determination in step C4 is YES, and the paragraph length determining means 46 notifies the output means 28 that the input processing of the paragraph number has been completed.

【0080】出力手段28はこれにより、明細書をメモ
リ16の文書領域30から読み出し、プリンタ12に出
力して印刷させ、また、フロッピーディスクドライブ2
0にセットされたフロッピーディスクに出力してファイ
ルとして保持させる(ステップC8)。ここで出力手段
28が出力する明細書は、図12の例文に示したよう
に、段落番号が挿入されたものとなっている。
The output means 28 reads the specification from the document area 30 of the memory 16 and outputs it to the printer 12 for printing.
The data is output to the floppy disk set to 0 and stored as a file (step C8). Here, the specification output by the output unit 28 has a paragraph number inserted as shown in the example sentence of FIG.

【0081】したがって、この文書処理装置44を利用
することにより、明細書の作成者は、自身で段落番号を
明細書中に入力する必要がなくなり、能率よく明細書を
作成することができる。また、間違った番号を記載する
といったミスも解消できる。そして、このモードでは、
短い段落に対しては段落番号が挿入されないので、文書
中に必要以上に多数の段落番号が記載されるといったこ
とがない。なお、本実施例では、行数により段落の長さ
判定したが、行数以外にも、段落を構成する文字や記号
の数によって判定することも可能である。
Therefore, by using the document processing apparatus 44, the creator of the specification does not need to input the paragraph number himself / herself in the specification, and can efficiently prepare the specification. In addition, mistakes such as writing an incorrect number can be eliminated. And in this mode,
Since the paragraph numbers are not inserted for short paragraphs, there is no case where more paragraph numbers than necessary are described in the document. In the present embodiment, the length of a paragraph is determined based on the number of lines. However, the length may be determined based on the number of characters and symbols constituting the paragraph, in addition to the number of lines.

【0082】次に、モードBでの動作について説明す
る。図13は第3の実施例の文書処理装置44がモード
Bで動作する場合の処理手順を示すフローチャートであ
る。このフローチャートが図10に示したフローチャー
トと異なるのは、ステップD2、D5、D6における処
理内容が、図10に示したフローチャートのステップC
2、C5、C6の処理内容と異なっている点である。ス
テップD1、D3、D4、D7、D8の処理内容は、ス
テップC1、C3、C4、C7、C8の処理内容と同じ
である。
Next, the operation in mode B will be described. FIG. 13 is a flowchart showing a processing procedure when the document processing device 44 of the third embodiment operates in mode B. This flowchart differs from the flowchart shown in FIG. 10 in that the processing contents in steps D2, D5, and D6 are different from those in step C2 in the flowchart shown in FIG.
2, C5 and C6. The processing contents of steps D1, D3, D4, D7, D8 are the same as the processing contents of steps C1, C3, C4, C7, C8.

【0083】このモードBでは、段落長判定手段46に
代ってコード検索手段48が起動され、コード検索手段
48はまず、メモリ16の文書領域30に記憶された明
細書の[発明の詳細な説明]の欄において、段落を見つ
ける(ステップD2)。ここで、コード検索手段48
は、上記第2の条件と、句点“。”の後ろに1文字をお
いて改行されているという第3の条件とによって段落を
識別する。
In this mode B, the code search means 48 is activated in place of the paragraph length determination means 46, and the code search means 48 first reads the detailed description of the specification stored in the document area 30 of the memory 16. In the column of [Description], a paragraph is found (step D2). Here, the code search means 48
Identifies a paragraph on the basis of the second condition and the third condition that a line feed is made with one character after the period "."

【0084】そして、第3の条件で段落を検出した場
合、コード検索手段48は、メモリ16の文書領域30
において、その段落の末尾、すなわち“。”の後ろに記
憶されているコードを抽出し(ステップD5)、そのコ
ードが第1の識別記号“&”を表すコードであるか否か
を判定する(ステップD6)。判定の結果がイエスの場
合は、第1の識別記号を削除すると共に、段落末尾の位
置を番号挿入手段50に通知する。これにより、番号挿
入手段50はモードAの場合と同様に、通知された段落
末尾の位置の次の行に段落番号を挿入する(ステップD
7)。
When a paragraph is detected under the third condition, the code search means 48 sets the document area 30
At step D5, a code stored at the end of the paragraph, that is, after "." Is extracted (step D5), and it is determined whether or not the code is a code representing the first identification symbol "&" (step D5). Step D6). If the result of the determination is yes, the first identification symbol is deleted and the position of the end of the paragraph is notified to the number insertion means 50. As a result, the number inserting means 50 inserts the paragraph number in the line next to the notified end position of the paragraph as in the case of the mode A (step D).
7).

【0085】ステップD6で判定結果がノーの場合は、
モードAの場合と同様、コード検索手段48はステップ
D2に戻って次の段落を検索する。また、ステップD3
で判定結果がイエスの場合も、モードAの場合と同様、
処理範囲の末尾か否かを調べ(ステップD4)、処理範
囲の末尾でない場合は段落末尾の位置を番号挿入手段5
0に通知し、一方、処理範囲の末尾の場合は、段落番号
の入力処理が終了したことを出力手段28に通知して結
果を出力させる(ステップD8)。したがって、例え
ば、図14の説明図に示した例文のように、7行目の文
章の末尾につづけて“&”が記載されていたとすると、
モードBの上述のような処理により、この例文に対して
図15の説明図に示すように段落番号が挿入される。
If the decision result in the step D6 is no,
As in the case of mode A, the code search means 48 returns to step D2 to search for the next paragraph. Step D3
In the case where the judgment result is yes, as in the case of mode A,
It is checked whether or not it is the end of the processing range (step D4).
0, on the other hand, if it is at the end of the processing range, the completion of the paragraph number input process is notified to the output means 28 to output the result (step D8). Therefore, for example, as in the example sentence shown in the explanatory diagram of FIG. 14, if "&" is described at the end of the sentence on the seventh line,
By the above-described processing in mode B, a paragraph number is inserted into this example sentence as shown in the explanatory diagram of FIG.

【0086】よって、この文書処理装置44を利用する
ことにより、明細書の作成者は、明細書中に単に第1の
識別記号を入力しておくだけでよく、自身で段落番号を
明細書中に入力する必要がなくなるので、能率よく明細
書を作成することができる。また、間違った番号を記載
するといったミスも解消できる。そして、このモードB
では、段落番号を付与すべき段落に対してのみ第1の識
別記号を記載しておくことで、必要な箇所にのみ段落番
号を入力するようにできる。
Therefore, by using the document processing device 44, the creator of the specification need only input the first identification symbol in the specification, and himself / herself can enter the paragraph number in the specification. Since there is no need to input the information, the specification can be efficiently created. In addition, mistakes such as writing an incorrect number can be eliminated. And this mode B
In such a case, the first identification symbol is described only for the paragraph to which the paragraph number is to be assigned, so that the paragraph number can be input only to a necessary part.

【0087】次に、モードCの場合の動作について説明
する。このモードCでは、上記モードA、Bに対して図
13に示したステップD2、D6における処理内容のみ
が異なっているので、これらの点について詳しく説明す
る。コード検索手段48は、ステップD2で、第1ない
し第3の条件によって段落を検索する。そして、ステッ
プD5で、段落の末尾の後ろに記憶されているコードを
抽出した後、ステップD6で、そのコードが第2の識別
記号“*”を表すコードであるか否かを判定する。そし
て、判定の結果がイエスの場合は、第2の識別記号を削
除した後、ステップD2に戻り、次の段落を検索する。
一方、判定結果がノーの場合には、段落末尾の位置を番
号挿入手段50に通知する。これにより、番号挿入手段
50はモードAの場合と同様に、通知された段落末尾の
位置の次の行に段落番号を挿入する(ステップD7)。
Next, the operation in the mode C will be described. In the mode C, only the processing contents in steps D2 and D6 shown in FIG. 13 are different from the modes A and B, and these points will be described in detail. In step D2, the code search means 48 searches for a paragraph based on the first to third conditions. Then, after extracting the code stored after the end of the paragraph in step D5, it is determined in step D6 whether the code is a code representing the second identification symbol "*". If the result of the determination is yes, the second identification symbol is deleted, and the process returns to step D2 to search for the next paragraph.
On the other hand, if the determination result is no, the position of the end of the paragraph is notified to the number inserting means 50. As a result, the number inserting unit 50 inserts the paragraph number in the line next to the notified end position of the paragraph as in the case of the mode A (step D7).

【0088】したがって、このモードCでは、段落末尾
の後ろに第2の識別記号が記載されていない場合には、
段落番号が挿入されるが、第2の識別記号が記載されて
いる場合には段落番号は挿入されない。そのため、例え
ば、図16の説明図に示した例文のように、3行目の文
章の末尾につづけて“*”が記載されていたとすると、
この文章を含む段落の次の行には段落番号は挿入され
ず、結果は図17の説明図に示すようなものとなる。よ
って、この文書処理装置44を利用することにより、明
細書の作成者は、自身で段落番号を明細書中に入力する
必要がなく、能率よく明細書を作成することができる。
また、間違った番号を記載するといったミスも解消でき
る。そして、このモードCでは、段落番号が不要な箇所
には第2の識別記号を記載しておくことで、段落番号が
挿入されないようにすることができ、より的確な段落番
号の入力が可能となる。
Therefore, in this mode C, if the second identification symbol is not described after the end of the paragraph,
Although the paragraph number is inserted, the paragraph number is not inserted when the second identification symbol is described. Therefore, for example, if "*" is described at the end of the text on the third line as in the example sentence shown in the explanatory diagram of FIG.
No paragraph number is inserted in the line following the paragraph containing this sentence, and the result is as shown in the explanatory diagram of FIG. Therefore, by using the document processing device 44, the creator of the specification does not need to input the paragraph number himself / herself in the specification, and can efficiently prepare the specification.
In addition, mistakes such as writing an incorrect number can be eliminated. In this mode C, the paragraph number is not inserted by writing the second identification symbol at a place where the paragraph number is unnecessary, and it is possible to input a more accurate paragraph number. Become.

【0089】なお、第1および第2の識別記号としては
種々の記号を用いることができ、上記“&”や“*”に
限定されるものではない。また、“&”のように単一の
記号ではなく例えば“**”のように複数の記号により
構成した識別記号を用いることも可能である。さらに、
上記実施例で用いたような第1および第2の識別記号の
代りに、例えば制御コードなど、文字や記号を表さない
なんらかのコードを用いることも可能である。その場合
にも、コード検索手段48が段落の末尾部に挿入された
それらのコードを検索することで、段落番号の挿入、非
挿入を的確に制御することができる。
Various symbols can be used as the first and second identification symbols, and are not limited to the above “&” and “*”. Instead of a single symbol such as "&", it is also possible to use an identification symbol composed of a plurality of symbols such as "**". further,
Instead of the first and second identification symbols used in the above-described embodiment, it is also possible to use some code that does not represent characters or symbols, such as a control code. Also in that case, the code search means 48 searches for those codes inserted at the end of the paragraph, so that the insertion and non-insertion of the paragraph number can be accurately controlled.

【0090】本実施例では、段落番号は識別した段落の
後ろに挿入するとしたが、例えば識別した段落の最初の
行の1行上に空行を確保してその行に段落番号を入力す
るというように、段落の前に段落番号を挿入することも
可能であり、また容易である。そして、本実施例では、
第1および第2の識別記号は段落の末尾部に記載されて
いるとしたが、段落の先頭部、例えば段落の最初の文字
の前に記載するようにしてもよく、その場合にも段落番
号を付与すべき段落であるか否かを上述の場合と基本的
に同様にして識別することができる。さらに、第1およ
び第2の識別記号は、段落末尾の句点につづけて記載す
る以外にも、段落の末尾部として、例えば段落末尾行の
次の行の先頭に記載し、つづく段落はさらに次の行より
記載するというようにしてもよい。識別記号を段落の先
頭部に記載する場合も同様に、段落の先頭部として、例
えば1行上の行に識別記号を記載する行を確保し、その
先頭に記載するようにしてもよい。また、本実施例で
は、コード検索手段48は段落を見つけた後、第1また
は第2の識別記号を検索するとしたが、先に識別記号を
検索し、その後、段落であるか否かを判定するようにし
ても結果は同じである。
In this embodiment, the paragraph number is inserted after the identified paragraph. For example, a blank line is secured on one line of the first line of the identified paragraph, and the paragraph number is input to that line. As described above, it is possible and easy to insert a paragraph number before a paragraph. And in this embodiment,
Although the first and second identification symbols are described at the end of the paragraph, they may be described at the beginning of the paragraph, for example, before the first character of the paragraph. Can be identified basically in the same manner as described above. Furthermore, the first and second identification symbols are described following the terminating point at the end of the paragraph. In addition, the first and second identification symbols are described at the end of the paragraph, for example, at the beginning of the line following the last line of the paragraph. May be described starting from the line. Similarly, in the case where the identification symbol is described at the head of the paragraph, a line for describing the identification symbol may be secured as the head of the paragraph, for example, in a line one line above, and may be described at the head. In this embodiment, the code search means 48 searches for the first or second identification symbol after finding the paragraph. However, the code search means 48 first searches for the identification symbol and then determines whether or not it is a paragraph. Even if you do, the result is the same.

【0091】そして、上記3種類のモードのうちの複数
を組み合せたモードで動作させることも可能である。例
えば、モードA、B、Cをすべて組み合せることで、基
本的に段落が2行を越えるときは、段落番号が付与され
るが、その場合でも第2の識別記号が記載されている場
合は段落番号は入力されず、また、段落が2行以下のと
きでも、第1の識別記号が記載されている場合には、段
落番号が付与されるようにできる。なお、この実施例で
は文書が明細書であるとしたが、本発明は明細書に限ら
ず、文書中に段落番号を記載する必要がある場合に広く
応用できる。
It is also possible to operate in a mode in which a plurality of the above three modes are combined. For example, by combining all the modes A, B, and C, a paragraph number is basically given when a paragraph exceeds two lines, but even in this case, if the second identification symbol is described, The paragraph number is not input, and even when the paragraph has two lines or less, the paragraph number can be assigned when the first identification symbol is described. In this embodiment, the document is a specification. However, the present invention is not limited to the specification but can be widely applied to a case where a paragraph number needs to be described in the document.

【0092】[0092]

【発明の効果】以上説明したように請求項1および2の
発明では、文書記憶手段に記憶された明細書の特許請求
の範囲または実用新案登録請求の範囲の欄において請求
項を表現する語句またはこの語句を構成する1つまたは
複数の文字を検索して、前記語句の後ろに記載されてい
る数字を項番として検索する。そして、検索した項番を
含む請求項の見出しの、請求の範囲における配列の順番
を表す数字によって、上記検索した項番を置き換える。
As described above, according to the first and second aspects of the present invention, the words or phrases expressing the claims in the fields of claims or utility model registration claims in the specification stored in the document storage means are described. One or a plurality of characters constituting this word are searched for, and the number described after the word is searched for as an item number. Then, the searched item number is replaced by a numeral indicating the order of the array in the claims in the heading of the claim including the searched item number.

【0093】したがって、明細書の特許請求の範囲また
は実用新案登録請求の範囲の欄において、配列の順番に
一致しない項番の請求項が途中に追加されていたり、あ
るいは途中の請求項が削除されていても、本発明により
項番を極めて容易に、かつミスなく修正することができ
る。これにより、能率よく明細書を作成することが可能
となり、さらに記載ミスも解消できる。
Therefore, in the column of claims or claims of utility model in the specification, claims with item numbers that do not match the order of the arrangement are added in the middle, or claims in the middle are deleted. Even so, the item number can be corrected very easily and without error by the present invention. As a result, it is possible to efficiently prepare a specification, and it is possible to eliminate a description error.

【0094】請求項3および4の発明では、文書記憶手
段に記憶された文書において、図面を特定するための、
図の文字と図番とを含む語句を検索し、次に、上記図面
特定語句の後ろに最初に記載されている図の文字または
図面の名称を検索する。そして、図面特定語句から上記
図の文字または図面の名称までの文字列の主要部分また
は全体を主要部分とする文章を作成する。
According to the third and fourth aspects of the present invention, in a document stored in the document storage means, a drawing for specifying a drawing is provided.
A search is made for a phrase that includes the characters of the drawing and the drawing number, and then searches for the drawing character or drawing name that is first described after the drawing-specific phrase. Then, a sentence is created in which the main part or the whole of the character string from the drawing specific word to the character of the above drawing or the name of the drawing is the main part.

【0095】したがって、例えば明細書において図面の
説明文を[発明の詳細な説明]の欄のいずれかの箇所に
記載した場合には、本発明によって、[発明の詳細な説
明]の欄に記載されている図面の説明文より自動的に
[図面の簡単な説明]の欄を作成することができる。そ
のため、明細書の作成者は[図面の簡単な説明]の欄を
作成する必要がなく、二度手間を省いて能率よく明細書
を作成することができる。また、[図面の簡単な説明]
の欄を記載しなくてよいので、その分だけ記載ミスが生
じる可能性も小さくなる。
Therefore, for example, when a description of a drawing is described in any part of the column of “Detailed description of the invention” in the specification, it is described in the column of “Detailed description of the invention” by the present invention. The column of [Brief description of the drawings] can be automatically created from the description of the drawings. For this reason, the creator of the specification does not need to prepare the column of [Brief description of drawings], and can efficiently prepare the specification without having to perform the work twice. Also, [Brief description of drawings]
Column need not be described, the possibility of a description error being reduced by that amount is reduced.

【0096】請求項5および6の発明では、文書記憶手
段に記憶された文書において段落を見つけ、その長さが
基準長より長いか否かを判定し、段落の長さが基準長よ
り長いと判定したとき、段落の前または後ろに、段落ご
とに異なりかつ連続する段落番号を挿入する。
According to the fifth and sixth aspects of the present invention, a paragraph is found in the document stored in the document storage means, and it is determined whether or not the length is longer than the reference length. When determined, a paragraph number that is different and continuous for each paragraph is inserted before or after the paragraph.

【0097】したがって、本発明により、例えば明細書
の作成者は、自身で段落番号を明細書中に入力する必要
がなくなり、能率よく明細書を作成することができる。
また、間違った番号を記載するといったミスも解消でき
る。そして、この発明では、短い段落に対しては段落番
号が挿入されないので、文書中に必要以上に多数の段落
番号が記載されるといったことがない。
Therefore, according to the present invention, for example, the creator of the specification does not need to input the paragraph number himself / herself in the specification, and can efficiently prepare the specification.
In addition, mistakes such as writing an incorrect number can be eliminated. According to the present invention, since paragraph numbers are not inserted into short paragraphs, there is no possibility that a paragraph number that is more than necessary is described in a document.

【0098】請求項7および8の発明では、文書記憶手
段に記憶された文書において段落の先頭部または末尾部
に記憶されている所定のコードを検索し、このコードを
検索できたとき、段落の前または後ろに、段落ごとに異
なりかつ連続する段落番号を挿入する。
According to the seventh and eighth aspects of the present invention, a predetermined code stored at the beginning or end of a paragraph in a document stored in the document storage means is searched. Insert a different and consecutive paragraph number before or after each paragraph.

【0099】したがって、本発明により、例えば明細書
の作成者は、自身で段落番号を明細書中に入力する必要
がなくなり、能率よく明細書を作成することができる。
また、間違った番号を記載するといったミスも解消でき
る。そして、段落番号を付与すべき段落に対してのみ所
定のコードを入力しておくことで、必要な箇所にのみ段
落番号を記載するようにできる。
Therefore, according to the present invention, for example, the creator of the specification does not need to input the paragraph number himself / herself in the specification, and can efficiently prepare the specification.
In addition, mistakes such as writing an incorrect number can be eliminated. By inputting a predetermined code only for a paragraph to which a paragraph number is to be assigned, the paragraph number can be described only in a necessary place.

【0100】請求項9および10の発明では、文書記憶
手段に記憶された文書において段落の先頭部または末尾
部に記憶されている所定のコードを検索し、このコード
を検索したときを除いて、段落の前または後ろに、段落
ごとに異なりかつ連続する段落番号を挿入する。
According to the ninth and tenth aspects of the present invention, a predetermined code stored at the beginning or end of a paragraph in a document stored in the document storage means is searched. Insert a different and consecutive paragraph number before or after a paragraph.

【0101】したがって、本発明により、例えば明細書
の作成者は、自身で段落番号を明細書中に入力する必要
がなくなり、能率よく明細書を作成することができる。
また、間違った番号を記載するといったミスも解消でき
る。そして、段落番号が不要な箇所には所定のコードを
入力しておくことで、段落番号が挿入されないようにす
ることができ、より的確な段落番号の入力が可能とな
る。
Therefore, according to the present invention, for example, the creator of the specification does not need to input the paragraph number himself / herself in the specification, and can efficiently prepare the specification.
In addition, mistakes such as writing an incorrect number can be eliminated. By inputting a predetermined code in a place where a paragraph number is unnecessary, it is possible to prevent the paragraph number from being inserted, and to input a more accurate paragraph number.

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

【図1】第1の実施例の文書処理装置の一例を示すブロ
ック図である。
FIG. 1 is a block diagram illustrating an example of a document processing apparatus according to a first embodiment.

【図2】図1の文書処理装置が実行する処理の手順を示
すフローチャートである。
FIG. 2 is a flowchart illustrating a procedure of processing executed by the document processing apparatus of FIG. 1;

【図3】パソコンの一例を示す構成図である。FIG. 3 is a configuration diagram illustrating an example of a personal computer.

【図4】第1の実施例が処理する例文を示す説明図であ
る。
FIG. 4 is an explanatory diagram showing an example sentence processed by the first embodiment;

【図5】第2の実施例の文書処理装置を示すブロック図
である。
FIG. 5 is a block diagram illustrating a document processing apparatus according to a second embodiment.

【図6】図5の文書処理装置が実行する処理の手順を示
すフローチャートである。
FIG. 6 is a flowchart illustrating a procedure of processing executed by the document processing apparatus of FIG. 5;

【図7】図5の文書処理装置により処理を行う例文を示
す説明図である。
FIG. 7 is an explanatory diagram showing an example sentence to be processed by the document processing device of FIG. 5;

【図8】図7の例文の処理結果を示す説明図である。FIG. 8 is an explanatory diagram showing a processing result of the example sentence of FIG. 7;

【図9】第3の実施例の文書処理装置を示すブロック図
である。
FIG. 9 is a block diagram illustrating a document processing apparatus according to a third embodiment.

【図10】図9の文書処理装置が実行する処理の手順を
示すフローチャートである。
FIG. 10 is a flowchart illustrating a procedure of processing executed by the document processing apparatus of FIG. 9;

【図11】第3の実施例のモードAで処理する例文を示
す説明図である。
FIG. 11 is an explanatory diagram showing an example sentence processed in mode A of the third embodiment.

【図12】図11の例文の処理結果を示す説明図であ
る。
FIG. 12 is an explanatory diagram showing a processing result of the example sentence of FIG. 11;

【図13】第3の実施例の文書処理装置がモードBで動
作する場合の処理手順を示すフローチャートである。
FIG. 13 is a flowchart illustrating a processing procedure when the document processing apparatus according to the third embodiment operates in mode B;

【図14】第3の実施例のモードBで処理する例文を示
す説明図である。
FIG. 14 is an explanatory diagram showing an example sentence processed in mode B of the third embodiment.

【図15】図14の例文の処理結果を示す説明図であ
る。
FIG. 15 is an explanatory diagram showing a processing result of the example sentence of FIG. 14;

【図16】第3の実施例のモードCで処理する例文を示
す説明図である。
FIG. 16 is an explanatory diagram showing an example sentence processed in mode C of the third embodiment.

【図17】図16の例文の処理結果を示す説明図であ
る。
FIG. 17 is an explanatory diagram showing a processing result of the example sentence of FIG. 16;

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

2 文書処理装置 4 パソコン 6 パソコン本体 8 キーボード 10 CRTモニタ 12 プリンタ 14 CPU 16 メインメモリ(メモリ) 18 ハードディスクドライブ 20 フロッピーディスクドライブ 22 文書読み込み手段 24 検索手段 26 置換手段 28 出力手段 30 文書領域 32 置換テーブル 34 文書処理装置 36 先頭識別手段 38 末尾識別手段 40 文章作成手段 42 文章書き込み手段 44 文書処理装置 46 段落長判定手段 48 コード検索手段 50 番号挿入手段 52 動作モード切り替え手段 2 Document processor 4 Personal computer 6 Personal computer body 8 Keyboard 10 CRT monitor 12 Printer 14 CPU 16 Main memory (memory) 18 Hard disk drive 20 Floppy disk drive 22 Document reading means 24 Search means 26 Replacement means 28 Output means 30 Document area 32 Replacement table 34 Document processing device 36 Head identification means 38 End identification means 40 Text creation means 42 Text writing means 44 Document processing device 46 Paragraph length determination means 48 Code search means 50 Number insertion means 52 Operation mode switching means

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 文書記憶手段に記憶された明細書の特許
請求の範囲または実用新案登録請求の範囲の欄において
請求項を表現する語句またはこの語句を構成する1つま
たは複数の文字を検索して、前記語句の後ろに記載され
ている数字を項番として検索する検索ステップと、 前記検索ステップで検索した前記項番を含む請求項の見
出しの、前記請求の範囲における配列の順番を表す数字
によって、前記検索ステップで検索した前記項番を置き
換える置換ステップと、 を含むことを特徴とする文書処理方法。
1. Searching a claim or a utility model registration claim of a specification stored in a document storage means for a phrase expressing a claim or one or a plurality of characters constituting the phrase. A search step of searching for the number described after the word as an item number, and a number representing the order of the array in the claims in the heading of the claim including the item number searched in the search step A replacement step for replacing the item number searched in the search step.
【請求項2】 文書記憶手段に記憶された明細書の特許
請求の範囲または実用新案登録請求の範囲の欄において
請求項を表現する語句またはこの語句を構成する1つま
たは複数の文字を検索して、前記語句の後ろに記載され
ている数字を項番として検索する検索手段と、 前記検索手段が検索した前記項番を含む請求項の見出し
の、前記請求の範囲における配列の順番を表す数字によ
って、前記検索手段が検索した前記項番を置き換える置
換手段と、 を含むことを特徴とする文書処理装置。
2. Searching a claim or a utility model registration claim of a specification stored in a document storage means for a word or phrase that expresses the claim or one or more characters constituting the word or phrase. A search unit that searches for the number described after the word as an item number, and a number representing the order of the array in the claim, of the heading of the claim that includes the item number searched by the search unit. And a replacing unit that replaces the item number searched by the searching unit.
【請求項3】 文書記憶手段に記憶された文書におい
て、図面を特定するための、図の文字と図番とを含む語
句を検索する先頭識別ステップと、 前記先頭識別ステップで検索した前記図面特定語句の後
ろに最初に記載されている前記図の文字または図面の名
称を、前記文書記憶手段に記憶された前記文書において
検索する末尾識別ステップと、 前記先頭識別ステップで検索した前記図面特定語句か
ら、末尾識別ステップで検索した前記図の文字または前
記図面の名称までの文字列の主要部分または全体を前記
文書記憶手段から読み出し、読み出した文字列を主要部
分とする文章を作成する文章作成ステップと、 を含むことを特徴とする文書処理方法。
3. A head identification step of searching a document stored in a document storage means for a phrase including a figure character and a figure number for specifying a drawing, and the drawing specification searched in the head identification step. From the end identification step of searching for the character of the figure or the name of the drawing first described after the word in the document stored in the document storage means, from the drawing specific word searched in the head identification step Reading a main part or the whole of a character string up to the character of the figure or the name of the figure searched in the end identification step from the document storage means, and forming a sentence having the read character string as a main part; A document processing method, comprising:
【請求項4】 文書記憶手段に記憶された文書におい
て、図面を特定するための、図の文字と図番とを含む語
句を検索する先頭識別手段と、 前記先頭識別手段が検索した前記図面特定語句の後ろに
最初に記載されている前記図の文字または図面の名称
を、前記文書記憶手段に記憶された前記文書において検
索する末尾識別手段と、 前記先頭識別手段が検索した前記図面特定語句から、末
尾識別手段で検索した前記図の文字または前記図面の名
称までの間に記載されている文字列の主要部分または全
体を前記文書記憶手段から読み出し、読み出した文字列
を主要部分とする文章を作成する文章作成手段と、 を含むことを特徴とする文書処理装置。
4. A head identification unit for searching a word stored in a document storage unit for a phrase including a figure character and a figure number for identifying a drawing, and the drawing identification searched by the head identification unit. A character of the figure or a name of the drawing first described after the word, a tail identification means for searching in the document stored in the document storage means, and from the drawing specific words searched by the head identification means Reading the main part or the whole of the character string described between the characters of the figure or the name of the figure retrieved by the end identification means from the document storage means, and writing a sentence having the read character string as the main part. A document processing apparatus, comprising: a document creation unit to be created;
【請求項5】 文書記憶手段に記憶された文書において
段落を見つけ、その長さが基準長より長いか否かを判定
する段落長判定ステップと、 前記段落長判定ステップで段落の長さが基準長より長い
と判定したとき、前記文書記憶手段に記憶された文書に
おいて前記段落の前または後ろに、前記段落ごとに異な
りかつ連続する段落番号を挿入する番号挿入ステップ
と、 を含むことを特徴とする文書処理方法。
5. A paragraph length determining step of finding a paragraph in a document stored in a document storage unit and determining whether or not the length is longer than a reference length; A number insertion step of inserting a different and continuous paragraph number for each paragraph before or after the paragraph in the document stored in the document storage means when it is determined that the length is longer than the length. Document processing method to be performed.
【請求項6】 文書記憶手段に記憶された文書において
段落を見つけ、その長さが基準長より長いか否かを判定
する段落長判定手段と、 前記段落長判定手段が、段落の長さが基準長より長いと
判定したとき、前記文書記憶手段に記憶された文書にお
いて前記段落の前または後ろに、前記段落ごとに異なり
かつ連続する段落番号を挿入する番号挿入手段と、 を含むことを特徴とする文書処理装置。
6. A paragraph length determining means for finding a paragraph in a document stored in a document storage means and determining whether or not the paragraph length is longer than a reference length; A number insertion unit that inserts a different and continuous paragraph number for each paragraph before or after the paragraph in the document stored in the document storage unit when it is determined that the length is longer than a reference length. Document processing device.
【請求項7】 文書記憶手段に記憶された文書において
段落の先頭部または末尾部に記憶されている所定のコー
ドを検索するコード検索ステップと、 このコード検索ステップで、前記段落の先頭部または末
尾部に記憶されている前記所定のコードを検索できたと
き、前記文書記憶手段に記憶された文書において前記段
落の前または後ろに、前記段落ごとに異なりかつ連続す
る段落番号を挿入する番号挿入ステップと、 を含むことを特徴とする文書処理方法。
7. A code search step for searching for a predetermined code stored at the beginning or end of a paragraph in a document stored in the document storage means. In the code search step, a head or end of the paragraph is obtained. A number insertion step of inserting a different and continuous paragraph number for each paragraph before or after the paragraph in the document stored in the document storage means when the predetermined code stored in the section can be searched. And a document processing method comprising:
【請求項8】 文書記憶手段に記憶された文書において
段落の先頭部または末尾部に記憶されている所定のコー
ドを検索するコード検索手段と、 このコード検索手段が、前記段落の先頭部または末尾部
に記憶されている前記所定のコードを検索できたとき、
前記文書記憶手段に記憶された文書において前記段落の
前または後ろに、前記段落ごとに異なりかつ連続する段
落番号を挿入する番号挿入手段と、 を含むことを特徴とする文書処理装置。
8. A code search means for searching a document stored in the document storage means for a predetermined code stored at the beginning or end of a paragraph, and the code search means comprises a head or end of the paragraph. When the predetermined code stored in the section can be searched,
A document processing apparatus, comprising: a number insertion unit that inserts a different and continuous paragraph number for each paragraph before or after the paragraph in the document stored in the document storage unit.
【請求項9】 文書記憶手段に記憶された文書において
段落の先頭部または末尾部に記憶されている所定のコー
ドを検索するコード検索ステップと、 このコード検索ステップで、前記段落の先頭部または末
尾部に記憶されている前記所定のコードを検索したとき
を除いて、前記文書記憶手段に記憶された文書において
前記段落の前または後ろに、前記段落ごとに異なりかつ
連続する段落番号を挿入する番号挿入ステップと、 を含むことを特徴とする文書処理方法。
9. A code search step for searching for a predetermined code stored at the beginning or end of a paragraph in a document stored in the document storage means; A number that inserts a different and continuous paragraph number for each paragraph before or after the paragraph in the document stored in the document storage unit, except when the predetermined code stored in the section is searched. A document processing method, comprising: an inserting step.
【請求項10】 文書記憶手段に記憶された文書におい
て段落の先頭部または末尾部に記憶されている所定のコ
ードを検索するコード検索手段と、 このコード検索手段が、前記段落の先頭部または末尾部
に記憶されている前記所定のコードを検索したときを除
いて、前記文書記憶手段に記憶された文書において前記
段落の前または後ろに、前記段落ごとに異なりかつ連続
する段落番号を挿入する番号挿入手段と、 を含むことを特徴とする文書処理装置。
10. A code search means for searching for a predetermined code stored at the beginning or end of a paragraph in a document stored in a document storage means, and said code search means comprises a head or end of said paragraph. A number that inserts a different and continuous paragraph number for each paragraph before or after the paragraph in the document stored in the document storage unit, except when the predetermined code stored in the section is searched. A document processing apparatus comprising: an insertion unit.
JP8359528A 1996-12-18 1996-12-18 Method and device for processing document Pending JPH10177573A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8359528A JPH10177573A (en) 1996-12-18 1996-12-18 Method and device for processing document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8359528A JPH10177573A (en) 1996-12-18 1996-12-18 Method and device for processing document

Publications (1)

Publication Number Publication Date
JPH10177573A true JPH10177573A (en) 1998-06-30

Family

ID=18464969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8359528A Pending JPH10177573A (en) 1996-12-18 1996-12-18 Method and device for processing document

Country Status (1)

Country Link
JP (1) JPH10177573A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002023386A1 (en) * 2000-09-12 2002-03-21 Kacis Incorporated Device for creating and reading structural document

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002023386A1 (en) * 2000-09-12 2002-03-21 Kacis Incorporated Device for creating and reading structural document

Similar Documents

Publication Publication Date Title
JPH0247768B2 (en)
JPS6170660A (en) Polysemy displaying and selecting means of machine translation system
US5835921A (en) Data processing apparatus for creating and storing a text file from input data
JPS59132029A (en) Kana-kanji converting device
JPH0227701B2 (en)
JPH10177573A (en) Method and device for processing document
JPH10232867A (en) Document processing method, document processor and recording medium recording document processing program
JP3103179B2 (en) Document creation device and document creation method
JPH0883280A (en) Document processor
JPH0375912B2 (en)
JP2786260B2 (en) Kana-Kanji conversion device
JP4050745B2 (en) Text input system
JPH1166061A (en) Information processor, and computer readable recording medium recorded with information processing program
JPS59100941A (en) Kana (japanese syllabary)-kanji (chinese character) converter
JPS58151677A (en) Editing method of translated sentence
JP2845235B2 (en) Document data processing device
JPH032963A (en) Document data processor
JPH11203279A (en) Kana-kanji conversion device and method and storage medium
JPH0697455B2 (en) Kana-Kanji conversion device
JP2845234B2 (en) Document data processing device
JPS6128156A (en) Document editing device
JPS63184864A (en) Documentation device
JPS62256070A (en) Document processor
JPS6380361A (en) Language information processor
GB2220773A (en) Apparatus for preparing dictionary data for personal dictionary