JPH0256671A - Editing device - Google Patents

Editing device

Info

Publication number
JPH0256671A
JPH0256671A JP63207419A JP20741988A JPH0256671A JP H0256671 A JPH0256671 A JP H0256671A JP 63207419 A JP63207419 A JP 63207419A JP 20741988 A JP20741988 A JP 20741988A JP H0256671 A JPH0256671 A JP H0256671A
Authority
JP
Japan
Prior art keywords
word
editing
sentence
position attribute
attribute
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
JP63207419A
Other languages
Japanese (ja)
Inventor
Mariko Kimura
真理子 木村
Hideki Hirakawa
秀樹 平川
Yoshimi Asahioka
旭岡 佳美
Kimito Takeda
武田 公人
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63207419A priority Critical patent/JPH0256671A/en
Publication of JPH0256671A publication Critical patent/JPH0256671A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify the editing operation of an operator by executing not only the change of the order of words but also the change of a character to return to a position with the change when the word is moved, deleted or inserted at the time of edition. CONSTITUTION:When the processing of the moving, deletion or insertion is indicated to an original sentence which is displayed on a display part, a position attribute deciding part decides the position attribute of the respective constituting words in the original sentence. After the designated processing is finished, a position attribute reflecting part reflects the position attribute, which is decided by the position attribute deciding part, to the constituting words of the updated editing sentence and executes processing to accompany the change of the position attribute. Thus, when the word is moved, deleted or inserted, for example, since the capital letter and lower-case letter conversion of both the subject word of the edition and the correspondent word after the edition is automatically executed, the editing operation of the operator can be simplified.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明はオペレータからの編集指示に従って文書データ
に編集処理を行なう編集装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to an editing device that performs editing processing on document data according to editing instructions from an operator.

(従来の技術) 近年、言語情報をコンピー−ター処理する装置が種々開
発され、編集装置も多くの応用を持つようKなった。し
かし編集には多種多様な作業が混在し、又−箇所の変更
に併い複数の修正が必要とされる場合がある。したがっ
て編集は依然オペレータに依存しておシ、見逃し易い作
業が多い為、オペレータに負担をかけていた。
(Prior Art) In recent years, various devices for computer processing of linguistic information have been developed, and editing devices have also come to have many applications. However, editing involves a wide variety of tasks, and multiple corrections may be required in response to changes in locations. Therefore, editing still depends on the operator, and there are many tasks that are easily overlooked, placing a burden on the operator.

特に編集作業の大部分を占める単語の移動・削除・挿入
などの場合、処理前後では処理の対象となっている文を
構成する単語の位置関係は変化する。そしである単語が
文中のある任意の位置に存在していた為に持っていた性
質は変更後その位置に移動した単語に譲られるべきであ
る。
In particular, when moving, deleting, or inserting words, which constitutes the majority of editing work, the positional relationship of the words that make up the sentence being processed changes before and after processing. Therefore, the properties that a certain word had because it existed in a certain arbitrary position in the sentence should be transferred to the word that is moved to that position after the change.

以前はこの処理、すなわち性質の変化に併う修正はオペ
レータの手作業に任されてい友。
Previously, this process, or modification in response to changes in properties, was left to the manual work of the operator.

(発明が解決しようとする課題) この様に従来の編集装置では、編集処理前後で文を構成
する単語の位置関係が変化した場合、その単語の持つ性
質の移動がオペレータの手作業に任されていたという欠
点が有った。
(Problem to be Solved by the Invention) As described above, in conventional editing devices, when the positional relationship of words composing a sentence changes before and after editing processing, the movement of the properties of the words is left to the manual work of the operator. There was a drawback that it was

本発明は編集時の移動・削除・挿入の際、単語の顆序の
変更とともにその変更に併う位置に帰する性質の変更も
行うことにより、オペレータの編集操作の簡略化を図る
ことを目的とする。
The purpose of the present invention is to simplify the editing operations of the operator by changing the condylar order of a word and also changing the properties associated with the position when moving, deleting, or inserting a word during editing. shall be.

〔発明の構成〕[Structure of the invention]

(課題を解決するための手段) 本発明は、入力部と、前記入力部を介して入力された原
文を表示する表示部と、前記表示部に表示された原文を
編集する時、原文の構成単語の位置属性を判定する位置
属性判定部とここで抽出した位置属性を構成単語の移動
・削除・挿入後の編集部の構成単語に反映し、必要な変
更を行う位置属性反映部とを含む編集部と、前記入力部
および編集部で作成された原文と編集部とそれらの作成
時環境データを記憶する記憶部と、出力部とを具備する
ことを特徴とする編集装置である。
(Means for Solving the Problems) The present invention includes an input section, a display section that displays an original text input through the input section, and a configuration of the original text when editing the original text displayed on the display section. Includes a positional attribute determination unit that determines the positional attribute of a word, and a positional attribute reflection unit that reflects the extracted positional attribute on the constituent words of the editing unit after moving, deleting, or inserting the constituent words, and making necessary changes. The editing device is characterized by comprising an editing section, a storage section that stores the original text created by the input section and the editing section, the editing section, and environment data at the time of their creation, and an output section.

(作用) このように構成されたものにおいて、表示部に表示され
た原文に対して移動・削除・挿入のいずれかの処理が指
示されると、位置属性判定部はその原文の構成単語各々
の位置属性を判定する。そして指定された処理が終了し
た後、位置属性反映部は位置属性判定部によって判定さ
れた位置属性を更新されfc編編集の構成単語に反映し
、位置属性の変化に併う処理を実行する。
(Operation) In the device configured as described above, when movement, deletion, or insertion processing is instructed for the original text displayed on the display unit, the positional attribute determination unit determines each of the constituent words of the original text. Determine location attributes. After the specified process is completed, the positional attribute reflection unit updates the positional attribute determined by the positional attribute determining unit and reflects it on the constituent words of the fc edit, and executes the process corresponding to the change in the positional attribute.

(実施例) 以下本発明の一実施例を図面によって説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の実施例である英文ワードプロセッサの
ブロック図である。このワードプロセッサはキーボード
からなる入力部1、本装置全体を制御する編集制御部2
、原文や編集部などの表示を制御する表示制御部3、表
示部4、原文としてキーボード入力された英文と編集さ
れた編集部を記憶する記憶部5及び原文や編集部などを
ノ・−トコピーとして出力するための印刷部6とにより
構成されている。
FIG. 1 is a block diagram of an English word processor that is an embodiment of the present invention. This word processor includes an input section 1 consisting of a keyboard, and an editing control section 2 that controls the entire device.
, a display control section 3 that controls the display of the original text and the editing section, a display section 4, a storage section 5 that stores the English text entered as the original text on the keyboard and the edited editing section, and a notebook copy of the original text and the editing section. and a printing section 6 for outputting the image as an image.

第2図は入力部1のキー配列を示す図である。FIG. 2 is a diagram showing the key layout of the input unit 1.

入力部1は英語入力用の文字キーに加えて以下の各種キ
ーを備えている 編集キー:挿入キー  101 削除キー  102 移動キー  103 取り消しキー  104 機能キー:      110〜118カーソルキー:
    130〜133その他のキー 第3図は表示部4の画面のレイアウトを示す図である。
The input section 1 has the following various keys in addition to character keys for English input.Edit keys: insert key 101 delete key 102 movement key 103 cancel key 104 function keys: 110 to 118 cursor keys:
130 to 133 Other keys FIG. 3 is a diagram showing the layout of the screen of the display section 4.

入力原文は画面中央の原文表示領域に表示される。画面
右側は編集領域で編集に必要な情報を表示するために用
いることができる。
The input original text is displayed in the original text display area at the center of the screen. The right side of the screen is an editing area that can be used to display information necessary for editing.

第4図は編集制御部2による英文編集処理の流れを示す
フローチャートである。編集制御部2はステ、ブS1〜
S6において、入力部1から処理の対象範囲の指定を取
り消し以外の編集キーと、確認キーの入力があるとそれ
に対応する処理(ステップ87)を行う。その際、ステ
ップS3で選択された編集処理が挿入か移動の場合、オ
ペレータは挿入矢又は移動先の場所をステップS5にお
いて指定する。ステップS2とステップS5で各各選択
された単語はステップS8において位置属性判定される
。そ、してステップS9では位置属性判定が実行され、
編集処理の結果、原文時と異なる位置関係を持つ編集文
構成単語に対しでは修正が施される。
FIG. 4 is a flowchart showing the flow of English text editing processing by the editing control section 2. The editing control section 2 is operated by step S1~
In S6, when an edit key other than canceling the designation of the processing target range and a confirmation key are input from the input unit 1, the corresponding processing (step 87) is performed. At this time, if the editing process selected in step S3 is insertion or movement, the operator specifies the insertion arrow or the destination location in step S5. Each word selected in step S2 and step S5 is subjected to position attribute determination in step S8. Then, in step S9, position attribute determination is performed,
As a result of the editing process, corrections are made to the edited sentence constituent words that have a different positional relationship from the original sentence.

以上のように構成された編集装置に卦いて更に位置属性
判定の処理を第5図に、位置属性反映の処理を第6図に
70−チャートで表示した。これらによって編集処理の
一例として文頭を大文字で表示するという英文の特性に
対する編集処理の方法について説明する。
In addition to the editing apparatus configured as described above, the positional attribute determination process is shown in FIG. 5, and the positional attribute reflection process is shown in a 70-chart in FIG. As an example of editing processing, a method of editing processing for a characteristic of English text in which the beginning of a sentence is displayed in capital letters will be described.

第5図では編集プログラムは処理対象の単語が大文字で
始まっているか(801)とその他の文頭である条件、
すなわち対象単語の直前にはピリオド、2つ以上のブラ
ンクスペースなどが存在するかを調べる(802)。処
理対象の単語がそれら両方に適応する場合は、その位置
属性は1文頭”と判定され(803)、適応しない場合
は1文中”となる(804)。
In Figure 5, the editing program determines whether the word to be processed starts with a capital letter (801) and other conditions such as whether it is the beginning of a sentence.
That is, it is checked whether there is a period, two or more blank spaces, etc. immediately before the target word (802). If the word to be processed is applicable to both of them, its positional attribute is determined to be "at the beginning of a sentence" (803), and if it is not applicable, it is determined to be "in the middle of a sentence" (804).

第6図では、第4図のステップS2においてオベレータ
に選択された単語又は単語列をaとする。
In FIG. 6, it is assumed that the word or word string selected by the operator in step S2 of FIG. 4 is a.

更にオペレータが指示した編集処理が1削除”の場合は
原文中でaの直後に位置した単語をす、aL。
Furthermore, if the editing process instructed by the operator is "1 Delete", the word located immediately after a in the original text is deleted, aL.

”挿入”の場合はaの挿入場所の直後に位置する単語を
bとする。編集処理が1移動”の際は、移動の方向が”
十″の場合、すなわち処理対象文中のaの位置が処理後
文末に近づく場合は1削除”と同じ、 −”の場合、す
なわちaの位置が文頭に近づく場合は“挿入”と同じ扱
いとする。
In the case of "insertion", the word located immediately after the insertion location of a is defined as b. When the editing process is "1 move", the direction of the move is "
If it is 10'', that is, the position of a in the sentence to be processed approaches the end of the sentence after processing, it is treated as ``1 deletion.'' If it is -, that is, if the position of a approaches the beginning of the sentence, it is treated as the same as ``insertion.'' .

第6図は、第4図ステップS3によって選択された編集
キーと、ステップS8で判定されたaとbの位置属性と
の組み合わせにより実行される位置属性処理を示してい
る。文頭の単語を移動する場合は(901,902,9
04)、次に位置する単語の位置属性が“文頭″になる
が(907)、文中の単語を文頭に移動する場合は(9
06)、移動対象の単語の位置属性が“文頭#になり、
移動先の単語の位置属性は“文中”に入れ替る(908
)。同様に、文頭の単語を削除した場合は(903,9
04)。
FIG. 6 shows the positional attribute processing executed by the combination of the edit key selected in step S3 of FIG. 4 and the positional attributes of a and b determined in step S8. To move the word at the beginning of a sentence, use (901, 902, 9
04), the positional attribute of the next word becomes "beginning of sentence" (907), but when moving a word in a sentence to the beginning of the sentence, (907)
06), the position attribute of the word to be moved becomes "# at the beginning of sentence,"
The position attribute of the destination word is replaced with “in the sentence” (908
). Similarly, if you delete the word at the beginning of the sentence, (903,9
04).

新規に文頭に位置することになった単語の位置属性が”
文頭”になる(907)。又、文頭へ単語を挿入した場
合は(905,906)、挿入対象の単語の位置属性が
“文頭”、挿入矢の単語の位置属性が”文中”へ変更さ
れる。こうして位置属性が変化した単語に対しては、位
置属性反映処理(909)が実行される。
The position attribute of the word that is newly positioned at the beginning of the sentence is "
In addition, when a word is inserted at the beginning of a sentence (905, 906), the positional attribute of the word to be inserted is changed to "beginning of sentence" and the positional attribute of the word of the insertion arrow is changed to "inside sentence". Positional attribute reflection processing (909) is executed for words whose positional attributes have changed in this way.

以下に実大を使って、前記の処理を説明する。The above processing will be explained below using actual size.

その際の表示部の表示を第7図に示した。まず原文の一
部分の“5uddenly″を削除する場合、オペレー
タは対象範囲として@5uddenly’ を指定しく
ステップS2)、削除キーと確認キーを押す(ステップ
53−s6)。すると表示される文から’ 5udde
nly ’は削除され(ステップ87)、その単語の位
置属性がステップS8によって判定される。“8udd
enly”は大文字で始まっておシ(801)、それ以
前のブランク2つ以内には単語が存在しないので(80
2)、位置属性は”文頭”と判定される。そしてステッ
プS9の位置属性反映では、”5uddenly″の位
置属性が文頭である為(904)、@the man 
’の位置属性が1文頭′に変わ、9 (907)、編集
文は″The man 5topped”(909)と
なる。同一の原文において“0neday ”を挿入す
る場合は、オペレータによる対象範囲の入力は削除の場
合と同様である。しかし挿入キーを選択すると(ステッ
プ84)挿入矢の指定が必要となる(ステップ85)。
The display on the display section at that time is shown in FIG. First, when deleting part of the original text "5uddenly", the operator specifies @5uddenly' as the target range (step S2) and presses the delete key and confirmation key (steps 53-s6). Then, from the displayed sentence ' 5udde
nly' is deleted (step 87) and the positional attribute of that word is determined in step S8. “8udd
"enly" starts with a capital letter (801), and there are no words within two blanks before it (801).
2), the positional attribute is determined to be "beginning of sentence". Then, in the positional attribute reflection in step S9, since the positional attribute of "5uddenly" is the beginning of the sentence (904), @the man
The positional attribute of ' is changed to 1st sentence', 9 (907), and the edited sentence becomes "The man 5topped" (909). When inserting "0neday" in the same original text, the input of the target range by the operator is the same as in the case of deletion. However, when the insert key is selected (step 84), it becomes necessary to specify the insertion arrow (step 85).

挿入矢を“8uddenly ”の前に指定し、確認キ
ーを押すと(ステップ86)、”0neday″が挿入
される(ステップs7)。その時、”5uddenly
”の位置属性は“文頭″であるので(906)0ned
ay”の位置属性と入れ替シ(908)、”0neda
y” 、5uddenly the man 5top
ped、”(909)となる。更に同じ原文の“5ud
denly”を移動する場合は移動方向が”+”なので
(文頭に位置する単語は“+”方向にしか移動できない
)、処理は削除の場合と同じである。同様に“the 
man ’を文頭に移動する場合は移動方向は“−″で
ある瓢挿入の場合と同じ処理が行われる。
When the insertion arrow is specified before "8uddenly" and the confirmation key is pressed (step 86), "0neday" is inserted (step s7). At that time, “5uddenly
” position attribute is “beginning of sentence”, so (906) 0ned
Replace with the position attribute of “ay” (908), “0neda
y”, 5uddenly the man 5top
ped,” (909).Furthermore, the same original text “5ud.
When moving "denly", the moving direction is "+" (words located at the beginning of a sentence can only be moved in the "+" direction), so the process is the same as for deletion.Similarly, "the
When man' is moved to the beginning of a sentence, the same process as in the case of inserting a gourd, where the moving direction is "-", is performed.

なお、本発明は上記実施例に限定されるものではなく、
英語以外の他の言語にも適用可能であり、ワードプロセ
ッサはもとより、翻訳装置の二カ国語エディタなど文章
を扱う種々の装置上で、移動・削除・挿入以外の編集処
理を行う際であっても応用出来るものである。
Note that the present invention is not limited to the above embodiments,
It can be applied to languages other than English, and can be used to perform editing processes other than moving, deleting, and inserting on various devices that handle text, such as word processors and bilingual editors for translation devices. It is something that can be applied.

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

