JP2979201B2 - How to display a character string after rephrasing - Google Patents

How to display a character string after rephrasing

Info

Publication number
JP2979201B2
JP2979201B2 JP2322048A JP32204890A JP2979201B2 JP 2979201 B2 JP2979201 B2 JP 2979201B2 JP 2322048 A JP2322048 A JP 2322048A JP 32204890 A JP32204890 A JP 32204890A JP 2979201 B2 JP2979201 B2 JP 2979201B2
Authority
JP
Japan
Prior art keywords
character string
display
character
displayed
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 - Lifetime
Application number
JP2322048A
Other languages
Japanese (ja)
Other versions
JPH04190448A (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.)
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 JP2322048A priority Critical patent/JP2979201B2/en
Publication of JPH04190448A publication Critical patent/JPH04190448A/en
Application granted granted Critical
Publication of JP2979201B2 publication Critical patent/JP2979201B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、文節切り直し機能を有する文書作成装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Purpose of the Invention] (Industrial application field) The present invention relates to a document creation device having a phrase re-segmenting function.

(従来の技術) 一般に、文書作成装置には、入力された「読み」に対
して、同読みに対応する文字列(かな漢字混じり文)に
変換するかな漢字変換機能が設けられている。かな漢字
変換には、いくつもの方法があるが、その中には連文節
変換や全文まるごと変換など、複数の文節分の「読み」
に対して文節の切れ目を判別し、それぞれの文節毎にか
な漢字変換を行なう方法がある。
(Prior Art) In general, a document creation apparatus is provided with a kana-kanji conversion function for converting an input "reading" into a character string (a sentence mixed with kana-kanji characters) corresponding to the reading. There are a number of kana-kanji conversion methods, among which are multiple-phrase "reading" such as continuous phrase conversion and conversion of whole sentences.
There is a method in which a break between phrases is determined, and kana-kanji conversion is performed for each phrase.

このような、かな漢字変換の方法では、各文節の切れ
目がユーザの求めるものでな場合がある。このため、文
書作成装置には、かな漢字変換の結果により得られた文
節の切れ目がユーザの求めるものでなかった場合のため
に、変換結果に対して文節の切れ目を任意に指定するこ
とができる文節切り直し機能が設けられている。
In such a Kana-Kanji conversion method, the break of each segment may not be what the user desires. For this reason, in the case where the segment break obtained as a result of the Kana-Kanji conversion is not the one desired by the user, the document creation device can specify a segment break in the conversion result arbitrarily. A re-cut function is provided.

文節切り直しが指定された場合には、その文節の切れ
目に応じてかな漢字変換を行なうと共に、切り直しが指
示された文節以降の読み部分(文字列)についても、切
り直し指定された文節に対する接続関係等から文節切れ
目を判別し、かな漢字変換を行なっている。
When a phrase reshuffle is specified, Kana-Kanji conversion is performed according to the break of the phrase, and the reading part (character string) following the phrase for which the shuffle is instructed is connected to the phrase specified to be reshuffled. Kana-Kanji conversion is performed by determining segment breaks from relationships.

文節切り直し指定する場合、切り直しの対象とするか
な漢字変換の結果が漢字の部分については全角のひらが
なに置き換えて表示を行っている。例えば第6図(a)
に示すように、「私は着物を脱ぐ」というかな漢字変換
の結果(第1の文字列)について、「は着物」で文節切
り直しを指定すると(第2の文字列)、第6図(b)に
示すように「着物」という漢字が「きもの」に置き換え
られて、例えば「はきもの」という読みが反転表示され
る(第3の文字列)。ここで、かな漢字変換の実行(文
節切り直し位置の決定)が指示されると、第6図(c)
に示すように、「私履物を脱ぐ」という変換結果が得ら
れる。なお、前記の例のように、正しい文節指定を行な
わなくても、付属語の接続関係等に基づいて内部的に文
節が認識され、正しい変換結果が得られる。
When phrase re-shortening is specified, the result of the kana-kanji conversion to be re-shuffled is displayed in such a manner that the kanji portion is replaced with full-width hiragana. For example, FIG.
As shown in Fig. 6, when the result of the kana-kanji conversion of "I take off the kimono" (the first character string) is specified by "ha kimono" to re-segment the phrase (the second character string), FIG. ), The kanji character “kimono” is replaced with “kimono”, and the reading “kimono” is displayed in reverse video (third character string). Here, when the execution of the kana-kanji conversion (determination of the phrase re-cut position) is instructed, FIG. 6 (c)
As shown in (1), a conversion result of "Take off my footwear" is obtained. Even if the correct phrase is not specified as in the above-described example, the phrase is internally recognized based on the connection relation of the attached words and the like, and a correct conversion result is obtained.

文節切り直し指定に応じた文字の表示方法には、第6
図(b)に示す方法の他にも、文節切り直し指定された
文字列を表示するためのウィンドウを画面中の別の位置
に開き、そのウィンドウ中に「読み」(ひらがな)を表
示するものがある。
The display method of the character according to the phrase re-segmentation specification is as follows.
In addition to the method shown in FIG. 13B, a window for displaying a character string designated to be re-segmented is opened at another position on the screen, and "Yomi" (Hiragana) is displayed in the window. There is.

(発明が解決しようとする課題) 第6図(b)に示すような方法では、文節切り直しが
指定されたかな漢字変換結果が漢字の場合、ひらがなに
変換されて表示される。このため、画面中に表示すべき
文字数が増加し、文節切り直し指定された文字列以降の
文字列の表示位置が移動することがあった。このような
場合、文節切り直し前の文書のフォーマットが崩れた
り、ページから文字がはみ出たりすることがあった。ま
た、文字列の表示位置を変更するために処理時間を多く
必要としていた。
(Problem to be Solved by the Invention) In the method as shown in FIG. 6 (b), if the kana-kanji conversion result for which re-segmentation is specified is a kanji, it is converted to hiragana and displayed. For this reason, the number of characters to be displayed on the screen is increased, and the display position of the character string after the character string specified to be re-segmented is sometimes moved. In such a case, the format of the document before re-segmentation may be corrupted, or characters may protrude from the page. Further, a long processing time is required to change the display position of the character string.

ウィンドウを開く方法では、文節切り直しの対象とす
る文字列(文書)の表示位置とウィンドウの位置が異な
るために、視線の移動が多くなり、操作性を低下させて
いた。また、画面データのセーブやその制御のために多
くのメモリ領域を必要としていた。
In the method of opening a window, since the display position of a character string (document) to be re-segmented is different from the position of the window, the movement of the line of sight is increased and the operability is reduced. In addition, many memory areas are required for saving and controlling the screen data.

本発明は前記のような点に鑑みてなされたもので、文
節切り直しに伴う画面表示を、高速、かつ効率的に行な
うことが可能な文書作成装置を提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and has as its object to provide a document creating apparatus capable of performing a screen display associated with re-segmentation at high speed and efficiently.

[発明の構成] (課題を解決するための手段) 本発明は、かな漢字変換によって得られた第1の文字
列中の文節切り直しが指定された第2の文字列につい
て、かな漢字変換前の第3の文字列を表示する文節切り
直し文字列表示方法であり、第3の文字列が第2の文字
列の文字数と異なる場合に、第2の文字列を除く第1の
文字列の表示位置を変更せずに、第2の文字列の表示範
囲を第3の文字列の文字数で分割したサイズの文字によ
る第3の文字列を生成し、この生成した第3の文字列を
第2の文字列の表示位置に表示するものである。
[Constitution of the Invention] (Means for Solving the Problems) The present invention relates to a second character string in which re-segmentation in a first character string obtained by Kana-Kanji conversion is specified, the second character string before Kana-Kanji conversion. This is a phrase re-segmentation character string display method for displaying the character string of the third character string, and when the third character string is different from the number of characters of the second character string, the display position of the first character string excluding the second character string Without changing the third character string, the display area of the second character string is divided by the number of characters of the third character string to generate a third character string, and the generated third character string is converted to the second character string. It is displayed at the display position of the character string.

(作用) このような構成によれば、第3の文字列が前記第2の
文字列の文字数と異なる場合、すなわち、かな漢字変換
の結果が漢字であり、この漢字を表示すべき読み(ひら
がな)にすることによって文字数が増加しても、文節切
り直しが指定されない他の文字列の表示位置が変更され
ない。
(Operation) According to such a configuration, when the third character string is different from the number of characters of the second character string, that is, the result of the kana-kanji conversion is a kanji, and the reading to display the kanji (hiragana) Thus, even if the number of characters is increased, the display position of another character string for which re-phrase is not specified is not changed.

(実施例) 以下、図面を参照して本発明の一実施例を説明する。
第1図は同実施例に係わる文書作成装置の構成を示すブ
ロック図である。第1図において、4はマイクロプロセ
ッサ(MPU)、5及び6は同マイクロプロセッサ4によ
りアクセスされるメモリ(RAM,ROM)である。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a document creating apparatus according to the embodiment. In FIG. 1, reference numeral 4 denotes a microprocessor (MPU), and reference numerals 5 and 6 denote memories (RAM, ROM) accessed by the microprocessor 4.

マイクロプロセッサ(以下、MPUと称する)4は、装
置全体の制御を行なうもので、RAM5、ROM6をアクセスし
て、入力指示に従うプログラムの起動で、文書を作成す
るためのかな漢字変換処理や、かな漢字変換の結果に対
する文書切り直し処理(第2図のフローチャートに処理
手順を示す)等を実行するものである。
A microprocessor (hereinafter, referred to as an MPU) 4 controls the entire apparatus, accesses the RAM 5 and the ROM 6, starts a program in accordance with an input instruction, and performs kana-kanji conversion processing and kana-kanji conversion for creating a document. The document re-shuttering process (the processing procedure is shown in the flowchart of FIG. 2) and the like for the result of (1) are executed.

RAM5には、作成された文書データ(かな漢字変換結果
を記憶するための文書領域7、各種モードの指定内容を
記憶するためのモード記憶領域8、プログラム作業領域
9等が設けられる。プログラム作業領域9は、例えば文
字パターンを生成する際に、文字パターンを展開するた
めに用いられる。
The RAM 5 is provided with a created document data (a document area 7 for storing kana-kanji conversion results, a mode storage area 8 for storing designation contents of various modes, a program work area 9, etc.) The program work area 9 Is used to develop a character pattern when a character pattern is generated, for example.

ROM6には、文書作成装置の全ての動作を規定する制御
プログラムを記憶するための制御プログラム記憶領域1
0、かな漢字変換処理において参照される辞書データを
記憶するための辞書領域11、フォントデータが格納され
た文字パターン領域12等が設けられている。制御プログ
ラム記憶領域10には、かな漢字変換プログラムを記憶す
るためのかな漢字変換プログラム領域13、文節切り直し
処理を行なうための文節切り直し処理プログラムを記憶
するための文節切り直し処理プログラム領域14をはじ
め、文字等の表示制御を行なう表示制御プログラム等を
格納するための領域が設けられている。
The ROM 6 has a control program storage area 1 for storing a control program that defines all operations of the document creation device.
0, a dictionary area 11 for storing dictionary data referenced in the kana-kanji conversion process, a character pattern area 12 for storing font data, and the like. The control program storage area 10 includes a kana-kanji conversion program area 13 for storing a kana-kanji conversion program, a phrase re-segmentation processing program area 14 for storing a phrase re-segmentation processing program for performing phrase re-segmentation processing, There is provided an area for storing a display control program for controlling display of characters and the like.

また、16はキーボード(KB)、17はキーボードインタ
ーフェイス(KB−IF)、18は表示器、19は表示コントロ
ーラ(表示−CNT)、20は表示用RAM、21はフロッピーデ
ィスク装置(FDD)、22はFDDインターフェイス(FDD−I
F)、23はプリンタ装置(PRT)、24はプリンタインター
フェイス(PRT−IF)である。
16 is a keyboard (KB), 17 is a keyboard interface (KB-IF), 18 is a display, 19 is a display controller (display-CNT), 20 is a display RAM, 21 is a floppy disk device (FDD), 22 Is the FDD interface (FDD-I
F) and 23 are printer devices (PRT), and 24 is a printer interface (PRT-IF).

キーボード(KB)16は、文書作成等に必要な入力情報
をキーボードインターフェイス(KB−IF)17を介してMP
U4へ出力する。このキーボード16には、文字キー、カー
ソルキー等に加えて、「かな」から漢字への変換を指示
する「変換」キー、各種設定の確定等を指示するための
「選択/実行」キー、処理の中断や確定前の入力文字の
取り消し等を指示するための「取消」キー、文書の作
成,編集・校正等に用いられる「削除」,「挿入」キ
ー、文節切り直しを指示するための「文書切り直し指
示」キー、モード切替を指示するための「モード切替」
キー等を含む各種ファンクションキーが設けられてい
る。
A keyboard (KB) 16 transmits input information necessary for document creation and the like via a keyboard interface (KB-IF) 17 to an MP.
Output to U4. On the keyboard 16, in addition to character keys, cursor keys, etc., a "conversion" key for instructing conversion from "kana" to kanji, a "select / execute" key for instructing confirmation of various settings, processing "Cancel" key for instructing cancellation of input characters or cancellation of input characters before confirmation, "Delete" and "Insert" keys used for document creation, editing / proofreading, etc. "Re-document switching" key, "Mode switching" to instruct mode switching
Various function keys including keys are provided.

表示器18は、例えば20行表示の液晶ディスプレイから
なり、最下行(第20行目)をガイド表示専用の領域(ガ
イド行)に設定している。なお、ガイド行は、必要に応
じて複数行設けられる。表示−CNT19は、MPU4の制御の
下に表示用RAM20を用いて、表示器18の表示制御を行な
う。
The display 18 is composed of, for example, a 20-line liquid crystal display, and the bottom line (20th line) is set as an area dedicated to guide display (guide line). Note that a plurality of guide lines are provided as needed. The display-CNT 19 controls the display of the display 18 using the display RAM 20 under the control of the MPU 4.

FDD21は、MPU4の制御の下に、FDD−IF22を介して、作
成された文書を保存したり外字(JIS第1水準文字及び
第2水準文字以外の文字や記号・マーク等をいう)及び
第2水準文字等をFDに記録する。
Under the control of the MPU 4, the FDD 21 can store the created document and use external characters (refer to characters, symbols, marks, etc. other than JIS first-level characters and second-level characters) and second-order characters via the FDD-IF22. Record two-level characters etc. on the FD.

PRT23は、PRT−IF24を介して、文書領域7に格納され
た文書、あるいはFDD21から本体内に読込まれて文書領
域7に格納された文書情報をもとに印字を行なう。
The PRT 23 performs printing based on the document stored in the document area 7 via the PRT-IF 24 or the document information read into the main body from the FDD 21 and stored in the document area 7.

次に、同実施例の動作について説明する。 Next, the operation of the embodiment will be described.

まず、モード設定について説明する。キーボード16に
設けられた「モード切替」キーが押下されると、モード
設定処理が起動される。モード設定処理では、入力モー
ド、表示モード、印刷モード等の他に、文節切り直し処
理時における文書範囲指定された読み文字列(ひらが
な)の表示方法を示すモードを設定することができる。
すなわち、従来の方法と同様に文節範囲が指定された部
分の読みの長さの変化に応じて、同文節以降の全ての文
字列の表示位置を変更して表示するか、または文節切り
直しの対象とする文字列の各文字サイズを変更して表示
し前後の文字列をそのままにするかの何れかを指定する
ことができる。後者の方法が指定された場合には、RAM5
中のモード記憶領域8にある変数をフラグとして記憶さ
せておく。この内容は、文節切り直し処理が実行される
際に参照され、表示方法が指定される。
First, the mode setting will be described. When a “mode switching” key provided on the keyboard 16 is pressed, a mode setting process is started. In the mode setting process, in addition to the input mode, the display mode, the print mode, and the like, it is possible to set a mode indicating a display method of a reading character string (hiragana) specified in a document range at the time of re-phrase processing.
That is, as in the conventional method, the display position of all the character strings following the same phrase is changed and displayed according to the change in the reading length of the part where the phrase range is specified, or Either the size of each character of the target character string can be changed and displayed, and the character string before and after can be designated as it is. If the latter method is specified, RAM5
The variables in the middle mode storage area 8 are stored as flags. This content is referred to when the phrase re-cut processing is executed, and the display method is specified.

次に、文書作成時における文節切り直しについて説明
する。
Next, a description will be given of re-segmentation at the time of document creation.

キーボード16の文字キーの押下によって入力された文
字情報は、かな漢字変換プログラムによるかな漢字変換
処理に供される。これにより作成された文書は、RAM5中
の文書領域7に格納される。
Character information input by pressing a character key on the keyboard 16 is subjected to kana-kanji conversion processing by a kana-kanji conversion program. The document created in this way is stored in the document area 7 in the RAM 5.

また、表示器18には、入力された文字が順次表示され
る。そして、かな漢字変換の結果は、入力文字に代えて
表示される。
The display 18 displays the input characters sequentially. Then, the result of the kana-kanji conversion is displayed instead of the input character.

こうして作成された文書(文字列)に対して、キーボ
ード18に設けられた「文節切り直し指示」キーを押下す
ると、文節切り直し処理プログラムが起動され、文節の
切れ目位置を変更させ、指定された文節の切れ目位置に
応じたかな漢字変換を実行させることができる。この、
文節切り直しに伴う表示制御を含む漢字変換の処理手段
を、第2図のフローチャートに示している。
When the “re-phrase instruction” key provided on the keyboard 18 is pressed for the document (character string) created in this way, a re-phrase re-cut processing program is started, the break position of the phrase is changed, and the Kana-Kanji conversion according to the position of a break between phrases can be executed. this,
FIG. 2 is a flowchart showing processing means for kanji conversion including display control accompanying the re-segmentation.

まず、キーボード16の「文節切り直し指示」キーが押
下されると、ROM6の中の文節切り直し処理プログラムが
起動される(ステップS1,S2)。MPU4は、表示器18に表
示された文書の内容について、文節切り直し(文節範囲
の指定)を行なうことができる。例えば、カーソルキー
の操作によって、一つの文節(または単語)として範囲
(先頭文字,最終文字)を指定する。
First, when the "re-phrase instruction" key on the keyboard 16 is pressed, the re-phrase processing program in the ROM 6 is started (steps S1 and S2). The MPU 4 can re-phrase (designate the phrase range) the contents of the document displayed on the display 18. For example, the range (the first character and the last character) is designated as one phrase (or word) by operating the cursor key.

このとき、モード記憶領域8に記憶された文節切り直
し時における、指定された文節範囲の表示方法を示すフ
ラグを参照する(ステップS3)。ここで、フラグが設定
されていない場合(従来方法の指定)、範囲指定された
読み文字列を全角サイズのひらがなで表示する(ステッ
プS4)。文字数に変更があった場合には、後続する文字
列の表示位置を変更する。
At this time, a flag indicating the display method of the specified phrase range at the time of phrase re-segmentation stored in the mode storage area 8 is referred to (step S3). Here, if the flag is not set (designation of the conventional method), the reading character string whose range is specified is displayed in full-width hiragana (step S4). When the number of characters is changed, the display position of the following character string is changed.

一方、範囲指定された文字列に後続する文字列の表示
位置を変更しない方法が指定されている場合には、表示
器18に表示された文字列に対する文節範囲の指定に応じ
て文字を反転表示する。
On the other hand, if a method that does not change the display position of the character string following the specified character string is specified, the characters are highlighted according to the phrase range specification for the character string displayed on the display 18. I do.

ここで、具体例を用いて説明する。例えば、第3図
(a)に示すような文字列「私は着物を脱ぐ」という文
字列(第1の文字列)に対して、「は着物」(第2の文
字列)を一つの文節範囲として指定するものとする。こ
の場合、「は」の位置にカーソルがある状態から「着」
に文節範囲を広げる指定が入力されると(ステップS5,S
6)、切り直し指定された文字数と表示カラム数(切り
直し前の文字数)に合ったサイズの計算を行なう(ステ
ップS7)。すなわち、「着」を文節範囲とすると「着
物」が「きもの」とひらがなに変換されて文字数が増え
るため、文字サイズを縮小し表示させるために、その縮
小文字サイズを求めるものである。
Here, a description will be given using a specific example. For example, with respect to the character string "I take off the kimono" (the first character string) as shown in FIG. 3 (a), "ha kimono" (the second character string) is converted into one phrase. It shall be specified as a range. In this case, from the state where the cursor is at the position of
Is specified in the field (steps S5 and S5)
6) Then, a size is calculated that matches the number of characters specified for re-cutting and the number of display columns (the number of characters before re-cutting) (step S7). In other words, if "wear" is a phrase range, "kimono" is converted into "kimono" and hiragana, and the number of characters increases, so that the reduced character size is obtained in order to reduce and display the character size.

