JP3421953B2 - Text editing device and text editing method - Google Patents

Text editing device and text editing method

Info

Publication number
JP3421953B2
JP3421953B2 JP19405592A JP19405592A JP3421953B2 JP 3421953 B2 JP3421953 B2 JP 3421953B2 JP 19405592 A JP19405592 A JP 19405592A JP 19405592 A JP19405592 A JP 19405592A JP 3421953 B2 JP3421953 B2 JP 3421953B2
Authority
JP
Japan
Prior art keywords
sentence
character string
clause
units
phrase
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP19405592A
Other languages
Japanese (ja)
Other versions
JPH0635909A (en
Inventor
正 荒巻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP19405592A priority Critical patent/JP3421953B2/en
Publication of JPH0635909A publication Critical patent/JPH0635909A/en
Application granted granted Critical
Publication of JP3421953B2 publication Critical patent/JP3421953B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は文章編集装置及び文章編
集方法に関するものである。
BACKGROUND OF THE INVENTION The present invention relates to a text editing device and text editing.
It is about the collection method .

【0002】[0002]

【従来の技術】従来の文章編集装置では、初めにある文
を目的とする文に修正する場合、初めにある文と目的と
する文の差を考えて、文字列を削除したり新しく追加す
る方法が使われていた。
2. Description of the Related Art In a conventional text editing apparatus, when a sentence at the beginning is corrected to a sentence of interest, a character string is deleted or newly added considering the difference between the sentence at the beginning and the sentence of interest. The method was used.

【0003】例えば「私は北海道へ飛行機でスキー旅行
に出かけた。」という文を、「私は飛行機でスキー旅行
に北海道へ出かけた。」に修正する場合、初めに、最初
の文の文字列「北海道へ」を削除して、「私は飛行機で
スキー旅行に出かけた。」が、得られる。
For example, when the sentence "I went to Hokkaido for a ski trip by plane to Hokkaido" is corrected to "I went to Hokkaido for a ski trip by plane.", First, the character string of the first sentence Delete "To Hokkaido" and get "I went on a ski trip by plane."

【0004】次に、前で得られた文の「スキー旅行に」
の後ろに「北海道へ」を追加して、「私は飛行機でスキ
ー旅行に北海道へ出かけた。」が、得られる。
Next, the sentence "on a ski trip" obtained earlier
"To Hokkaido" is added after "," and I get "I went to Hokkaido for a ski trip by plane."

【0005】[0005]

【発明が解決しようとする課題】従来の文章編集装置で
は、初めにある文と目的の文との差を考えて、その差を
無くすための文字列の削除と追加の処理を繰り返し行っ
て、編集を行っていた。このため、ユーザーは文の編集
において文字列を移動させる場合も、文字列の削除と追
加の処理を行う必要がある。
In the conventional text editing apparatus, the difference between the first sentence and the target sentence is considered, and character string deletion and addition processing for eliminating the difference are repeatedly performed. I was editing. Therefore, the user needs to delete and add a character string even when moving the character string when editing a sentence.

【0006】本発明はこのような点に鑑み、文の編集で
文字列の編集を行なう場合、文字列の削除と追加という
作業をなくし、速やかに区切られた文節の中から移動し
たい文節を選択し、移動させることを目的とする。
In view of the above, the present invention eliminates the work of deleting and adding a character string when editing a character string during sentence editing, and quickly selects a phrase to be moved from among the delimited clauses. And then move.

【0007】[0007]

【課題を解決するための手段】本発明の文章編集装置
は、文を記憶した文記憶手段と、前記文記憶手段に記憶
された文中における所定範囲の文字列の指定を行う文字
列指定手段と、前記文字列指定手段により指定された範
囲の文字列を文節単位に解析する解析手段と、前記解析
手段の解析に基づいて、前記指定範囲の文字列を文節単
位に分けて表示させるとともに文節単位で移動する文節
カーソルを表示させる表示制御手段と、前記表示制御手
段により文節単位に表示された文字列に対して、文節カ
ーソルを移動させて移動対象文節を選択する選択手段
と、前記選択手段により選択された文節を、隣り合う文
節と入れ替えながら移動先位置まで移動させる制御手段
と、を有することを特徴とする。また、本発明の文章編
集方法は、文記憶手段に記憶された文中から文字列指定
手段によって所定範囲の文字列の指定を行った時に、指
定された範囲の文字列を文節単位に分けるとともにに文
節単位で移動する文節カーソルを表示手段に表示させ、
文節単位に表示された文字列に対して、文節カーソルを
移動させて移動対象文節を選択手段によって選択し、選
択後、文節カーソルを移動させると、移動対象文節と隣
接する文節とを入れ替えながら移動先位置へ移動させる
ように制御を行うことを特徴とする。
A text editing apparatus according to the present invention is a text storage unit for storing a text and a character for designating a character string within a predetermined range in the text stored in the text storage unit.
The column designating means and the range designated by the character string designating means.
Analyzing means for analyzing a character string in a circle in units of clauses;
Based on the analysis of the means, the character string in the specified range is
Phrase that is displayed in units and moved in phrase units
Display control means for displaying a cursor, and the display control hand
For the character strings displayed in units of phrases by columns,
Means for moving the cursor and selecting the target phrase
And the phrase selected by the selecting means,
And having a control means for moving to the destination position while interchanging the sections. Further, the text editing method of the present invention is designed to specify a character string from the text stored in the text storage means.
When the character string in the predetermined range is specified by
The character string in the specified range is divided into clause units and
Display the phrase cursor that moves in clause units on the display means,
Move the phrase cursor to the character string displayed for each phrase.
Move and select the phrase to be moved by selecting means, and select
After selecting, move the clause cursor to
Move to the destination position while replacing the adjacent clause
And performing control so.

【0008】[0008]

【作用】本発明によれば、文中の文節の位置を移動する
ことができるので、今までの文の編集で行われていた削
除と追加による文字列の処理を行わなくてもすむので、
ユーザーの負担は軽減される。
According to the present invention, it is possible to move the position of the sentence clause, without performing the processing of character strings by editing in done have been cut <br/> dividing the additional sentence ever Because it will save
The burden on the user is reduced.

【0009】[0009]

【実施例】以下、本発明の一実施例における文章編集装
置について図面を参照しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A text editing apparatus according to an embodiment of the present invention will be described below with reference to the drawings.

【0010】図1は本発明の一実施例における文章編集
装置の機能ブロック図である。同図において、1は文の
編集の指示を行うための入力部、2は編集を行う文を格
納する文記憶部、3は入力部1より入力された指示に基
づき文の編集を行う等の制御手段の文編集制御部、4は
文節ごとの文の情報を文中の所定範囲の文字列や移動さ
せる位置の指定手段として用いるため格納する文情報記
憶部、5は表示を行う表示部である。
FIG. 1 is a functional block diagram of a text editing apparatus according to an embodiment of the present invention. In FIG. 1, reference numeral 1 is an input unit for giving an instruction to edit a sentence, 2 is a sentence storage unit for storing a sentence to be edited, and 3 is a sentence editing unit based on an instruction input from the input unit 1 . The sentence edit control unit 4 of the control means displays information on the sentence for each clause in a predetermined range of character strings and movements in the sentence.
The sentence information storage unit 5 to be stored for use as a means for designating the position to be placed is a display unit for displaying.

【0011】図2は図1の文章編集装置の回路ブロック
図である。同図において、6は中央処理装置(以下、C
PUと略記する。)、7は陰極管ディスプレイ(以下、C
RTと略記する。)、8はランダムアクセスメモリー(以
下、RAMと略記する。)、9はリードオンリーメモリ
ー(以下、ROMと略記する。)、10はキーボードであ
る。
FIG. 2 is a circuit block diagram of the text editing apparatus shown in FIG. In the figure, 6 is a central processing unit (hereinafter, C
Abbreviated as PU. ) And 7 are cathode ray tube displays (hereinafter, C
Abbreviated as RT. ), 8 is a random access memory (hereinafter abbreviated as RAM), 9 is a read only memory (hereinafter abbreviated as ROM), and 10 is a keyboard.

【0012】図1に示した、入力部1はキーボード10に
より、文編集制御部3はCPU6がROM9およびRA
M8とデータの授受を行いながらROM9に記憶された
プログラムを実行することにより、文記憶部2と文情報
記憶部4はRAM8により、表示部5はCRT7によ
り、実現されている。
As shown in FIG. 1, the input unit 1 is the keyboard 10 and the sentence editing control unit 3 is the CPU 6 having the ROM 9 and RA.
By executing the program stored in the ROM 9 while exchanging data with the M8, the sentence storage unit 2 and the sentence information storage unit 4 are realized by the RAM 8, and the display unit 5 is realized by the CRT 7.

【0013】以下、本発明の一実施例における文章編集
装置の動作について図3に示すフローチャートに従って
動作を説明する。
The operation of the text editing apparatus according to the embodiment of the present invention will be described below with reference to the flow chart shown in FIG.

【0014】ステップA 文編集制御部3は文記憶部2に格納されている文を表示
部5に表示する。
Step A The sentence edit control unit 3 displays the sentence stored in the sentence storage unit 2 on the display unit 5.

【0015】ステップB ユーザーは与えられたた文に編集を行う必要があるか判
断し、入力部1を用いて指示する。編集を行う必要が無
い場合、処理を終了する。編集を行う必要がある場合、
ステップCに進む。
Step B The user judges whether or not the given sentence needs to be edited and gives an instruction using the input unit 1. If there is no need to edit, the process ends. If you need to make edits,
Go to step C.

【0016】ステップC 文編集制御部3は文の形態素解析を行うことにより、文
を文節単位に分割し、分割された文の情報を文情報記憶
部4に記憶する。さらに文節単位に分割された文を表示
部5に表示する。
Step C The sentence edit control unit 3 divides the sentence into phrase units by performing morphological analysis of the sentence, and stores the information of the divided sentence in the sentence information storage unit 4. Further, the sentence divided into phrases is displayed on the display unit 5.

【0017】ステップD ユーザーは、表示された文の中から移動したい文節を入
力部1から指示することにより1つ選択する。
Step D The user selects one of the displayed sentences by inputting the phrase to be moved from the input unit 1.

【0018】ステップE ユーザーはステップDにおいて、文情報記憶部4に記憶
された情報を用いて選択した文節に対して、移動を入力
部1から指示する。文編集制御部3は文節を移動させた
結果を表示部5に表示する。
Step E In step D , the user stores in the sentence information storage unit 4.
The input unit 1 is used to instruct movement of the selected phrase using the selected information . The sentence edit control unit 3 displays the result of moving the phrase on the display unit 5.

【0019】ステップF 文編集制御部3は文の編集操作が終了したかを判断す
る。文の編集操作が終了した場合、文編集制御部3は文
記憶部2に結果を格納し処理を終了する。文の編集操作
が終了していない場合、ステップDに進む。
Step F The sentence edit control section 3 judges whether the sentence editing operation is completed. When the sentence edit operation is completed, the sentence edit control unit 3 stores the result in the sentence storage unit 2 and ends the process. If the sentence editing operation has not been completed, the process proceeds to step D.

【0020】以下、本発明の一実施例における文を編集
する様子を下記表1の(1)ないし(7)を用いて説明する。
Hereinafter, how to edit a sentence in one embodiment of the present invention will be described with reference to (1) to (7) of Table 1 below.

【0021】[0021]

【表1】 [Table 1]

【0022】上記(1)に示す例文を編集する場合、(2)に
示すように文の形態素解析を文編集制御部3で行うこと
により、文を文節単位に分割する。
When the example sentence shown in (1) above is edited, the sentence morphological analysis is performed by the sentence edit control section 3 as shown in (2) to divide the sentence into phrase units.

【0023】分割された文節は、(3)に示すように表示
部5に表示する。ここで示された文節の中で、ユーザー
が移動する文節を「北海道へ」に選択した場合、(4)に
示すように文中の文節「北海道へ」の下に文節カーソル
を移動する。
The divided clauses are displayed on the display unit 5 as shown in (3). If the user selects the phrase to be moved to "Hokkaido" among the phrases shown here, the phrase cursor is moved to the phrase "To Hokkaido" in the sentence as shown in (4).

【0024】(4)で指示された文節を右に1つ移動した
場合、(5)に示すように表示する。(5)で指定された文節
を右に1つ移動した場合、(6)に示すように表示する。
(6)で示された文で、ユーザーが編集を終了した場合、
(7)に示すような文が得られる。編集は終了し、編集前
の文は、新しく得られた文に置き換えられる。
When the phrase specified in (4) is moved one place to the right, it is displayed as shown in (5). When the phrase specified in (5) is moved one position to the right, it is displayed as shown in (6).
In the sentence shown in (6), when the user finishes editing,
The sentence shown in (7) is obtained. Editing is completed, and the sentence before editing is replaced with the newly obtained sentence.

【0025】[0025]

【発明の効果】以上説明したように本発明の文章編集装
及び文章編集方法は、文の編集で文字列で移動を行う
場合、文字列の削除と追加という作業を行う必要がな
く、区切られた文節を中から移動させたい文節を選択
し、移動させることにより目的の文を得ることができ
しかも、操作者が直感的かつ正確な文節間位置の指定を
行うことができる。
As described above, the text editing device and text editing method of the present invention do not need to delete and add a character string when moving a character string in editing a sentence, and it is possible to divide the character string. You can obtain the target sentence by selecting the phrase you want to move from the inside and moving it .
In addition, the operator can intuitively and accurately
Ru can be done.

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

【図1】本発明の一実施例における文章編集装置の機能
ブロック図である。
FIG. 1 is a functional block diagram of a text editing device according to an embodiment of the present invention.

【図2】図1の回路ブロック図である。FIG. 2 is a circuit block diagram of FIG.

【図3】図1の動作を示すフローチャートである。FIG. 3 is a flowchart showing the operation of FIG.

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

1…入力部、 2…文記憶部、 3…文編集制御部、
4…文情報記憶部、 5…表示部、 6…CPU、 7
…CRT、 8…RAM、 9…ROM、 10…キーボ
ード。
1 ... Input unit, 2 ... Sentence storage unit, 3 ... Sentence control unit,
4 ... sentence information storage unit, 5 ... display unit, 6 ... CPU, 7
... CRT, 8 ... RAM, 9 ... ROM, 10 ... Keyboard.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 17/21 - 17/24 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 17/21-17/24

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文を記憶した文記憶手段と、 前記文記憶手段に記憶された文中における所定範囲の文
字列の指定を行う文字列指定手段と、 前記文字列指定手段により指定された範囲の文字列を文
節単位に解析する解析手段と、 前記解析手段の解析に基づいて、前記指定範囲の文字列
を文節単位に分けて表示させるとともに文節単位で移動
する文節カーソルを表示させる表示制御手段と、 前記表示制御手段により文節単位に表示された文字列に
対して、文節カーソルを移動させて移動対象文節を選択
する選択手段と、 前記選択手段により選択された文節を、隣り合う文節と
入れ替えながら移動先位置まで 移動させる制御手段と、 を有することを特徴とする文章編集装置。
1. A sentence storage unit that stores a sentence, and a sentence within a predetermined range in the sentence stored in the sentence storage unit.
A character string designating means for designating a character string and a character string within the range designated by the character string designating means
An analysis means for analyzing each node, and a character string of the specified range based on the analysis by the analysis means
Is displayed in units of phrases and is moved in units of phrases
Display control means for displaying a phrase cursor, and a character string displayed in phrase units by the display control means.
In contrast, move the clause cursor and select the clause to move.
Selecting means for selecting, and the clause selected by the selecting means as an adjacent clause
A text editing apparatus, comprising: a control unit that moves to a destination position while replacing the text.
【請求項2】 文記憶手段に記憶された文中から文字列
指定手段によって所定範囲の文字列の指定を行った時
に、指定された範囲の文字列を文節単位に分けるととも
にに文節単位で移動する文節カーソルを表示手段に表示
させ、文節単位に表示された文字列に対して、文節カー
ソルを移動させて移動対象文節を選択手段によって選択
し、選択後、文節カーソルを移動させると、移動対象文
節と隣接する文節とを入れ替えながら移動先位置へ移動
させるように制御を行うことを特徴とする文章編集方
法。
2. A character string from among the sentences stored in the sentence storage means.
When a character string within a predetermined range is specified by the specifying means
In addition, dividing the specified range of character strings into clause units
A phrase cursor that moves in units of phrases is displayed on the display.
The bunsetsu car
Move the sol and select the movement target clause by the selection means
If you move the clause cursor after selecting the
A text editing method, characterized in that control is performed such that a clause and an adjacent clause are replaced while moving to a destination position.
JP19405592A 1992-07-21 1992-07-21 Text editing device and text editing method Expired - Fee Related JP3421953B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19405592A JP3421953B2 (en) 1992-07-21 1992-07-21 Text editing device and text editing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19405592A JP3421953B2 (en) 1992-07-21 1992-07-21 Text editing device and text editing method

Publications (2)

Publication Number Publication Date
JPH0635909A JPH0635909A (en) 1994-02-10
JP3421953B2 true JP3421953B2 (en) 2003-06-30

Family

ID=16318201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19405592A Expired - Fee Related JP3421953B2 (en) 1992-07-21 1992-07-21 Text editing device and text editing method

Country Status (1)

Country Link
JP (1) JP3421953B2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NEC PC−9800シリーズ一太郎Ver.4[解説編],株式会社ジャストシステム,pp216−217

Also Published As

Publication number Publication date
JPH0635909A (en) 1994-02-10

Similar Documents

Publication Publication Date Title
JPH0877155A (en) Information processor and information processing method
EP0650129A2 (en) Method and system for automatic formatting of user selected text
JP3421953B2 (en) Text editing device and text editing method
US5867700A (en) Information processing apparatus and method for displaying a first window displaying a list of names of attribute information and a second window displaying search and substitution command columns
JP2718782B2 (en) Figure creation device
JPS6174064A (en) Document editing system
JP3444620B2 (en) Filing system equipment
JPH02151972A (en) Document retrieving system
JPH0863466A (en) Document preparation support device
JPH0635908A (en) Sentence editor
JP2613226B2 (en) How to edit formula input
JP2823188B2 (en) Information processing apparatus and method
JPH08297679A (en) Method and device for retrieving information
JPH0816834B2 (en) Curve generation method
JP2771095B2 (en) Character processing method
JPH09297760A (en) Document preparation supporting device
JPH06309321A (en) Method and device for document name setting for registration
JPH06266487A (en) Information processor and help information presenting method
JPH0648436B2 (en) Data processing device
JPH07114646A (en) Word processor and object specifying method
JPH09167157A (en) Editing device
JPH0581244A (en) Sentence editor
JPH06223063A (en) Word processor
JPH06131342A (en) Word processing system
JPH06195336A (en) Method and device for editing document

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080425

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090425

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100425

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110425

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120425

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees