JPH02297152A - Document processing system - Google Patents

Document processing system

Info

Publication number
JPH02297152A
JPH02297152A JP1036538A JP3653889A JPH02297152A JP H02297152 A JPH02297152 A JP H02297152A JP 1036538 A JP1036538 A JP 1036538A JP 3653889 A JP3653889 A JP 3653889A JP H02297152 A JPH02297152 A JP H02297152A
Authority
JP
Japan
Prior art keywords
index
character string
document
logical number
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1036538A
Other languages
Japanese (ja)
Inventor
Shigeru Kuno
久野 茂
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP1036538A priority Critical patent/JPH02297152A/en
Publication of JPH02297152A publication Critical patent/JPH02297152A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To automatize the generation of an index, to reduce the manhour for generating the index and to improve quality by providing an index table storing a character string and a logical number required as the index. CONSTITUTION:The index table 3 which controls a document by the logical number at every assembly of sentences recognized from the start of the character string to a decided terminating code and which stores the character string and the logical number required as the index is provided. Whenever the document is inputted, the document in which the character string is included is registered in the index table 3 with the logical number and the intra-document position of the document string as control information. Then, an index generator 5 for generating the index by control information is provided. Since the document is controlled as the logical number, the logical number as the attribute of the index character string and accompanying information are dynamically controlled at the same time as the input of document data, and index information can be generated. Thus, a defect that the index has to be generated by a manual operation after all the documents are defined is eliminated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ワードプロセッサ等で作成された文書から、
索引を作成するための文書処理方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a method for processing documents created using a word processor or the like.
Concerning document processing methods for creating indexes.

〔従来の技術〕[Conventional technology]

従来、ワードプロセッサで作成した文書は文字列並びと
して管理し、ファイルに記録されていた。
Conventionally, documents created with a word processor were managed as a string of characters and recorded in a file.

この結果、作成した文書を印刷機に出力する際に、索引
を同時に作成するためには、索引とすべき文字列が出現
する文書を検索し、その頁番号との対応を人手により別
途作成した後、はじめて索引情報を得ることが出来た。
As a result, in order to create an index at the same time when outputting the created document to a printing machine, it is necessary to search for documents in which the character string that should be used as an index appears, and to manually create a correspondence with the page number. After that, I was able to obtain index information for the first time.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来技術に依れば、特定の文字列と頁番号の対
応を持つ索引を作成するためには、該文字列を識別する
ため、該文字列が出現する頁を何度も検索し、はじめて
索引が作成される。このため、索引情報は文書が確定さ
れた後にはじめて作成が可能であった。
According to the above-mentioned conventional technology, in order to create an index that has a correspondence between a specific character string and a page number, in order to identify the character string, pages in which the character string appears are searched many times, An index is created for the first time. Therefore, index information could only be created after the document was finalized.

本発明の目的はこのような従来の欠点を除去せしめ、索
引となるべき所定の語意を索引テーブルと呼ばれる制御
情報記憶部に登録しておくことにより、文書入力時の文
字列の指定をおこなうことなく索引の作成を行なうこと
が出来る文書処理方式を提供することにある。
The purpose of the present invention is to eliminate such conventional drawbacks, and to specify a character string when inputting a document by registering a predetermined meaning of a word to be an index in a control information storage unit called an index table. An object of the present invention is to provide a document processing method that can create an index without any hassle.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の文書処理方式は、文書を文字列の始めから定め
られた終端符号までにより認識される文の集まり毎に論
理番号で管理し、さらに索引として必要な文字列と前記
論理番号を記憶する索引テーブルを設け、文書が入力さ
れるつど該文字列が含まれる文書を論理番号と該文字列
の文書的位置を当該索引テーブルに制御情報として登録
し、当該制御情報より索引を作成する索引作成器を有す
ることを特徴とする。
The document processing method of the present invention manages a document using a logical number for each group of sentences recognized from the beginning of a character string to a predetermined terminal code, and further stores the necessary character string and the logical number as an index. Index creation in which an index table is provided, and each time a document is input, the logical number of the document containing the character string and the document position of the character string are registered in the index table as control information, and an index is created from the control information. It is characterized by having a container.

〔作用〕[Effect]

本発明においては、文書は論理番号として管理されてい
るため、索引文字列の属性として論理番号、ならびにそ
れに付随する情報を文書データの入力と同時にダイナミ
ックに管理し、索引情報を生成することが可能になり文
書をすべて確定した後、人手により索引を作成しなけれ
ばならないという欠点はなくなる。
In the present invention, since documents are managed as logical numbers, it is possible to dynamically manage logical numbers and associated information as attributes of index strings at the same time as inputting document data, and generate index information. This eliminates the disadvantage of having to manually create an index after all documents have been finalized.

〔実施例〕〔Example〕

以下、本発明の実施例について図面を参照しながら説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例を示すブロック図であり、索
引情報比較器11文テーブル2.索引文字列テーブル3
1文書編集器4.索引作成器5およびデータ入出力器6
から構成される。
FIG. 1 is a block diagram showing an embodiment of the present invention, in which an index information comparator 11 a sentence table 2. Index string table 3
1 document editor 4. Index creator 5 and data input/output device 6
It consists of

データ入出力器6を通じてかな漢字変換などの文字列編
集機能を持つ文書編集器4に入力された文章は、論理番
号と、文の始まりがら終端記号で示されたと文から成る
文テーブル2に第1表に示すような形式で格納する。論
理番号は入力された文を一意に識別するための識別子で
ある。以降入力された文は論理番号によりアクセスする
事が可能になる。
Sentences inputted through the data input/output device 6 to the document editor 4, which has character string editing functions such as kana-kanji conversion, are stored in a sentence table 2 consisting of logical numbers and sentences indicated by starting and ending symbols. Store in the format shown in the table. The logical number is an identifier for uniquely identifying the input sentence. Subsequently input sentences can be accessed by logical numbers.

索引となる文字列は、第1図の索引作成器5を通じて、
第1図の索引文字列テーブル3に格納される。第2表第
1項目の文字列例はこの索引文字列を入力した時の例で
ある。これ以降者たに文テーブル2あるいは索引文字列
テーブル3に文字列が入力されるばあい、以下に示す手
順により第2表第2項目にしめず索引文字列テーブルの
付随情報を追加していく。
The character string that becomes the index is passed through the index generator 5 shown in FIG.
It is stored in the index character string table 3 in FIG. The character string example in the first item of Table 2 is an example when this index character string is input. From now on, when a character string is input to sentence table 2 or index character string table 3, the accompanying information of the index character string table is added to the second item of table 2 by the procedure shown below. .

第  1  表 第  2  表 最後に、索引文字列テーブルの情報は第2図のような印
刷時の出力イメージにないして第3図のように 索引文字列・・・・・・く頁、行数情、報〉の形式でワ
ードプロセッサのデータ入出力器6を通じて表示される
。この時、索引作成器5では以下の(1)から(3)に
示す計算式を用い該文字Xの頁Pxと行Cxの算出を行
なう。
Table 1 Table 2 Finally, the information in the index string table is shown in the output image when printing as shown in Fig. 2, and as shown in Fig. 3, the index string... number of pages and rows. The information is displayed through the data input/output device 6 of the word processor in the form of ``information''. At this time, the index creator 5 calculates the page Px and line Cx of the character X using the calculation formulas shown in (1) to (3) below.

(ケース1)文テーブル2に文が追加される場合。(Case 1) When a sentence is added to sentence table 2.

ステップ1 文に論理番号Sxを付与し、文テーブル2
に追加する。
Step 1: Assign a logical number Sx to the statement, and use the statement table 2
Add to.

ステップ2 索引文字列テーブル3から順に索引文字列
R1を読みだす。
Step 2 Read index character strings R1 sequentially from index character string table 3.