文字サイズの計算は、例えば次のようにして行なう。
すなわち、 表示される文字の横幅サイズ=範囲指定前の文字数分
の横幅/表示すべきひらかな文字数 である。ここでは、範囲指定前の文字数は「は着物」で
3文字であり、表示すべきひらがな数は「はきもの」で
4文字となる。例えば1カラム(1文字分の表示領域)
の横幅が、表示器18の画面において24ドットであれば、
表示される文字の横幅サイズは18ドットとなる。
The calculation of the character size is performed, for example, as follows.
That is, the width size of the characters to be displayed = the width of the number of characters before the range is specified / the number of open characters to be displayed. In this case, the number of characters before the range is designated is "ha kimono" and three characters, and the number of hiragana to be displayed is "footwear" and four characters. For example, one column (display area for one character)
Is 24 dots on the screen of the display 18,
The width of the displayed characters is 18 dots.

次に、計算によって得られた1文字の横幅サイズに応
じた表示すべき文字の文字パターンを生成する(ステッ
プS8)。表示される文字パターンは、文字パターン領域
12に格納された標準の文字パターンを、横幅サイズに応
じて縮小し、プログラム作業領域9において展開され生
成される。この文字パターンの生成は、単純な縮小計算
であり、容易に行なうことができる。そして、生成され
た文字パターンを、第3図(b)に示すように、範囲指
定された文字が表示されていた位置に表示する(ステッ
プS9)。つまり、「は着物」が表示されていた全角文字
3文字分の位置に、それぞれの文字が縮小された4文字
「はきもの」(第3の文字列)が表示される。これによ
り、範囲指定された文字に後続する文字列の表示位置を
変更する必要がない。なお、範囲指定された文字「は
き」については、例えば反転表示する。
Next, a character pattern of a character to be displayed according to the width of one character obtained by calculation is generated (step S8). The displayed character pattern is in the character pattern area.
The standard character pattern stored in 12 is reduced in accordance with the horizontal width size and developed and generated in the program work area 9. The generation of the character pattern is a simple reduction calculation, and can be easily performed. Then, as shown in FIG. 3B, the generated character pattern is displayed at the position where the character whose range is specified is displayed (step S9). In other words, four characters “footwear” (third character string) in which each character is reduced are displayed at the positions of three full-width characters where “wa kimono” was displayed. Thus, there is no need to change the display position of the character string following the character whose range is specified. It should be noted that the character “Haki” for which the range is specified is, for example, highlighted.