上述した様に本発明によれば、単語の移動・削除・挿入
の際、例えば編集の対象単語と編集後の対応単語両方の
大文字/小文字変換を自動的に行なうため、オペレータ
の編集操作の簡略化を図ることができる。
As described above, according to the present invention, when moving, deleting, or inserting a word, for example, the case of both the target word to be edited and the corresponding word after editing is automatically converted from uppercase to lowercase, which simplifies the operator's editing operation. It is possible to aim for

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図に示した入力部のキー配列を示す図、第3図は第
1図に示した表示部の画面レイアウトを示す図、第4図
は第1図に示した編集制御部の処理の流れを示す707
チヤート、第5図は第1図に示した位置属性判定部によ
る処理の流れを示すフローチャート、第6図は第1図に
示した位置属性反映部による処理の流れを示すフローチ
ャート、第7図は第4図に示した処理を実大に対して行
った場合の表示例である。 ・・・入力部 ・・・編集制御部 ・・・表示制御部 ・・・表示部 ・・・記憶部 ・・・印刷部
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing the key arrangement of the input section shown in FIG. 1, and FIG. 3 is a diagram showing the screen layout of the display section shown in FIG. 1. The figure shown in FIG. 4 is 707 showing the processing flow of the editing control unit shown in FIG.
FIG. 5 is a flowchart showing the flow of processing by the position attribute determination section shown in FIG. 1, FIG. 6 is a flowchart showing the flow of processing by the position attribute reflection section shown in FIG. 1, and FIG. This is a display example when the process shown in FIG. 4 is performed on the actual size. ...Input section...Editing control section...Display control section...Display section...Storage section...Printing section

Claims (1)

【特許請求の範囲】[Claims] 文及び編集指示情報を入力するための入力部と、この入
力部より入力された文を表示する表示部と、この表示部
に表示された文に対し前記入力部からの編集指示情報に
従って編集処理を行なう編集部とを備え、前記編集部は
文中の単語に対し移動・削除・挿入等の編集を行なう場
合、該単語の文中での位置属性を判定する位置属性判定
手段と、この手段により判定された位置属性を編集後の
文中で対応する単語に反映させる位置属性反映手段とを
具備したことを特徴とする編集装置。
an input section for inputting sentences and editing instruction information; a display section for displaying the sentences input from this input section; and an editing process for the sentences displayed on the display section according to the editing instruction information from the input section. and a positional attribute determining means for determining the positional attribute of the word in the sentence when editing such as moving, deleting, or inserting a word in the sentence; 1. An editing device comprising: a positional attribute reflecting means for reflecting the positional attribute that has been edited into a corresponding word in an edited sentence.
JP63207419A 1988-08-23 1988-08-23 Editing device Pending JPH0256671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63207419A JPH0256671A (en) 1988-08-23 1988-08-23 Editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63207419A JPH0256671A (en) 1988-08-23 1988-08-23 Editing device

Publications (1)

Publication Number Publication Date
JPH0256671A true JPH0256671A (en) 1990-02-26

Family

ID=16539442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63207419A Pending JPH0256671A (en) 1988-08-23 1988-08-23 Editing device

Country Status (1)

Country Link
JP (1) JPH0256671A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6022227A (en) * 1983-07-19 1985-02-04 Ricoh Co Ltd European text processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6022227A (en) * 1983-07-19 1985-02-04 Ricoh Co Ltd European text processor

Similar Documents

Publication Publication Date Title
JPS5810238A (en) Information forming device
US5170349A (en) Text processing apparatus using modification relation analysis
JPH0256671A (en) Editing device
JPS58163036A (en) Automatic numbering device
JPS62203268A (en) Mechanical translation system
JP3000625B2 (en) External character editing device
JP2572441B2 (en) Form-specific figure creation device
JPS62267854A (en) Object processing
JPH03177966A (en) Document editing device
JPS62263567A (en) Input system using pointing device and key
JP3009932B2 (en) Document processing apparatus and document processing method
JP2757367B2 (en) Character processor
JPH0250250A (en) Document preparing device
JPS6249471A (en) Sentence editing system
JPS62245368A (en) Sentence editing device
JPH0314168A (en) Character processor
JPH02238566A (en) Mechanical translating device
JPS61131162A (en) Document preparing device
JPH01318168A (en) Document forming device
JPH0271360A (en) Document name changing system
JPS60159967A (en) Documentation device
JPS63108455A (en) Memory information display device
JPH06187342A (en) Area specifying device
JPS63103373A (en) Document producing device
JPH04282754A (en) Word processor