ステップ3 読みだした索引文字列と入力文を索引情報
比較器1を用いて比較する。もし、比較の結果により当
該索引文字列が含まれていれば索引文字列テーブル3の
文字列i欄に第2表第2項目の情報を加える。
Step 3 Compare the read index character string and the input sentence using the index information comparator 1. If the comparison results indicate that the index character string is included, the information in the second item of Table 2 is added to the character string i column of the index character string table 3.

ステップ4・索引文字列テーブル3の最終の索引文字列
までステップ2へ戻る。
Step 4: Return to step 2 until the last index string in index string table 3 is reached.

(ケース2)索引文字列テーブル3に情報が追加される
場合。
(Case 2) When information is added to the index string table 3.

ステップ1 索引文字列R,を索引文字列テープル3に
追加する。
Step 1 Add index character string R, to index character string table 3.

ステップ2 文テーブル2から順に文SXを読みだす。Step 2: Read sentences SX in order from sentence table 2.

ステップ3 読みだした文と入力文を索引情報比較器1
を用いて比較する。もし、比較結果当該文字列が含まれ
ていれば索引文字列テーブル30文字列i欄に第2表第
2項目の情報を加える。
Step 3 Index the read sentence and the input sentence using index information comparator 1
Compare using. If the comparison results in that the character string is included, the information in the second item of Table 2 is added to the character string i column of the index character string table 30.

ステップ4 文テーブル2の最終の文がなくなるまでス
テップ2へ戻る。
Step 4 Return to step 2 until the last sentence in sentence table 2 is exhausted.

i&後に、索引文字列テーブル3の情報は第2図のよう
な印刷時の出力イメージにたいして、第3図のように 索引文字列・・・・・・く頁、行数情報〉の形式でワー
ドプロセッサのデータ入出力器6を通じて表示される。
After i&, the information in the index string table 3 is processed by a word processor in the form of an index string... Page and line number information, as shown in Fig. 3, for the output image during printing as shown in Fig. 2. The data is displayed through the data input/output device 6.

この時、索引作成器5では以下の(1)から(3)に示
す計算式を用い該文字列Xの頁PXと行C,の算出を行
う。
At this time, the index creator 5 calculates the page PX and row C of the character string X using the calculation formulas shown in (1) to (3) below.

P ’  x  =  (nLi  + Nx  )/
  (n xm )  ・・1l)P、=r  P’ 
 X]                 =12)C
,= (P’ X−P、)xn       −(3>
ここで記号は次の意味で用いている。
P'x = (nLi + Nx)/
(n x m )...1l) P, = r P'
X] =12)C
,=(P'X-P,)xn-(3>
The symbols are used here with the following meanings.

pX:35文字列の出現するの頁 n:印刷時の一行の文字列 m二印刷時の一頁の行数 P′  :頁PXを得るための中間値 「]:その値を越えない最大の整数値を得る関数 CX:該文字列の出現する行数。pX: Page where 35 character strings appear n: One line of character string when printing Number of lines on one page when printing m2 P′: Intermediate value to obtain page PX "]: Function to obtain the largest integer value that does not exceed that value CX: Number of lines in which the character string appears.

索引作成器5を用いて作成した索引情報はそのままデー
タ入出力器6および文M編集器4を用いて第2図、第3
図の形で編集する0文書編集器4や索引情報比較器1.
索引作成器5.データ入出力器6は入出力データさえ準
備出来ればそれぞれ独立に処理を行ない、第3図の索引
情報を任意の時点で表示、印刷する。
The index information created using the index creator 5 is used as is in the data input/output device 6 and text M editor 4 as shown in FIGS. 2 and 3.
0 document editor 4 and index information comparator 1 for editing in the form of diagrams.
Indexer 5. The data input/output device 6 processes the input/output data independently as long as it is ready, and displays and prints the index information shown in FIG. 3 at any time.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、従来のワードプロセッサでは人手に任
されていた索引の作成を自動化することが出来、また出
現した文字列の頁及び行数が文書入力と同時に作成され
るなめ、製本などの索引作成の工数削減ならびに品質向
上のために大きく貢献することが可能となる。
According to the present invention, it is possible to automate the creation of indexes, which was left to the manual work in conventional word processors, and it is also possible to automate the creation of indexes, which was left to the manual work in conventional word processors, and to create indexes for bookbinding, etc., in which the pages and line numbers of appearing character strings are created at the same time as document input. It will be possible to make a significant contribution to reducing production man-hours and improving quality.

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

第1図は本発明の一実施例を示す概略図、第2図は文の
出力イメージ例を示す図、第3図は索引文字列情報の出
力イメージ例を示す図である。 1・・・索引情報作成器、2・・・文テーブル、3・・
・索引文字列テーブル、4・・・文書編集器、5・・・
索引作成器、6・・・データ入出力器。
FIG. 1 is a schematic diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing an example of an output image of a sentence, and FIG. 3 is a diagram showing an example of an output image of index character string information. 1... Index information creator, 2... Sentence table, 3...
・Index string table, 4... Document editor, 5...
Index creator, 6...data input/output device.

Claims (1)

【特許請求の範囲】[Claims] 文書を文字列の始めから定められた終端符号までにより
認識される文の集まり毎に論理番号で管理し、さらに索
引として必要な文字列と前記論理番号を記憶する索引テ
ーブルを設け、文書が入力されるつど該文字列が含まれ
る文書を論理番号と該文字列の文書内位置を当該索引テ
ーブルに制御情報として登録し、当該制御情報より索引
を作成する索引作成器を有することを特徴とする文書処
理方式。
Documents are managed using logical numbers for each group of sentences recognized from the beginning of the character string to a predetermined terminal code, and an index table is provided to store the necessary character strings and logical numbers as an index. Each time a document containing the character string is entered, the logical number and the position of the character string in the document are registered in the index table as control information, and an index is created from the control information. Document processing method.
JP1036538A 1989-02-15 1989-02-15 Document processing system Pending JPH02297152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1036538A JPH02297152A (en) 1989-02-15 1989-02-15 Document processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1036538A JPH02297152A (en) 1989-02-15 1989-02-15 Document processing system

Publications (1)

Publication Number Publication Date
JPH02297152A true JPH02297152A (en) 1990-12-07

Family

ID=12472561

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1036538A Pending JPH02297152A (en) 1989-02-15 1989-02-15 Document processing system

Country Status (1)

Country Link
JP (1) JPH02297152A (en)

Similar Documents

Publication Publication Date Title
US4195338A (en) Computer typesetting
JPH0744638A (en) Table data retrieving device
US5261103A (en) Method of and system for compiling source program
JPH02297152A (en) Document processing system
JP2003044464A (en) Layout device and layout program
Van Dam et al. Computers and publishing: Writing, editing, and printing
JP3445910B2 (en) Document summarization synthesizer
JPH07160720A (en) Method and device for supporting and making efficient translation of information readable by machine
JPH0497248A (en) Device for forming printing block copy
JP2601139B2 (en) String search device
JPH07152548A (en) Document creation device
JPS61195455A (en) Document preparation device
JPH0758490B2 (en) Document confirmation device
JPS63184864A (en) Documentation device
JPH08339365A (en) Document creating apparatus and document creating method
JPS61134843A (en) Program structure processing system
JP2000089926A (en) Printing file output device
JPH01129352A (en) Device for preparing presentation materials
JPH0540462A (en) Character pattern registering system
JPH0757046A (en) Document image storage system of character recognition device
JPH0338611B2 (en)
JPH0816594A (en) Automatic document marking device
JPH0869465A (en) Control information generation device for block copy creation
JPH09223136A (en) Method for inspecting character and output device for inspected character
JPH0778797B2 (en) Automatic numbering method for sentence numbers in document processing