なお、範囲指定された文字がひらがなであれば(ステ
ップS6)、そのまま範囲指定されたことを示す反転表示
を行なう。さらに、カーソルキーの操作によって任意に
範囲を指定されると、それに応じて範囲指定された文字
列の反転表示を行なう。
If the character whose range is specified is Hiragana (step S6), the inverted display indicating that the range is specified is performed as it is. Further, when a range is arbitrarily specified by operating the cursor keys, the character string whose range is specified is highlighted in accordance with the range.

例えば、第3図(c)に示すように、所望する文字範
囲が指定され、「選択/実行」キーが押下されて、文節
切り直しに伴うかな漢字変換の実行(文節の切れ目位置
の確定)が指示されると、かな漢字変換プログラムが起
動されてかな漢字変換処理を実行する(ステップS1
0)。すなわち、辞書領域11に格納された辞書の内容に
基づいて、切り直し指定された文字列、及び同文字列に
続く所定数の文字列についてかな漢字変換を行なう。
For example, as shown in FIG. 3 (c), a desired character range is designated, the "select / execute" key is pressed, and the kana-kanji conversion accompanying the re-segmentation is performed (determination of the segment break position). When instructed, the kana-kanji conversion program is started to execute the kana-kanji conversion process (step S1
0). That is, based on the contents of the dictionary stored in the dictionary area 11, the kana-kanji conversion is performed on the character string specified to be re-cut and a predetermined number of character strings following the character string.

かな漢字変換の結果は、表示−CNT19を介して表示器1
8に表示される(ステップS11)。
The result of Kana-Kanji conversion is displayed on display 1 via CNT19.
8 is displayed (step S11).

なお、前記実施例では、漢字をひらがなにすることが
増加した文字を、それぞれの文字パターンを縮小するこ
とによって、前後の範囲指定されていない文字列の表示
位置を変更しないようにしているが、次に、文節切り直
しが指定された文字列の他の表示方法について説明す
る。
In the above-described embodiment, the characters in which the kanji is increased in hiragana are reduced in their respective character patterns so that the display position of the character string whose range is not specified before and after is not changed. Next, another display method of a character string in which re-segmentation is specified will be described.

第4図、第5図には、その表示方法の一列を示してい
る。
4 and 5 show a row of the display method.

第4図では、文節の切り直しの対象とする文字の表示
位置はそのままで、範囲指定された読みの一部だけを表
示したものである。第4図(a)は、全角2文字分の表
示位置に、「はきもの」と表示すべきところを「はき
も」とだけ表示されている。ここで、所定のキー(カー
ソルキー、または「次候補」キー等)を押下することに
より、第4図(b)に示すように、残りの読み「きも
の」が表示される。
In FIG. 4, the display position of the character to be re-segmented is displayed as it is, and only a part of the reading specified in the range is displayed. In FIG. 4 (a), at the display position for two full-width characters, only "Hokimo" is displayed where "Hokimo" should be displayed. Here, by pressing a predetermined key (such as a cursor key or a “next candidate” key), the remaining reading “kimono” is displayed as shown in FIG. 4 (b).

第5図では、範囲指定された読みを後ろの文字(ここ
では「を」に、被せるようにして表示するものである。
また、前の文字に被させるようにして表示しても良い。
In FIG. 5, the reading for which the range is specified is displayed so as to cover the following character (here, "").
Also, it may be displayed so as to cover the previous character.

このようにして、文節切り直しの範囲指定された文字
列に漢字が含まれて、表示すべき文字数が増加した場合
であっても、範囲指定された文字列以降の文字列の表示
位置を移動することがないので、文書のフォーマットが
崩れたり、ページから文字がはみ出たりすることがな
い。また、範囲指定された文字列に対してのみの処理で
良いので、処理時間を多く必要としない。
In this way, even if the number of characters to be displayed is increased due to the kanji included in the character string whose range has been re-segmented, the display position of the character string after the specified character range is moved. Because of this, the format of the document is not broken and characters do not run off the page. In addition, since processing only for a character string whose range is specified is sufficient, a long processing time is not required.

[発明の効果] 以上のように本発明によれば、文節切り直しが指定さ
れた文字列部分のみを、切り直し指定されない他の文字
列の表示位置が変更されないように表示制御するので、
文節切り直しに伴う画面表示を、高速、かつ効率的に行
なうことが可能となるものである。
[Effect of the Invention] As described above, according to the present invention, display control is performed only on a character string portion for which re-segmentation is specified so that the display position of another character string for which re-segmentation is not specified is not changed.
The screen display accompanying the re-phrase can be performed quickly and efficiently.

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

第1図は本発明の一実施例に係わる文書作成装置の構成
を示すブロック図、第2図は同実施例における文節切り
直しに伴う表示制御を含むかな漢字変換の処理手順を示
すフローチャート、第3図は同実施例における文節切り
直しに伴う文字列の表示方法の一列を説明するための
図、第4図及び第5図は他の文字列の表示方法を説明す
るための図、第6図は従来の文節切り直しに伴う文字列
の表示方法の一例を説明するための図である。 4……MPU、5……RAM、6……ROM、7……文書領域、
8……モード記憶領域、9……プログラム作業領域、10
……制御プログラム領域、11……辞書領域、12……文字
パターン領域、13……かな漢字変換プログラム領域、14
……文節切り直し処理プログラム領域、18……表示器。
FIG. 1 is a block diagram showing the configuration of a document creation apparatus according to an embodiment of the present invention. FIG. 2 is a flowchart showing the processing procedure of kana-kanji conversion including display control accompanying re-segmentation in the embodiment. FIGS. 4A and 4B are diagrams for explaining a method of displaying a character string according to the embodiment, and FIGS. 4 and 5 are diagrams for explaining a method of displaying another character string. FIG. 7 is a diagram for explaining an example of a conventional method of displaying a character string associated with re-phrase cutting. 4 ... MPU, 5 ... RAM, 6 ... ROM, 7 ... Document area,
8: Mode storage area, 9: Program work area, 10
... Control program area, 11 ... Dictionary area, 12 ... Character pattern area, 13 ... Kana-Kanji conversion program area, 14
...... Re-phrase processing program area, 18 ... Display.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】かな漢字変換によって得られた第1の文字
列中の文節切り直しが指定された第2の文字列につい
て、かな漢字変換前の第3の文字列を表示する文節切り
直し文字列表示方法において、 前記第3の文字列が前記第2の文字列の文字数と異なる
場合に、前記第2の文字列を除く前記第1の文字列の表
示位置を変更せずに、前記第2の文字列の表示範囲を前
記第3の文字列の文字数で分割したサイズの文字による
前記第3の文字列を生成し、この生成した前記第3の文
字列を前記第2の文字列の表示位置に表示することを特
徴とする文節切り直し文字列表示方法。
1. A re-segmented character string display for displaying a third character string before kana-kanji conversion for a second character string designated to be re-segmented in a first character string obtained by kana-kanji conversion. In the method, when the third character string is different from the number of characters of the second character string, the display position of the first character string excluding the second character string is not changed, and the second character string is displayed. The third character string is generated by a character having a size obtained by dividing the display range of the character string by the number of characters of the third character string, and the generated third character string is displayed at the display position of the second character string. A character string re-segmentation character string display method characterized by being displayed in a character string.
【請求項2】文節切り直しが指定された際に前記第2の
文字列を除く他の文字列の表示位置を、変更して表示す
るか、変更しないで表示するかを設定し、変更しないで
表示する設定がされた場合に、前記第1の文字列の表示
位置を変更せずに前記第3の文字列を表示することを特
徴とする第1請求項記載の文節切り直し文字列表示方
法。
2. When the re-segmentation is specified, the display position of a character string other than the second character string is set to be changed or displayed without being changed, and is not changed. 3. The phrase re-segmented character string display according to claim 1, wherein the third character string is displayed without changing the display position of the first character string when the display is set in step (1). Method.
JP2322048A 1990-11-26 1990-11-26 How to display a character string after rephrasing Expired - Lifetime JP2979201B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2322048A JP2979201B2 (en) 1990-11-26 1990-11-26 How to display a character string after rephrasing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2322048A JP2979201B2 (en) 1990-11-26 1990-11-26 How to display a character string after rephrasing

Publications (2)

Publication Number Publication Date
JPH04190448A JPH04190448A (en) 1992-07-08
JP2979201B2 true JP2979201B2 (en) 1999-11-15

Family

ID=18139339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2322048A Expired - Lifetime JP2979201B2 (en) 1990-11-26 1990-11-26 How to display a character string after rephrasing

Country Status (1)

Country Link
JP (1) JP2979201B2 (en)

Also Published As

Publication number Publication date
JPH04190448A (en) 1992-07-08

Similar Documents

Publication Publication Date Title
JP2979201B2 (en) How to display a character string after rephrasing
JPH0375912B2 (en)
JP2786260B2 (en) Kana-Kanji conversion device
JP3042284B2 (en) Japanese input device
JP2756246B2 (en) Character processor
JP2713951B2 (en) Document creation device and display control method
JPS6237430B2 (en)
JP2575650B2 (en) Kana-Kanji conversion device
JP2603269B2 (en) Character processor
JP2509554B2 (en) Character processing method
JP2543501B2 (en) Word processor
JP2944666B2 (en) Character processor
JPH01230093A (en) Method for displaying character
JP2635602B2 (en) Document creation device
JPH0749851A (en) Document shaping device
JP2755589B2 (en) Document creation device
JPH0115105B2 (en)
JPH0664571B2 (en) Character processing method
JPH0778133A (en) Document preparing device and method for outputting character pattern
JPH04268952A (en) Document preparing device
JPH0721189A (en) Translation assisting system
JPH11195022A (en) Character processor, method for character processing and record medium
JPS62266652A (en) Word processor
JPH05210679A (en) Word processor
JPH05204917A (en) Document preparing device